- Migrate from jcenter to maven central thanks to @xVemu
- Match Kotlin jvm compatibility to java compatibility thanks to @ciriousjoker
- Add namespace to support gradle 8 (#105) thanks to @Rexios80
- added install update listener feature (#103) thanks to @ViniciusSossela
- use kotlin 1.7.10, which is the oldest version supported by the play store update library. You will need to adjust this in your project if you use an older version of kotlin.
- fix parsing of preconditions
- fix data type for
immediateAllowedPreconditions
andflexibleAllowedPreconditions
(fixes #99)
- update Play In-App Update library to 2.10.1, which includes support for Android 14
- introduce
immediateAllowedPreconditions
andflexibleAllowedPreconditions
fields toAppUpdateInfo
to check why an update may not be possible
- 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.