Skip to content

[all] Rename Method Channel names and move Java and Obj-C files #56

Description

@miquelbeltran

As reported in #49, having the non-plus version of a package together with the plus version is going to cause issues.

To fix that, the following two actions need to me made on ALL PACKAGES:

  1. Change the Method Channel name: Follow this format: dev.fluttercommunity.plus.package_name like dev.fluttercommunity.plus.package_info.
  2. Move the Java files in the Android part of the package, the new folder structure should be dev/fluttercommunity/plus/packagename like dev/fluttercommunity/plus/packageinfo
  3. Ensure package name is updated in AndroidManifest.xml and build.gradle files.
  4. Rename the ObjC files in the iOS part, for example from FLTPackageInfoPlugin.m to FLTPAckageInfoPlusPlugin.m. Internal code needs to be changed as well.
  5. Run the example with the non-plus plugin in pubspec.yaml, to test any collisions. Run at least the example on both Android and iOS.
  6. Remove the non-plus plugin!
  7. Run one last time, also run the e2e test at least on Android and iOS.
  8. Release package and also interface packages and any package that depends on it, bump versions.

TODO

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions