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
Crashes on IOS (not sure about Android) when a number is sent instead of a string in the value of addAlias. Typecasting values to string before sending to OneSignal sdk resolves the crash.
Steps to reproduce?
1. Install the plugin (latest)
2. during app init, call `OneSignal.User.addAlias('myalias', 123);`3. observe IOS crash
What did you expect to happen?
I expect onesignal plugin to typecast values to string (especially if is integer). If some other non-stringable value, throw error instead of executing a crash.
OneSignal Cordova SDK version
5.2.3 & 5.2.4
Which platform(s) are affected?
iOS
Android
Relevant log output
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
What happened?
Crashes on IOS (not sure about Android) when a number is sent instead of a string in the value of addAlias. Typecasting values to string before sending to OneSignal sdk resolves the crash.
Steps to reproduce?
What did you expect to happen?
I expect onesignal plugin to typecast values to string (especially if is integer). If some other non-stringable value, throw error instead of executing a crash.
OneSignal Cordova SDK version
5.2.3 & 5.2.4
Which platform(s) are affected?
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: