Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49296

iOS issues running application and loggin in with Firebase

$
0
0

I’m trying to deploy my application to iOS but I keep getting stuck when building to iOS and running the app in Xcode.

I run ionic cap build ios, sync ios, open ios, that’s ok. Sometimes I get the DerivedData folder issues, that’s ok. When everything is sorted, and I run the app, that’s when I have issues.

If I run it on an emulator, most of the time, I just get a blank screen. The app itself doesn’t really load. It opens, but it doesn’t load.

If I run it on my 11 Pro Max, the app launches but just shows a black screen. If I close it and open it again, sometimes it loads, but then I can’t get past login. I can register a new account, I can get a forgotten password email, but when I enter my details and press login, nothing happens. At the minute, the app won’t even load. Just a black screen.

I always get this error:
:zap: WebView loaded

:zap: ------ STARTUP JS ERROR ------

:zap: TypeError: undefined is not an object (evaluating ‘navigator.serviceWorker.addEventListener’)
:zap: URL: capacitor://localhost/assets/index-Dks_jw_K.js
:zap: index-Dks_jw_K.js:510:814

:zap: See above for help with debugging blank-screen issues
:zap: [error] - {}

But can’t really grasp what it wants me to do.

I’ve added all the relevant Firebase configuration, and the GoogleService plist file.

4 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 49296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>