You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.
On reload from HCP, the index document loaded is of the previous version/bundle while other scripts/assets are loaded from the new version/bundle. This can be observed by inspecting meteor_runtime_config.autoupdateVersionCordova which remains the same until the app is restarted (or a browser refresh is forced from chrome inspector).
Adding breakpoints in native code I was able to confirm that remapUri() for the document request was invoked before the call to onReset() on WebAppLocalServer causing the document to be served from the previous bundle.
This appears to be a race condition between the web engine and the main thread as I've seen some cases where onReset() was called first. I've also seen multiple requests go thru before onReset() when putting a breakpoint in onReset().
Can be reproduced with blank project using Meteor 1.3.2.3. This does not occur with iOS.
The text was updated successfully, but these errors were encountered:
On reload from HCP, the index document loaded is of the previous version/bundle while other scripts/assets are loaded from the new version/bundle. This can be observed by inspecting meteor_runtime_config.autoupdateVersionCordova which remains the same until the app is restarted (or a browser refresh is forced from chrome inspector).
Adding breakpoints in native code I was able to confirm that remapUri() for the document request was invoked before the call to onReset() on WebAppLocalServer causing the document to be served from the previous bundle.
This appears to be a race condition between the web engine and the main thread as I've seen some cases where onReset() was called first. I've also seen multiple requests go thru before onReset() when putting a breakpoint in onReset().
Can be reproduced with blank project using Meteor 1.3.2.3. This does not occur with iOS.
The text was updated successfully, but these errors were encountered: