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
RNOneSignal.configure is not a function after updating OneSignal to the latest version #844
Comments
OneSignal.configure() was depreciated at the previous version. |
Hm, weird, but on OneSignal React Native SDK setup guide it still says, that we need to use |
When I'm removing OneSignal.configure(); I'm still getting an error:
Was |
I believe the documentation is outdated. At 3.3.1 version, the configure() method was depreciated and at 3.3.2 version it was removed. I am not sure about the ids event. It requires some clarification from one-signal. |
As I know from 3.3.1, configure() method would be called automatically from ids event. I am not sure you need to run the pod update and pod install again after updating the onesign version in npm. |
@OscarYuen it seems that in my case error throws |
I removed |
I will make sure the docs get updated. Thanks for bringin this up. The |
The docs have been updated. Cheers |
I have same issue. When I upgrade to 3.5.0 and have this: Code:
I have just install from npm which steps am i missing? |
@luutruong , |
@rgomezp How do i check if my version are latest? I see the Pod output.
Is that latest version? |
@rgomezp bump! |
@luutruong , |
@rgomezp Quite strange. Now it's work fine. |
@luutruong , |
I had to go through I lot of process just to fix this "ids" issue.
pod 'react-native-onesignal', :path => '../node_modules/react-native-onesignal/react-native-onesignal.podspec' then pod install
|
Description:
I updated React native OneSignal from 3.2.12 version to 3.3.2 version, after that I started getting error during app launch.
(your description here)
Environment
Steps to Reproduce Issue:
Anything else:
(crash stacktraces, as well as any other information here)
Here is my code:
Here is the full error stack trace:
The text was updated successfully, but these errors were encountered: