DEV Community

Code Better #Sofast
Code Better #Sofast

Posted on

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

Top comments (2)

Collapse
 
vominhhuy profile image
Code Better #Sofast

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
Ashish Singh Rawat