- improve documentation (thanks to @enzo-santos)
- Update dependencies
- InstallStatus and UpdateAvailability are now enums
- update Dart to min 2.17
- catch SendIntentException caused by the play store update library (fixes #46)
- Update dependencies
- Introduce
AppUpdateResult
to know if update is success, user denied or failed. - Change to return PlatformException with proper error code instead of message only.
- Migrated to null safety (#60)
- Breaking: Replaced
updateAvailable
withupdateAvailability
. - Expose more fields to access, added
updateAvailability
,installStatus
,clientVersionStalenessDays
andupdatePriority
. (#40) - Introduce
UpdateAvailability
andInstallStatus
for constants.
- fix android Gradle version (6.5.+) build error (#55). thanks for https://github.com/mig35
- fix compilation error on iOS (#50)
- fix MissingPluginException (#49)
- fix #42
- fix #28 (thanks @amaurycannesson)
- Update Dependencies (possible fix for #31)
- implement to new Flutter plugin format (#29, #27)
- Fix Crashes (#12, #15, #19)
- Handle cases where no foreground activity is available (#10)
- Fix Result already submitted exception (#8)
- Expose Available Version Code: https://developer.android.com/reference/com/google/android/play/core/appupdate/AppUpdateInfo.html#availableVersionCode() (fixes #7)
- Fix Android build.
- Breaking change: Renamed
InAppUpdateState
toAppUpdateInfo
to mirror the Android SDK and theupdateType
property has been replaced byimmediateUpdateAllowed
&flexibleUpdateAllowed
. TheupdateType
property was previously broken. Consequently, refactoring is sensible. This also means thatUpdateType
has been removed. - Added support for resuming immediate updates that were cancelled. This is handled automatically and does not require any Flutter-side code.
- Added documentation to the library.
- Readme and example updates
- First version released.