Skip to content

v4.1.1

Choose a tag to compare

@github-actions github-actions released this 15 Nov 09:10
· 8 commits to production since this release
95e4c9f
  • Fixed showUpdateForIos hanging when called again before the first call finished. A second call overwrote the first call's result, so the first Future never completed. Each call now completes exactly once, and a call made while an App Store sheet is already loading or on screen throws a PlatformException with code ALREADY_RUNNING, matching Android. The plugin also no longer presents onto a view controller that is mid-transition and throws NO_VIEW_CONTROLLER instead.
  • Fixed installStateStreamAndroid missing or duplicating events. Listening while no Activity was attached gave a stream that never emitted, and cancelling after the Activity detached left the listener registered, so the next listen delivered every event twice. The listener also leaked when the Flutter engine was destroyed. The plugin now keeps the update manager for the engine's lifetime and unregisters the listener on cancel, on re-listen and on engine detach.
  • Supported Flutter 3.50: the plugin's build now uses AGP 9.1.1, and the example app uses Gradle 9.5.0 and package:material_ui.
  • README: added ALREADY_RUNNING to the iOS error codes.