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
[iOS] Crash after accepting notifications #205
Comments
Hey guys, any news on this? The issue still persists in production. 🤔 |
hi guys is happening to us too, could you please fix? 🙏 |
Ivanvv
added a commit
to Ivanvv/com.unity.mobile.notifications
that referenced
this issue
Nov 22, 2022
Since we're unable to consistently reproduce it I can't say that this fixes our issue, but it makes sense. We will modify this manually and get back to this thread if we see less crashes. Thank you! |
Fixed in master. |
Needle-Mirror-Bot
pushed a commit
to needle-mirror/com.unity.mobile.notifications
that referenced
this issue
Jan 12, 2023
## [2.1.1] - 2023-01-04 ### Fixes: - [Android] - No longer use DeniedAndDontAskAgain permission response, only Denied. - [iOS] - [issue 205](Unity-Technologies/com.unity.mobile.notifications#205) Fix occasional crash when registering for push notifications. - [iOS] - [issue 242](Unity-Technologies/com.unity.mobile.notifications#242) Fix exception when OriginalUtc key is missing in data (for example notification was scheduled using older package version).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi guys!
We just found that some users are experiencing a crash after accepting the notifications on iOS.
The crash also happens during the authorization response to get the token (after accepting the notifications on a previous session).
This issue has low repro rate but we want to know how we can prevent this.
Info
iOS only issue
Notifications 2.0.1
Unity 2019.4.37f1
This issue was found on iOS versions 14 & 15. Multiple devices.
Stacktrace
Debugging note:
While trying to reproduce the same issue I was able to force it sending a
void*
to theauthData->deviceToken
on this part UnityNotificationManager.m#L47.I got the exact same stacktrace but Im unable to get to the real source of the issue (limited ObjC knowledge).
Hope this helps with the debugging process.
Code used to force the crash:
UnityNotificationManager.m
Thanks! 🥳
The text was updated successfully, but these errors were encountered: