Skip to content

Does this SDK support Firebase integration? #267

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
martymiller opened this issue Jun 11, 2025 · 1 comment
Closed

Does this SDK support Firebase integration? #267

martymiller opened this issue Jun 11, 2025 · 1 comment

Comments

@martymiller
Copy link

I'm currently tasked with adding the Firebase integration library at
https://github.com/segment-integrations/analytics-android-integration-firebase

This library hasn't been updated since 2022, and the sample code is using the Java version of analytics.

analytics = new Analytics.Builder(this, "write_key")
                .use(FirebaseIntegration.FACTORY)
                .build();

I'm using the Kotlin SDK, and my code looks like this

val analytics = Analytics(
      writeKey = SEGMENT_API_KEY,
      context = application.applicationContext
    ) 

There is no use() function that I can see. There is an add() function for Plugins. Is it possible to add the FirebaseIntegration.FACTORY somewhere?

@martymiller
Copy link
Author

Sry, I didn't realize there is a Kotlin version. Closing ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant