Do you have any plugins installed? If so, try removing them all to see if the app starts up. Then, add a plugin back one at a time to see if any of them fail.
OTH, it might also be related to this issue I just saw in my email: [CB-12193] cordova.js crashes windows app if there is no CoreWindow - ASF JIRA ?
i have tried with NO plugins, neither the whitelist plugin, all removed. But the app crashes just calling cordova.js . i don't know what is CoreWIndow, i just use Phonegap Build...
Moved to PGB forums since you're using PhoneGap Build.
Ok, anyway i found this on the web:
I found this on the web:
- If you are not using Cordova 3.6.3 change all “execScript” to “eval” for the cordovalib
- Replace XHRHelper.cs with this one (I found it out somewhere on the web)
Is it possible to make these changes via config.xml ?
Not with PhoneGap Build. You could probably manage it using the local CLI, but it wouldn't be simple.
You might want to file an issue here: Issues · phonegap/build · GitHub ; that should ping someone to take a look at the issue.
Also -- just to make sure -- you aren't uploading your own cordova.js file, are you? PGB doesn't need one -- it'll add it on its own.
If you would, share your config.xml (minus identifying/secret information) as well. Someone might spot something that's causing the problem, or at least it might help reproduce it.
i know, i don't use any cordova.js . By the way, this crash happens on WP 8.1 only. It works with Android and iOS. This is a test project i'm using: GitHub - widonwaker/test
feel free to build it and tell me if it crashes on your side too. (Test on a real device if you can).
I would, but I don't have any WP8.1 devices on which to test. But maybe someone else does... fingers crossed. :-)
Can you test on emulator ? Maybe it has the same behaviour ...
No, unfortunately. The installation of the WP8 platform fails on my CLI install, and I'm not enough of a Windows expert to troubleshoot why. Sorry. Maybe someone else will have an idea.
One developer form onesignal gave me his test project and i updated mine too. It works now. I'm not trying to understand what's different with the old one.