Firebase Analytics is listed as missing dependency
See original GitHub issueI have only installed Firebase In App messaging and Firebase Cloud Messaging and upon running the app, I get the following error
java.lang.RuntimeException: Unable to get provider com.google.firebase.provider.FirebaseInitProvider: com.google.firebase.components.MissingDependencyException: Unsatisfied dependency for component Component<[class com.google.firebase.inappmessaging.display.FirebaseInAppMessagingDisplay]>{2, type=0, deps=[Dependency{anInterface=class com.google.firebase.FirebaseApp, type=required, direct=true}, Dependency{anInterface=interface com.google.firebase.analytics.connector.AnalyticsConnector, type=required, direct=true}, Dependency{anInterface=class com.google.firebase.inappmessaging.FirebaseInAppMessaging, type=required, direct=true}]}: interface com.google.firebase.analytics.connector.AnalyticsConnector
I am running version 10.0.0 and you have stated Analytics can be an optional dependency. Doesn’t seem to quite work yet.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Firebase modules failed to initialize: remote_config (missing ...
On Awake I'm only calling this: Firebase.Analytics.FirebaseAnalytics.SetUserId(udid);. Does anyone know what might be the problem here? We were also unable to ...
Read more >Dependencies of Firebase Android SDKs on Google Play ...
Some Firebase Android SDKs depend on Google Play services, which means they will only run on devices and emulators with Google Play services...
Read more >Firebase Analytics is listed as missing dependency
I have only installed Firebase In App messaging and Firebase Cloud Messaging and upon running the app, I get the following error java.lang....
Read more >[Unity] Bugs discovered in version 1.0.1 - Google Groups
Exception: InitializationException : Firebase modules failed to initialize: messaging (missing dependency). at Firebase.FirebaseApp.CreateAndTrack(Firebase.
Read more >Xcode 13 "Missing package product"… - Apple Developer
Clearing the package cache, derived data, or restarting the application does not resolve the issue. Only Swift Packages that are remotely loaded from...
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 Free
Top 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
I solved a lot of problems by running npm install and then deleting package.lock etc. and running yarn again. (Does not feel very good but seems to work somehow)
@EddyVerbruggen you are right, this is sort of side-effect to this issue. Discovered it after applying fix with “analytics: true” in config file, removing node_modules & platforms. Though you might find this information helpful in case some other yarn user would try this fix.