Closed
Description
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?
Metadata
Metadata
Assignees
Labels
No labels