Here’s my scenario: In a mobile app I want to defer any hot code push until the user has accepted it via a Bootstrap modal dialog. This is also to get a bit more control about HCP, since it tends to break the whole app. (I already tried the safe-reload package, but this did not work reliably either.) My theory is: If the user at least knows that an update had happened, he/she is not completely irritated if the app is broken afterwards (yeah, I know that’s not optimal and I am glad Martijn is improving this for 1.3).
I already know about Reload._onMigrate() and that I can defer HCP by returning false. But I don’t know about all the details and possible ways of intercepting and re-enabling the HCP.
Does anybody know where to find more information about this, or maybe even some code samples where the user is asked for confirmation? Thanks.