question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Firebase Analytics is listed as missing dependency

See original GitHub issue

I 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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
kdiehlcommented, Sep 26, 2019

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)

0reactions
n0mercommented, Sep 26, 2019

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found