Repository navigation
·
1 commit
to production
since this release
- Fixed Android install statuses being decoded incorrectly.
InstallStatusAndroidnow uses Play Core's actualInstallStatusvalues. Previously a failed update was reported asinstalling, a canceled one asinstalled, and realinstalling/installedstates asunknown. This affects bothinstallStateStreamAndroidevents andAppUpdateInfoAndroid.installStatus. - Fixed
startImmediateUpdateAndroidandstartFlexibleUpdateAndroidhanging when Google Play doesn't start the update flow. They now throw aPlatformExceptionwith codeUPDATE_NOT_STARTEDwhen Play declines to start the flow, orSTART_UPDATE_FAILEDwhen launching it throws (the message is indetails). Previously the future never completed, every later start call failed withALREADY_RUNNING, and a launch exception could crash the app. - Moved the Android plugin package from
tech.axions.in_app_update_fluttertome.pulkitagarwal.in_app_update_flutter. Flutter's generated plugin registration picks this up automatically; it only affects native Android code or ProGuard/R8 rules that referenceInAppUpdateFlutterPluginby its fully qualified name. - Moved the repository, homepage and issue tracker to github.com/buildwithpulkit/in_app_update_flutter, and updated the author and license holder to Pulkit Agarwal.
- README: added an Error Handling section listing every Android and iOS error code and an
InstallStateAndroidfields table, fixed the flexible update example (state.installStatus→state.status), and listedinAppUpdateFailedas a possible immediate update result.