Closed tartinesKiller closed 5 years ago
a blank screen usually means vue is not booting and mounting the app to the div...
it's a bit strange, that this happens with a default vue app, without modifications etc...
or did you add maybe other plugins who have non working code? if so, try to transpile them correctly
Thanks for the answer
That's what I thought first, so I tried on a new project, with no other plugins / packages (at least not added by myself) than this one.
The "Debugger" tab of the devtools shows no code other than about:blank
(which fails to load)
I can make a repro repo if you wish
so your cordova's webview isn't pointing to your devserver? make sure you are on the same network etc, and that your config.xml got modified to allow external connections
Seems like that indeed, device is on the same network, dev server is running (I can access the app with Safari on the device) You mean the config.xml in src-cordova/www?
no, I think it was another path for IOS, but I don't remember by heart...
The path is constructed in the plugin code
Anyway, I think your problem is more related to your specific environment, and not a general problem, where I can help a lot...
So good luck, but I think I can't help more at this point
Thanks for your help anyway, if I manage to fix it I'll update the issue, if anybody encounter the same error Thanks again
thx
Device is an iPhone 5s, running ios 12.3.1 Cordova 9.0.0 (cordova-lib@9.0.1) Occured on an existing project, so I tried on a brand new project by doing
When running script cordova-serve-ios, no build errors or whatsoever, the app starts on the device, then nothing, just a blank screen. Looking in the devtools of Safari reveal no errors at all, and the document is empty (only html and body tags, with no attribute). Running in an emulator gives the same behaviour. However, if I build the app for production mode, it just works fine. Browser platform is running fine too. It seems like the debug html isn't being copied properly in the ios app I will try to investigate further, I can provide any additional informations if needed
Thanks in advance.