Run succeeded on iOS but blank app

Hello!

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…

Thank you

Regards

Did you check the Logs? Any errors?

No errors, just everything in blank, I already fix it :slight_smile:

  1. ionic cordova plugin add cordova-plugin-ionic-webview --save
  2. Inside config.xml, add within widget tag:
<allow-navigation href="http://localhost:8080/*" />
<preference name="CordovaWebViewEngine" value="CDVUIWebViewEngine" />
  1. Inside platform ios tag:
<feature name="CDVWKWebViewEngine">
    <param name="ios-package" value="CDVWKWebViewEngine" />
</feature>
<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! :wink:

1 Like