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
[Bug]: Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[OSNotificationWillDisplayEvent toJson]: unrecognized selector sent to instance 0x28383caf0'
#1315
Closed
1 task done
Chhay67 opened this issue
Sep 11, 2023
· 0 comments
What happened?
VERBOSE: onesignalUserNotificationCenter:willPresentNotification:withCompletionHandler:
2023-09-11 11:42:08.644464+0700 Runner[2055:437404] VERBOSE: onesignalUserNotificationCenter:willPresentNotification:withCompletionHandler: Fired! sf
VERBOSE: OSNotificationWillDisplayEvent.preventDefault called.
-[OSNotificationWillDisplayEvent toJson]: unrecognized selector sent to instance 0x28383caf0
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[OSNotificationWillDisplayEvent toJson]: unrecognized selector sent to instance 0x28383caf0'
*** First throw call stack:
(0x1b006de48 0x1a93438d8 0x1b01e282c 0x1b0083f60 0x1b00ec330 0x10449ae00 0x104a3dacc 0x104a3d99c 0x104a412e8 0x1b263a028 0x1b2447c80 0x1b2447a28 0x1b2447868 0x1c5d9566c 0x1c5d954a8 0x1c5d98c24 0x1c5d98b40 0x104a8e05c 0x104a91ad8 0x1c5da2d40 0x1c5da28dc 0x1c5da5184 0x1b0139f34 0x1b014630c 0x1b00ca1d0 0x1b00dfb8c 0x1b00e4ec0 0x1ea13b368 0x1b25da86c 0x1b25da4d0 0x104498770 0x1ce906960)
libc++abi: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[OSNotificationWillDisplayEvent toJson]: unrecognized selector sent to instance 0x28383caf0'
terminating with uncaught exception of type NSException
Steps to reproduce?
What did you expect to happen?
Thread 1: "-[OSNotificationWillDisplayEvent toJson]: unrecognized selector sent to instance 0x28383caf0"
OneSignal iOS SDK version
5.0.0
iOS version
12, 11 or below
Specific iOS version
Relevant log output
Thread 1: "-[OSNotificationWillDisplayEvent toJson]: unrecognized selector sent to instance 0x28383caf0"
Code of Conduct
The text was updated successfully, but these errors were encountered: