I keep getting this issue in my Fabric crash log:
Fatal Exception: NSInvalidArgumentException
-[__NSCFNumber length]: unrecognized selector sent to instance 0xb0000000000a8d23
-[LLNetworkHandlerBase createRequestWithURL:installId:libraryVersion:customerId:]
com.apple.main-thread
APPNAME -[LLManagerBase syncExecuteBlock:]
APPNAME -[LLAnalyticsManager applicationKey]
APPNAME +[Localytics customerIdInMemory]
APPNAME +[Localytics upload]
Crashed: com.localytics.LLAnalyticsManager_queue
-[LLNetworkHandlerBase createRequestWithURL:installId:libraryVersion:customerId:]
... but I am not able to replicate the bug. It seems like the issue is coming from the Localytics SDK, but I am not able to find similar issue described anywhere.
The issue affects maybe more than half of the users... and seems to only happen once per user (the first time that they launch the app and register as far as I can tell).
The Localytics SDK in use is 3.1.1 ...
Has anyone else encountered a similar issue or know how to fix it?
You are passing customerId. as NSNumber
This should be NSString
If you show the code, I can help you fixed that, but you didn't post a line.