Firebase analytics is not initialized on iOS
See original GitHub issueDescribe the bug
Documentation states to use initializeFirebase
only for web devices, but i’m getting an initilization problem in iOs too.
To Reproduce Steps to reproduce the behavior:
- Launch the application.
- Go to Firebase Analytics debug mode, you won’t see any new event incoming.
- Go to the Safari’s web inspector and open a debugger for the device.
- Go to the console and see the error.
Expected behavior As Android, it should be initialized itself without to do it manually in code.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Mac OsX 10.15.7
- Browser Safari
- Version 14.0.1 (15610.2.11.51.10, 15610)
Smartphone (please complete the following information):
- Device: iPhone 8 Plus
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (1 by maintainers)
Top Results From Across the Web
Troubleshoot initialization options | Firebase - Google
If you initialize your app without a valid set of Firebase options, new users of your application will experience serious issues. Firebase options...
Read more >Firebase has not been correctly initialized - Stack Overflow
Yes, i have tried this already. For some reason no matter what i do it says Firebase has not bee correctly initialized. –...
Read more >firebase_analytics | Flutter Package - Pub.dev
Flutter plugin for Google Analytics for Firebase, an app measurement solution that provides insight on app usage and user ... firebase.google.comNull safety.
Read more >Google Analytics for Firebase | Event - mParticle documentation
Due to a known issue in the Firebase Android SDK, it is impossible to programatically initialize Firebase at runtime - you must follow...
Read more >Firebase - Branch Help
This will not change event counts in Firebase, but rather allows you to augment ... null) { if (jsonObject != null) { FirebaseAnalytics...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, both of them we did.
I think i found the problem here: I didn’t enabled the debug mode with the correct command. Now I did it and i can see analytics events in the console:
After testing it in the console, i will close this issue.
@cyril-colin after more than a year I spent a day trying to figure this out. In the end I just needed to add the pod manually thanks!