We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description: Since upgrading to 4.0.2 from 4.0.1, the following error appears when calling setExternalUserId:
setExternalUserId
This error did not happen on 4.0.1, and the typescript definitions mark the second argument as optional.
Environment
react: 17.0.1 => 17.0.1 react-native: ^0.64.0-rc.2 => 0.64.0-rc.2
"react-native-onesignal": "^4.0.2"
The text was updated successfully, but these errors were encountered:
Howdy Diego, Thank you for reporting this issue. Can you please provide more information regarding the exact environment?
Also, what does your call look like? Can you please include a code snippet?
From looking at the code, it looks like your issue might be able to be resolved by passing an empty callback for now as a temporary workaround:
()=>{}
We will look to implement a long term fix for this in the future.
Cheers
Sorry, something went wrong.
Faced the same issue when fast-refresh happened, but not every time 🤔 passing empty handler fixing issue for now
Howdy, This should now be resolved in 4.0.3
4.0.3
Enjoy!
No branches or pull requests
Description:
Since upgrading to 4.0.2 from 4.0.1, the following error appears when calling
setExternalUserId
:This error did not happen on 4.0.1, and the typescript definitions mark the second argument as optional.
Environment
"react-native-onesignal": "^4.0.2"
The text was updated successfully, but these errors were encountered: