title: Meteor Cordova on iOS - App sometimes reloads itself and rolls back to previous update. After restarting it is back to newest update
body: <p>Something strange is happening to my Meteor Cordova iOS app, and I have no idea how to track it down. I will try to explain in as much detail what I notice.</p>
  
  <p>I am using the Meteor hot code push feature in my iOS Cordova app. I will push the update like normal to Meteor Galaxy.</p>
  
  <p>The app will receive the update and auto refresh itself updating to the newest update. I am able to verify that I am using the newest update. After using the app for few minutes, it will then just refresh itself. After it finishes refreshing the app is back to the old version. If I quit the app, and start it again, it then loads the newest version again. After this point, I can keep using the app and I have not noticed it refresh. Although it still might refresh at times, it is hard to track down why it happens. </p>
  
  <p>My hunch is that it is related to memory. Maybe after a hot code push the Cordova app uses more memory? And once the Cordova apps memory usage is too high iOS auto refreshes the Cordova UIWebView and for some reason, it loads the version prior to the update.</p>
  
  <p>I am not 100% sure that it is related to hot code push either. I have just noticed that using that app after a successful hot code push causes a refresh and rollback after a few minutes of usage. Quit and restart the app, and it is back to the newest update.</p>
  
  <p>If you have any advice on how to track this issue down please let me know!</p>