-
Notifications
You must be signed in to change notification settings - Fork 374
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
Argument 1 of OneSignal.sendOutcome must not be null #1348
Comments
Thanks for reporting @leethree, we will fix this in the next release. In the meantime, as a temporary workaround, you can pass an empty function as the second argument. |
Hi @nan-li, on the last version I have this crash happening in production (never happen before):
Do you think it's related ? |
Hi @manuhook, I don't think your exception is related to the original poster's issue.
It looks like it may be related to this open issue in the OneSignal-Android-SDK. |
Description:
sendOutcome
doesn't work without its 2nd argument since recent versions. it was working fine in previous versions.Environment
react-native-onesignal v4.3.4
react-native: v0.66.4
Steps to Reproduce Issue:
OneSignal.sendOutcome('foobar');
Anything else:
I think it's caused by this commit: 7d48a4c
The default value of
handler
is removed:The text was updated successfully, but these errors were encountered: