Repository navigation
v4.1.1
·
8 commits
to production
since this release
- Fixed
showUpdateForIoshanging when called again before the first call finished. A second call overwrote the first call's result, so the firstFuturenever completed. Each call now completes exactly once, and a call made while an App Store sheet is already loading or on screen throws aPlatformExceptionwith codeALREADY_RUNNING, matching Android. The plugin also no longer presents onto a view controller that is mid-transition and throwsNO_VIEW_CONTROLLERinstead. - Fixed
installStateStreamAndroidmissing 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_RUNNINGto the iOS error codes.