Skip to content

Does this SDK support Firebase integration? #267

Closed
@martymiller

Description

@martymiller

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions