React Native based implementation for WonderPush SDK − Advanced push notification service for mobile applications and Websites. High volume, fast delivery and full-featured starting €1/month.
Hi how to use wonderpush in order to subscribe the user and send him notifications ? I've tried to do just a : wonderpush.getDeviceId() but it says that :
TypeError: null is not an object (evaluating 'RNWonderpush.getDeviceId')
This error is located at:
in Notifs (at SceneView.js:9)
in SceneView (at DrawerView.tsx:183)
in RCTView (at ResourceSavingScene.tsx:37)
in RCTView (at ResourceSavingScene.tsx:26)
in ResourceSavingScene (at DrawerView.tsx:175)
in RCTView (at screens.native.js:101)
in ScreenContainer (at DrawerView.tsx:164)
in RCTView (at createAnimatedComponent.js:218)
in AnimatedComponent (at Drawer.tsx:532)
in RCTView (at createAnimatedComponent.js:218)
in AnimatedComponent (at Drawer.tsx:528)
in PanGestureHandler (at Drawer.tsx:518)
in DrawerView (at DrawerView.tsx:251)
in DrawerView (at createNavigator.js:80)
in Navigator (at SceneView.js:9)
in SceneView (at StackViewLayout.tsx:900)
in RCTView (at createAnimatedComponent.js:151)
in AnimatedComponent (at StackViewCard.tsx:106)
in RCTView (at createAnimatedComponent.js:151)
in AnimatedComponent (at screens.native.js:71)
in Screen (at StackViewCard.tsx:93)
in Card (at createPointerEventsContainer.tsx:95)
in Container (at StackViewLayout.tsx:975)
in RCTView (at screens.native.js:101)
in ScreenContainer (at StackViewLayout.tsx:384)
in RCTView (at createAnimatedComponent.js:151)
in AnimatedComponent (at StackViewLayout.tsx:374)
in PanGestureHandler (at StackViewLayout.tsx:367)
in StackViewLayout (at withOrientation.js:30)
in withOrientation (at StackView.tsx:104)
in RCTView (at Transitioner.tsx:267)
in Transitioner (at StackView.tsx:41)
in StackView (at createNavigator.js:80)
in Navigator (at createKeyboardAwareNavigator.js:12)
in KeyboardAwareNavigator (at createAppContainer.js:430)
in NavigationContainer (at App.js:8)
in App (at renderApplication.js:40)
in RCTView (at AppContainer.js:101)
in RCTView (at AppContainer.js:119)
in AppContainer (at renderApplication.js:39)
<global>
index.js:30:33
constructor
Notifs.js:25:20
renderRoot
[native code]:0
runRootCallback
[native code]:0
unstable_runWithPriority
scheduler.development.js:643:23
callFunctionReturnFlushedQueue
[native code]:0
Hi how to use wonderpush in order to subscribe the user and send him notifications ? I've tried to do just a :
wonderpush.getDeviceId()
but it says that :