You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This sounds like an issue where Unity Mobile Notifications Package is causing an iOS Swizzling issue where the OneSignal SDK is not getting the notification open event. It seems there has only been one report of this issue, can you try the latest Unity Mobile Notifications Package v1.3.2 to see if this is still an issue for you?
The issue has been fixed in our recent release. You can download the OneSignal-Unity-SDK release 2.13.5 from our OneSignal-Unity-SDK release page or directly from the Unity Asset Store.
We tested the the One-Signal-Unity-SDK alongside Unity Mobile Notification Package.OneSignal.HandleNotificationOpened now handles OneSignal notifications correctly. The iOSNotificationCenter.GetLastRespondedNotification handler will correctly read Unity and OneSignal notifications. The Unity.iOS.NotificationServices.remoteNotifications[0] will also retrieve Unity and OneSignal notifications. The Unity.iOS.NotificationServices.remoteNotifications[0] is, however, a deprecated in 2018+ Unity versions.
The environment used for these tests
Unity 2020.3.6f1
OneSignal-Unity-SDK 2.13.5
Unity Mobile Notifications 1.3.2
iOS 14.5.1
Note
If iOSNotificationCenter.OnRemoteNotificationReceived has been setup on the app, OneSignal.inFocusDisplayType will not work causing the OneSignal notification to not display on the device when the app is on the foreground, unless you display local notification using Unity Mobile Notifications
Description:
OneSignal open app tracking stops working when Unity's project also includes Unity Mobile Notifications package
Environment
(https://docs.unity3d.com/Packages/com.unity.mobile.notifications@1.0/manual/index.html)
Steps to Reproduce Issue:
The text was updated successfully, but these errors were encountered: