DEV Community

loading...

[React Native - iOS] Push notification with development and production

vominhhuy profile image Code Better #Sofast ・1 min read

Discussion (2)

pic
Editor guide
Collapse
vominhhuy profile image
Code Better #Sofast Author

How to push notification in iOS with React Native? After you config library but it's not push notification with iOS. Why? As you know, push notification service will have 2 mode (develop and production). If you register token with develop, it will push notification develop build only and else. Server 2 mode Develop and Production, Develop available for "Run" (debug also release build), Production available for "Build" (for release) - for Testflight or App Store. So, if you register token with Develop, but server available Production mode, return 400 - BadDeviceToken.

Collapse
ashish9342 profile image