segment-integrations / analytics-ios-integration-firebase

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

Dash symbol is not mapped in segment integration #49

Closed mvitolo closed 2 years ago

mvitolo commented 4 years ago

From Segment documentation

Firebase has strict requirements for User Property names; they must:

Begin with a letter (not a number or symbol, including an underscore)
Contain only alphanumeric characters and underscores
Be no longer than 40 characters
User Property values must be fewer than 100 characters.

The issue is we are not mapping the dash symbol to something else. This prevent Firebase to log any element with a dash symbol in it.