-
Notifications
You must be signed in to change notification settings - Fork 467
Implement chcp_beforeAssetsInstalledOnExternalStorage event #105
Comments
This is what I implemented as a PR for issue #100. I think it was merged for next release. |
ah awesome! so it does include the scenario when the plugin is copying assets to external storage as well? |
I'm not completely sure about the different stages of updating, but I use the event to show the splash screen while the plugin copies the files and restarts the webview, and for that it works well. Since I only update the js on resume/launch, it just appears to the user as if the launch takes a little longer than normal. Note that in order to avoid the flickering as the webview reloads your js/html, you need some kind of cordova plugin to show above the webview, like the corodova-plugin-splashscreen does. |
No, @toostn PR doesn't cover assets installation scenario. It's a different event. But yes, |
👍 legend! |
Released in v1.3.0. |
Hi there,
The process of copying the
www
folder over external storage can take a while on old Android devices. Just wonder if we could have achcp_beforeAssetsInstalledOnExternalStorage
event implemented just so allowing the app to display some sort of message saying "please patient..." while it's happening?The text was updated successfully, but these errors were encountered: