Skip to content

Upgrading share_plus 7 to 8

Breaking7.2.2 → 8.0.3Breaking2Platform2Deprecated1Changed2Fixed6Other4

BreakingUpgrade verdict

2 breaking changes and 2 platform requirement changes.

  • The plugin now works with newer web builds, including WebAssembly.
  • The internal platform implementation of device_info_plus was reworked in a way that can break existing code.
  • You need newer Flutter, Dart and Android build tooling to use this version.
  • iOS apps must target iOS 12 or later.
5 items need code or config changes

Dart SDK requirement changed in 8.0.1: >=2.18.0 <4.0.0 → >=3.3.0 <4.0.0.

Flutter requirement changed in 8.0.1: >=3.3.0 → >=3.19.0.

Breaking2
Migrates the web implementation to package:web, adding WASM support.
Refactors the device_info_plus platform implementation, an incompatible change.
Platform2
Requires Flutter >=3.19.0, Dart >=3.3.0, compileSDK 34, Java 17 and Gradle 8.4.
Updates the minimum iOS target to 12.
Deprecated1
Documents the deprecation of toMap in device_info_plus.
toMap