This repository has been archived by the owner on Oct 1, 2018. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
hi!
we're using your amazing (!!!) plugin along with an SDK that we develop.
in this SDK we also allow multiple cordova activities to be active concurrently (one in the foreground, one in the background, etc.).
consequently, we modified the plugin code in order to support this architecture without breaking the basic usage of using only one cordova activity in an application.
in addition, we also implemented more improvements as can be seen below:
a. auto-redirect-to-local-storage-index-page - if enabled, the index.html page will be loaded after web app updates / rollbacks / etc. otherwise a reload would not take place. default: enabled.
b. require-fresh-install-after-app-update - if enabled, a fresh installed will be performed when the hosting app is updated. otherwise, the existing web app code will be used and updates will be made from that version on (this is important for us, as we are an SDK). default: enabled.
c. file-download-concurrency - the number of files that will be downloaded concurrently when an update is performed. default: 1.
d. use-initial-version-from-assets - if enabled, the default assets will be taken from the assets that were delivered with the hosting application. otherwise, either the assets will be downloaded as a zip file from a remote URL (see configuration key below), or a a stub update configuration will be created, which will trigger the download of ALL of the files in the "update" package.
e. assets-remote-zip-url - if set, along with the "use-initial-version-from-assets" configuration key, will determine where the zipped assets will be downloaded from
a. AUTO_UPDATE_IS_NOT_ALLOWED - will be raised along with a relevant event when the plugin attempts to perform an auto update but it's not allowed according to the configuration.
b. AUTO_INSTALL_IS_NOT_ALLOWED - will be raised along with a relevant event when the plugin attempts to perform an auto install but it's not allowed according to the configuration.