Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stuck when starting the app #115

Open
originrobot opened this issue Sep 22, 2016 · 0 comments
Open

stuck when starting the app #115

originrobot opened this issue Sep 22, 2016 · 0 comments

Comments

@originrobot
Copy link

There is a problem that in a specific case, the app will stuck upon starting.

The specific case: when there is plugins changes, we have to submit to apple for review. this submitted build's manifest.json file is the same as our autoupdate server's version. Thus when player download this new build from appstore, cordova-app-loader treats it as no changes thus doesn't update manifest.root. Actually with the old manifest.root, you can't find the files because iOS app UUID changes. Thus after reloading, bootstrap.js can't load any files. I verified this by changing one file's uuid to make cordova-app-loader to update manifest.root and then it doesn't stuck any more.

I didn't fix this in cordova-app-loader but just replace app UUID in manifest.root with new one read from cordova.file.dataDirectory when loading js files.

Hope this can help if anyone encounters the same issue and has no idea what's going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant