Skip to content

Upgrading package_info_plus 0.5 to 0.6

Breaking0.5.0 → 0.6.4Breaking2New1Fixed4

BreakingUpgrade verdict

2 breaking changes.

  • The internal name used to communicate with the native platform code has changed. Most apps are unaffected, but anything that referenced the old channel name must be updated.
  • The Android-side code now lives under a different Java package name so it no longer clashes with the older package_info plugin.
2 items need code or config changes

Flutter requirement changed in 0.6.4: >=1.12.13+hotfix.5 <2.0.0 → >=1.12.13+hotfix.5.

Adds package_info_plus_linux ^0.1.1, package_info_plus_windows ^0.2.0.

Moves package_info_plus_macos ^0.1.0 → ^0.2.0, package_info_plus_platform_interface ^0.1.0 → ^0.3.0, package_info_plus_web ^0.1.0 → ^0.2.1. Your build may pick other versions.

Breaking2
Changes the method channel name, which can break code that relies on the previous channel identifier.
Moves the Java files to a different Java package to avoid conflicts with package_info.

Generated by DepDelta from published Dart source. Not mixed with prose notes.

  • added: static method PackageInfo.setMockInitialValues({ @required String appName, @required String packageName, @required String version, @required String buildNumber, }): void
  • added: static set PackageInfo.disablePackageInfoPlatformOverride(bool override)