Black screen when launching app on ios

Hello!

I wanted to add my app to app store, but I just got a message from app review "We discovered one or more bugs in your app. Specifically, Your app launched to blank screen".

I tested this out on ipad and ios and it’s a fact…

It’s mostly seen on ipad.

Has anyone had this problem? What can I do?

The most common issue is a JavaScript error. Debug the app and use DevTools in Safari to see if there are any issues.

Thank you for your answer!
So I opened safari debug and there are no errors. (I run the app in xcode as a simulator, then in safari console, but during such testing of the app, the launch screen is not run, so it is impossible to test this error)

In xcode running the app there are also no errors.
I only see during black screen an information about firebase:

10.20.0 - [FirebaseMessaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will
swizzle remote notification receiver handlers.
If you'd prefer to manually integrate Firebase Messaging, add "FirebaseAppDelegateProxyEnabled" to
your Info.plist, and set it to NO. Follow the instructions at:
https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging
to ensure proper integration.