Closed ladanazita closed 6 years ago
Tested e2e with call:
[[SEGAnalytics sharedAnalytics] identify:@"43902351" traits:@{
@"name":@"Chris Pratt",
@"gender":@"male",
@"age": @35,
@"height": @6.1}];
Can confirm a crash will occur when passing in a non NSString value, due to
stringByReplacingOccurrencesOfString
assuming that all user traits passed onidentify
will be an NSString.For ex:
Throws
In addition to this, Firebase does not allow non NSStrings passed in. When enabling Firebase logging, Firebase logs
Can confirm things populate as expected. After triggering the following
identify
:I can see this populate in Firebase's Streamview:![](http://g.recordit.co/46BkUH7Pw9.gif+)
Note that
height
is a custom trait which must be configured in Firebase's UI.name
,gender
, andage
are reserved traits and do not need to be configured.CC @tonyxiao for review JIRA