Repository navigation
v4.0.0
·
2 commits
to production
since this release
- Added
checkUpdateIos()to check whether a newer version of your app is on the App Store. It looks the app up by bundle ID in the device's App Store storefront, compares versions numerically, and returns anAppUpdateInfoIoswith anUpdateAvailabilityIosvalue (updateAvailable,updateNotAvailable,installedNewerorupdateIncompatible) plus the App Store ID ready forshowUpdateForIos. Failures throw aPlatformExceptionwith codeMISSING_BUNDLE_ID,STOREFRONT_UNAVAILABLE,NETWORK_ERROR,HTTP_ERROR,INVALID_RESPONSE,APP_NOT_FOUNDorINVALID_VERSION. Calling it on a platform other than iOS throwsUnsupportedError. - BREAKING: Removed
showUpdate(), deprecated since 2.0.0. UseshowUpdateForIos()on iOS, andcheckUpdateAndroid()withstartImmediateUpdateAndroid()orstartFlexibleUpdateAndroid()on Android. - README: documented
checkUpdateIos(), its fields, error codes, limitations and privacy, and added it to the features list and comparison table.