My team is having an issue with a Meteor iOS app (latest version of Meteor stable). When a new build is pushed to the server, the iOS apps hang on the Meteor splash screen. The only way to get around this is to issue a new ipa or remove and reinstall the app. Has anyone seen this or have thoughts on what might cause it?
It seems that hot-push-update not works in all cases. I have same results of splash screen hang.
I have some scripts in /public folder ( for polymer ) and custom cordova plugin
So, my solution is not use of hot-load, atmosphere package solderzzc:disable-hot-code-push.
@slava, thanks for the suggestion, but as far as I can tell you canât attach to a running cordova app on the phone. Maybe I am missing something. I see my device listed properly in the develop menu, but no running applications that I can attach to.
I never had problems with the debugger as long as the device is connected
properly in dev mode. I open debugger through Chromeâs chrome://inspect page
I think this has something to do with Hot Code Reload, this literally only started happening about a month ago, till then everything was working fineâŚno idea whats happening.
Itâs hard to tell whether the problems people are experiencing (in this and similar topics) have a common cause, but Iâm aware the Hot Code Push implementation could use some work. One issue is that a single update with faulty code (meaning it generates JavaScript errors) will render the app unable to update to newer versions or even fallback to the bundled code. This is something I plan on addressing as part of the Cordova improvements Iâm working on. Another issue is that downloading is currently not very efficient and can be unreliable. Not sure yet whether these fixes will make it into Meteor 1.2, but if not, there should be a point release soon after.
Any news? Having this issue again with Meteor 1.2 release.
Clear app start 100% successful, second one 99% hangs on splashscreen.
P.S. Donât know how it could be related, adding to mobile-config.js App.setPreference(âAutoHideSplashScreenâ ,âtrueâ); allow to pass behind splashscreen, but seems to still stuck
Is Reload._onMigrate still matters on Meteor 1.2 for disabling autoupdate?
Reload._onMigrate(function (retry) {
return [false];
});
Last log message I could see in XCode console:
METEOR CORDOVA DEBUG loading filepath: /âŚ/Library/Developer/CoreSimulator/Devices/4015E655-1E87-4360-92C8-5C2D867120B4/data/Containers/Data/Application/2EFE3DC3-4AD6-4B0C-AC3C-13F31AB09B2D/Library/NoCloud/meteor/d455f35cfe917acdf45eb18b1fa9d38206ab62e7/ for path: %2F