SDK Changelog
The Live Update SDK is used with Appflow's Live Update feature to detect and sync your app with new updates that you've pushed to channels.
The original live update SDK, cordova-plugin-ionic
, works with Cordova and Capacitor apps.
The next generation live update SDK, @capacitor/live-updates
, supports Capacitor apps and self-hosted live updates for enterprise customers.
@capacitor/live-updates
0.1.1
- General Availability
0.1.1-beta.6
- Added
setConfig
method to change Live Updates configuration on demand, such as the channel name. UsegetConfig
to retrieve current config settings. - Added
resetConfig
method that wipes the persisted config and uses the config shipped with the application. - Documented the "Dynamic Configuration" Update Strategy.
0.1.1-beta.5
- Added more descriptive error messages when there are problems communicating with a live update server.
0.1.1-beta.4
- Fixed an Android issue where disabling the Live Updates plugin didn't work.
- Added missing "enabled" flag to TypeScript definition of the plugin
- Known issue: 'enabled' does not exist in type LiveUpdateConfig
** This will be resolved in Capacitor v6. For now, ignore this or add
// @ts-ignore
above the field.
0.1.1-beta.3
- Fixed an Android issue with file copying on device.
- First beta launch of the Capacitor Live Updates SDK.
0.1.1-beta.2
- Add the
enabled
configuration item for turning off live updates for local development.
0.1.1-beta.1
- Differential live update support for Self-hosted live updates released for early access.
- Capacitor Live Updates now requires Capacitor 5+ (originally v3+).
- Self-hosted Live Updates with Azure DevOps guide updated to use differential live updates.
0.0.1
- Initial release to support Self-hosted live updates.
cordova-plugin-ionic
5.5.3
- Implemented a better fix for iOS "no space left on device" error when an unusually large number of files are downloaded.
5.5.2
- Fixed iOS "no space left on device" error that occurred when an unusually large number of files are downloaded.
5.5.1
- Updated iOS live update logic to properly handle non-200 status code responses from the update server.
5.5.0
- Fixed situation where a live update for a previous binary version could be applied resulting in a stale app state
- Removed cordova-plugin-whitelist dependency to improve cordova-android v10 compatibility
- Fixed a deprecation with defining Android dependencies
5.4.8
- Fixed background update mode to handle a scenario in which a live update for an older binary is applied to a new binary.
5.4.7
- Angular Ivy support
5.4.6
- iOS fix to create intermediate directories for downloads.
5.4.5
- Fix Android issue to ensure parent folders exist on file creation.
5.4.4
- Fix issue where too many network requests at once could fire and cause performance issues.
5.4.3
- Fix issue where types caused incompatibility with Ionic v3 (Typescript 2.x)
5.4.0
- Added Deploy API Imports
- Removed dependency on
cordova-plugin-file
5.3.0
- Added an 'incompatibleUpdateAvailable' property to the 'CheckForUpdateResponse' ([#204] (https://github.com/ionic-team/cordova-plugin-ionic/pull/204))
- 'ConfigurationInfo' now contains the 'BuildId' in addition to the 'SnapshotId' ([#204] (https://github.com/ionic-team/cordova-plugin-ionic/pull/204))
5.2.9
- Get dataDirectory from getAppInfo function (#197)
- Add proxy for browser platform to support it (#199)
5.2.8
- Fix Type Error in IDeployConfig (#196)
5.2.7
- Change hook to run before_prepare and make it async (#178)
- Fixed bug where the new binary update would load an older cached version of the app (#179))
5.2.6
- Check for Capacitor and switch folder (#164)
- Remove unused import (#163)
- Delay device ready until pro checks are done (#161)
5.2.5
- Fix bug where binaryVersionName and binaryVersionCode are not returned from getConfiguration call
- Fix bug where downloadUpdate progress call back would go from 0 to 50 rather than 100 (#156)
- Check if the device is online before checking for updates (#154)
5.2.4
- update check device resp to be accurate (#148)
5.2.3
- Fixed bug with AndroidManifest.xml syntax for real since our release script kept breaking it
5.2.2
- Fixed bug with AndroidManifest.xml syntax
5.2.1
- Add ACCESS_NETWORK_STATE permission to make navigator.onLine work on android
5.2.0
- Added
DisableDeploy
Cordova preference allowing disabling of the plugin - Requires
cordova-plugin-ionic-webview@^2.1.4
forDisableDeploy
support to work correctly
5.1.6
- Fixed a bug with none update method strategy that could cause background updates upon resume of the app from background
5.0.6
- Fixed a bug with version rebuilds that could make some initial redirects take up to 15 seconds.
5.0.5
- Rebuild a deploy directory in the case where the binary version has changed since the update was downloaded.
5.0.0
- Release!