- Fixed iOS "no space left on device"
- Fixed iOS error 28 – no space left on device
- Updated iOS live update logic to properly handle non-200 status code responses from the update server.
- Removed no longer used cordova-plugin-whitelist dependency
- Updated gradle dependencies to use implementation rather than compile
- Fixed background update mode to handle a scenario in which a live update for an older binary is applied to a new binary
- fix(ng): Angular Ivy support (#236)
- fix(ios): create intermediate directories for downloads (#231)
- fix(android): make sure parent folders exist on file creation (#226)
- Fix issue where too many network requests at once could fire and cause performance issues.
- Fix issue where types caused incompatability with Ionic v3 (Typescript 2.x)
- Remove cordova-plugin-file as dependency to fix (#213)
- Add cordova-plugin-whitelist dependency (#215)
- Added an 'incompatibleUpdateAvailable' property to the 'CheckForUpdateResponse' (#204)
- 'ConfigurationInfo' now contains the 'BuildId' in addition to the 'SnapshotId' (#204)
- Get dataDirectory from getAppInfo function (#197)
- Add proxy for browser platform to support it (#199)
- Fix Type Error in IDeployConfig (#196)
- Change hook to run before_prepare and make it async (#178)
- Fixed bug where the a new binary update would load an older cached version of the app (#179))
- Check for Capacitor and switch folder (#164)
- Remove unused import (#163)
- Delay device ready until pro checks are done (#161)
- Fix bug where binaryVersionName and binaryVersionCode are not returned from getConfiguation 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)
- update check device resp to be accurate (#148)
- Fixed bug with AndroidManifest.xml syntax for real since our release script kept breaking it
- Fixed bug with AndroidManifest.xml syntax
- Add ACCESS_NETWORK_STATE permission to make navigator.onLine work on android
- Added
DisableDeploy
Cordova preference allowing disabling of the plugin - Requires
cordova-plugin-ionic-webview@^2.1.4
forDisableDeploy
support to work correctly
- Fixed a bug with none update method strategy that could cause background updates upon resume of the app from background
- Fixed a bug with version rebulds that could make some initial redirects take up to 15 seconds.
- Rebuild a deploy directory in the case where the binary version has changed since the update was downloaded.
- Release!
- Misc. bugfixes from rc3
- Improved dev tools
- Disable certain features if browser
fetch
is unavailable - Update some API methods for coherent returns
- Removed the switch statement in Android Native code to support older Java platforms
- Removed the deprecated API, to be added to version 4.2.0
- Rewrote the plugin in Typescript.
- Added support for application file manifests.
- Added full support for partial update downloads, greatly decreasing network bandwidth.
- Deprecated old plugin API in favor of modern promise-based API using async/await. Existing methods are still available, but may be removed in the future.
- Fix a redirect bug in iOS that would give the
background
update method inconsistent behavior
- Fix redirect bug in extract when version already exists (PR #82)
- Fix UUID storage bug on iOS (PR #79)
- Fix
checkAndApply
bug on Android (PR #77)
- Fix broken release (4.1.2)
- Handle
partial
flag from Pro API incheck-device
endpoint.
- Send plugin version to Ionic Pro when checking for updates.
- Added support for partial downloads.
- Fixed a bug where
deleteVersion
would errorwhen called. (PR #63)
- Removed some extraneous plugin result calls.
- BREAKING Unified all API functions to return
true
on success.
- Fixed a bug where
ng-cordova
could potentially be overwritten when a deploy is applied. - Update no-zip branch
- Fixed the extract callback value
- Fixed a bug where the splashscreen would show for long periods while using the
background
update method on Android
- Fixed another issue with the cordova.js regex.
- Added a
WARN_DEBUG
flag to allow bypass of the debug dialog. (PR $49) - Fixed a bug where minified script tags could be overwritten.
- Fixed a bug where redirect could error incorrectly on Android.
- Updated Cordova Splashscreen dependency (PR #41)
- Fixed the callback responses from the
download
andextract
functions to reflect the docs. - Store updates to plugin config make via the
init
methods in preferences.
- Added a supported platforms note (PR #33)
- Added correct callback calld for initialize and redirect methods (PR #20)
- Fixed a bug where the splashscreen could hang in some cases when dismissing the debug dialog within the automatic update methods on Android.
- Fixed a bug where the splashscreen could hang in some cases when using the
background
update method on Android.
- Fixed a bug with the splashscreen dependency definition
- BREAKING Refactored the deploy plugin API to take a config object at
init
, but no longer needs app ID's/channels in individual calls. - Fixed a bug where the splashscreen was hiding before the deploy had finished on iOS.
- Fixed an iOS bug where redirects were failing as a result of a regex comparison.
- Fixed
auto
update method in Android to properly show the splash screen. - Streamlined the way debug builds are handled. The plugin will now ask before each redirect away from the bundled version, allowing easier local development.
- Track channel.
- Add ability to clear debug dialog.
- Hooked up the
MAX_STORE
variable.
- When the app is a
DEBUG
build, the deploy feature will show a prompt and ask whether to apply updates
- Fixed a bug with
auto
mode when versions were already present. - Added
MAX_STORE
flag for future use. - Changed default behavior to
background
downloads.
- Added this changelog and updated the README
- Added background download flags and changed
AUTO_UPDATE
config toUPDATE_METHOD