Detect hot code push in mobile app


How can I detect hot code push in a mobile app? Basically, I would like to show “App Updating. Please Wait…” message when app is receiving a hot code push and then remove it once its done. Is there a way to implement it? There has to be some reactive var or function that holds this info internally but I cant seem to find out.


You can use the mdg:reload-on-resume package for this:

It has the “Reload.isWaitingForResume()” which is what you want.