Closed smokyfire closed 7 years ago
@smokyfire Thanks for opening this issue, and I apologize for the radio silence here. I'm making major improvements to this integration and will look into guarding for other value types here.
From a quick search, it does look like Firebase is expecting a String value: https://firebase.google.com/docs/reference/ios/firebaseanalytics/api/reference/Classes/FIRAnalytics#setuserpropertystringforname
I will specifically look into adding logic to coerce other value types to a String.
Fixed on version 2.0.0
https://github.com/segment-integrations/analytics-ios-integration-firebase/blob/master/Segment-Firebase/Classes/SEGFirebaseIntegration.m#L36
This line assumes that
obj
will be an NSString, but in reality it can be any object leading to anunrecognized selector sent to instance
crash.