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
The app crashes with a NSInvalidArgumentException when attempting to initialize an NSDictionary. This issue seems to originate from the OneSignal SDK during the handling of network requests. The specific stack trace points to methods in OneSignalCore and getInAppMessagesFromServer in the OneSignalInAppMessages module.
Steps to reproduce?
Based on the crashlytics and frequency of crashes, I can say these are the basic steps
1. Integrate the OneSignal SDK version 5.2.6 into an iOS application.
2. Perform a task that triggers in-app messaging or network communication via the SDK (e.g., fetching messages from the server or sending an analytics event).
What did you expect to happen?
The app should handle the network request or in-app messaging process without crashing. If invalid data is encountered, it should gracefully fail and log an error instead of throwing an exception.
What happened?
The app crashes with a
NSInvalidArgumentException
when attempting to initialize anNSDictionary
. This issue seems to originate from the OneSignal SDK during the handling of network requests. The specific stack trace points to methods inOneSignalCore
andgetInAppMessagesFromServer
in theOneSignalInAppMessages
module.Steps to reproduce?
What did you expect to happen?
The app should handle the network request or in-app messaging process without crashing. If invalid data is encountered, it should gracefully fail and log an error instead of throwing an exception.
OneSignal iOS SDK version
5.2.6
iOS version
17
Specific iOS version
* iOS 18.2.0
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: