App reject from app store due to blank screen

My app was reject from the app store with the following message.

We discovered one or more bugs in your app when reviewed on iPad running iOS 13.5.1 on Wi-Fi.

Specifically, the app displayed a blank screen upon launch and we were unable to proceed.

Everything on my app works fine while my device is connected to wifi and running ionic cap run ios -l --external

I was able to reproduce this error a few ways.

  1. Turning off wifi and trying to run app on cellular network
  2. Putting my device in airplane mode
  3. Building and running the app without ionic serve ionic cap run ios --release --prod

xcode is giving me the following error:

:zap: WebView failed provisional navigation :zap: Error: Could not connect to the server.

can anyone point me in the right direction to a solution to this issue?

I am using ionic/react/capacitor to build the app

Hmm, you might have the live-reload parts still in place. I just tested this out in a fresh app and things load fine in airplane mode.

2020-07-02 12:57:39.253269-0400 App[1887:319613] WF: _WebFilterIsActive returning: NO
Loading network plugin
2020-07-02 12:57:39.425068-0400 App[1887:319613] CAPKeyboard: resize mode - native
⚡️  Loading app at capacitor://localhost...