Skip to content

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.

Like on iOS, this attempts to let explicitly tracked screens in analytics-react-native using analytics.screen actually be tracked in Firebase.

I haven't been able to test this code locally, since I'm not very familiar with Gradle, and how to get a locally edited version of this to run in my project, but I'm opening this in any case as an example of a matching implementation of an iOS fix - and hoping someone knows how to test this, or can think of an alternative implementation ✌️

@olagjo
Copy link

olagjo commented Jan 22, 2020

I'm opening this in any case as an example of a matching implementation of an iOS fix

segmentio/analytics-ios-integrations#11 is the matching iOS pull request, which has been tested and is confirmed to work

@stianjensen
Copy link
Contributor Author

Added a unit test for the screen tracking now.

@briemcnally
Copy link
Contributor

@stianjensen I am closing this PR out as we deployed this change in this PR today: #27

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

Successfully merging this pull request may close these issues.

3 participants