-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
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:
- Change the Method Channel name: Follow this format:
dev.fluttercommunity.plus.package_namelikedev.fluttercommunity.plus.package_info. - Move the Java files in the Android part of the package, the new folder structure should be
dev/fluttercommunity/plus/packagenamelikedev/fluttercommunity/plus/packageinfo - Ensure package name is updated in
AndroidManifest.xmlandbuild.gradlefiles. - Rename the ObjC files in the iOS part, for example from
FLTPackageInfoPlugin.mtoFLTPAckageInfoPlusPlugin.m. Internal code needs to be changed as well. - 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.
- Remove the non-plus plugin!
- Run one last time, also run the e2e test at least on Android and iOS.
- Release package and also interface packages and any package that depends on it, bump versions.
TODO
- battery_plus @jpnurmi
- connectivity_plus @miquelbeltran
-
network_info_plus - device_info_plus @jpnurmi
- package_info_plus @miquelbeltran
- sensors_plus @miquelbeltran
- share_plus @jpnurmi
- android_alarm_manager_plus @miquelbeltran
- android_intent_plus @miquelbeltran