I moved my projects from only made for android to iOS, and I did an app with Firebase cloud messaging. App is finished but when it does run, it runs on BLANK PAGE with default splash screen, anyone knows how to solve it? Cannot understand, is a functional app for android…
Did you check the Logs? Any errors?
No errors, just everything in blank, I already fix it
- ionic cordova plugin add cordova-plugin-ionic-webview --save
- Inside config.xml, add within widget tag:
<allow-navigation href="http://localhost:8080/*" />
<preference name="CordovaWebViewEngine" value="CDVUIWebViewEngine" />
- Inside platform ios tag:
<param name="ios-package" value="CDVWKWebViewEngine" />
<preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
How does it run browser?
Blank screens of death happen to me if I mess up node modules, or do not watch the compiler messages at prod build
It is not about that, it looks XCode needs webview to display it, solved!