segment-integrations / analytics-ios-integration-firebase

Segment's bundled integration for Firebase on iOS
MIT License
13 stars 91 forks source link

Truncate names to 40 characters #57

Closed toddtreece closed 3 years ago

toddtreece commented 3 years ago

Why

We were seeing some events being recorded for android but not for iOS, and it seems like the cause is a string length limit in Firebase. It looks like others are seeing this issue as well: #20

The Firebase docs specify a length limit of 40 characters for event names, event parameter names, and screen names:

Should contain 1 to 40 alphanumeric characters or underscores.

It seems like this is already implemented in analytics-android-integration-firebase.

What

bsneed commented 3 years ago

Thanks @toddtreece !