-
Notifications
You must be signed in to change notification settings - Fork 467
When Will Plugin Phone Home? #86
Comments
Hi, Both for Android and iOS it checks for update only on the fresh start when web page is initialised. When on Android you press "back" button - it sort of kills the app. That's why it executes the check once again on the launch. I can make plugin to "call home" on every "resume" event both for Android and iOS. But you can do this manually from the JS side by calling "chcp.fetchUpdate" on every resume event: document.addEventListener("resume", onResume, false);
function onResume() {
chcp.fetchUpdate();
} |
very insightful, thanks a lot! |
@johnmiroki @nikDemyankov : another thing could be : |
@lorenzyannick good point, this can be added. |
👋 Hi! Thank you for your interest in this repo. 😢 We are not using nordnet/cordova-hot-code-push anymore, and we lack the manpower and the experience needed to maintain it. We are aware of the inconveniece that this may cause you. Feel free to use it as is, or create your own fork. 🔒 This will now be closed & locked. ℹ️ Please see #371 for more information. |
Hi, I got the plugin working on both Android and iOS. I have but one quick question: how is the "phone home" behavior configured? ie, how often does the plugin attempt to download chcp.json, or put it another way, what triggers the download?
I've noticed that on Android, it seems the plugin phones home on "resume" or start; on iOS, it will only phone home on fresh start. Is it supposed to work this way? Is there anyway to configure it?
I'd appreciate your insight.
The text was updated successfully, but these errors were encountered: