Skip to content
This repository was archived by the owner on Jun 14, 2023. It is now read-only.

Conversation

@stianjensen
Copy link
Contributor

@stianjensen stianjensen commented Jan 22, 2020

Segment’s documentation mentions that screen events are not passed through to the Firebase SDK because Firebase does automatic screen tracking. (https://segment.com/docs/connections/destinations/catalog/firebase/#screen)
However, it mentions that Automatic+Manual screen tracking should be supported, but this currently does not work because Segment does not forward the manual screen tracking events.

This change will allow explicitly tracked screens in analytics-react-native using analytics.screen to actually be tracked in Firebase.

Copy link
Contributor

@CarlosMecha CarlosMecha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! Thank you so much for submitting the chnage. Would be possible to add unitests too?

@stianjensen
Copy link
Contributor Author

I added a test now! Is that good, or is there something more specific I should test for?

As far as I can see, Firebase doesn't take any extra properties or anything for its screen tracking method, so I don't think adding any specific properties, contexts would do anything at least.

@briemcnally briemcnally merged commit 316399d into segmentio:master Feb 14, 2020
briemcnally added a commit that referenced this pull request Feb 14, 2020
briemcnally added a commit that referenced this pull request Feb 14, 2020
@briemcnally
Copy link
Contributor

briemcnally commented Feb 14, 2020

hey @stianjensen I am releasing this on our legacy Firebase repo: segment-integrations/analytics-ios-integration-firebase#48. This iOS monorepo is still a work in progress and not yet adequately ready for contributions/releases. I will be releasing version 2.6.0 momentarily. Thanks for your contribution :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants