Skip to content

Upgrading connectivity_plus 6 to 7

Breaking6.1.5 → 7.3.2Breaking2Platform1Deprecated1New2Changed3Fixed7Other6

BreakingUpgrade verdict

2 breaking changes and a platform requirement change.

  • Refactors device_info_plus into a two-package federated architecture.
  • Changes nullability for AndroidDeviceInfo properties.
  • Android apps using this package must now target Android 5.0 (API 21) or higher.
  • Adds a @Deprecated annotation to the toMap method.
4 items need code or config changes
Breaking2
Refactors device_info_plus into a two-package federated architecture.
Changes nullability for AndroidDeviceInfo properties.
AndroidDeviceInfo
Platform1
Raises the Android minSdk requirement to 21.
minSdk
Deprecated1
Adds a @Deprecated annotation to the toMap method.
toMap

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

  • added: extension ConnectivityResultListX on List<ConnectivityResult>
  • added: get ConnectivityResultListX.hasConnectivity: bool