-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
While I call indentify with a my traits contains a NSDate object , it will crash because 'Invalid type in JSON write (__NSTaggedDate)' #959
Comments
Thanks @sanhue0302 ! I'll get this fixed ASAP. |
Fixed! Will be on |
Hello there, we just upgraded to Any timeline for when this fix will be released, ie. |
We're also experiencing this issue and wondering about a timeline since we're preparing an app store release. Thanks for tracking this down and fixing it so quickly! |
@iosjillian @allreddy we're going to do a 4.1.2 release today. |
as title, I got this problem on 4.1
after look into the source code
I notice that function SEGCoerceDictionary in SEGAnalyticsUtils on 3.9, it was
but on 4.1.1, it became
I found that the conversion code was moving into serializableDeepCopy
and the implementation is in - (id)serializableDeepCopy:(BOOL)mutable
In my case, when aValue is kind of class NSDate, it run into conforms to protocol NSCoping.
I think it should run into conforms to SEGSerializable first to convert NSDate to NSString
For now, I will convert NSDate to NSString myself.
Why does it dismiss on 4.1?
The text was updated successfully, but these errors were encountered: