DEV Community


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

Code Better #Sofast
Technical Lead
・1 min read

Discussion (2)

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.

ashish9342 profile image
Ashish Singh Rawat