-
Notifications
You must be signed in to change notification settings - Fork 264
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
Crash on sendTagsToServer since 2.4.1 #211
Comments
You should give a bit more info about your issue, but personally I'm using sendTags and it works well on latest version: OneSignal.sendTags([
"userId": session.user.id,
"firstName": session.user.profile.firstName,
"lastName": session.user.profile.lastName,
"deviceLanguage": preferredLocale(),
"highestRole": session.user.highestRole
]) |
We're using "sendTag" and also been experiencing crash today -
|
@rivera-ernesto @chrisfullscreen We haven't seen a crash with If you still see an issue can you also include all code using |
I am also experiencing crash, even on 2.5.2 version, when calling OneSignal.deleteTags (it also call OneSignal.sendTags inside). Therefore I downgrade to version 2.4.0 and the crash never happen again. Here is the logs:
|
Same problem here with 2.5.0, it's intermittent. This is a blocking issue to adopt OneSignal. Thread 1Queue : com.apple.main-thread (serial)
#0 0x000000018cc9e6d0 in CFRelease ()
#1 0x000000018d4a8190 in +[NSURLConnection sendAsynchronousRequest:queue:completionHandler:] ()
#2 0x000000010032aba0 in +[OneSignalHelper enqueueRequest:onSuccess:onFailure:isSynchronous:] at /Users/Kasten/Documents/OneSignal/OneSignal-iOS-SDK6/iOS_SDK/OneSignalSDK/Source/OneSignalHelper.m:956
#3 0x000000010032a76c in +[OneSignalHelper enqueueRequest:onSuccess:onFailure:] at /Users/Kasten/Documents/OneSignal/OneSignal-iOS-SDK6/iOS_SDK/OneSignalSDK/Source/OneSignalHelper.m:938
#4 0x0000000100315ae8 in +[OneSignal sendTagsToServer] at /Users/Kasten/Documents/OneSignal/OneSignal-iOS-SDK6/iOS_SDK/OneSignalSDK/Source/OneSignal.m:647
#5 0x000000018d8c646c in __NSFireDelayedPerform ()
#6 0x000000018cd771d8 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ ()
#7 0x000000018cd76eec in __CFRunLoopDoTimer ()
#8 0x000000018cd767a8 in __CFRunLoopDoTimers ()
#9 0x000000018cd743a4 in __CFRunLoopRun ()
#10 0x000000018cca22b8 in CFRunLoopRunSpecific ()
#11 0x000000018e756198 in GSEventRunModal ()
#12 0x0000000192ce97fc in -[UIApplication _run] ()
#13 0x0000000192ce4534 in UIApplicationMain () |
@rwinzhang We have fixed the @rivera-ernesto @chrisfullscreen @top2tech I have changed the threading on this which I believe should fix the I'll be releasing a 2.5.3 later today which will include these commits. |
The text was updated successfully, but these errors were encountered: