raix-push: Got error code 8 for token [...]
I am in the process of deploying my app to the app store. I have tested all certicates and keys (development and production) and they are fine. Push works perfectly in development. However, when I set NODE_ENV to production and also “production”: true in config.push.json, it won’t work anymore. Upon sending a push notification, I get the following error:
[46.101.207.204] Push: Sent message "Laptop" to 1 ios apps 0 android apps[46.101.207.204]
[46.101.207.204] Got error code 8 for token e4f493fa53f80ecceb8351c878b028caa91bd050d1c075a9f385deb4b24a9750[46.101.207.204]
I can imagine that this happens because the app has been installed via xcode on the device. Can anybody confirm? Will the message disappear once the app has been installed through the app store? And what is the correct push setting to use with Apple TestFlight?
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 95
@Streemo Production certificates will not work if the app was installed via XCode. Thus, if you installed your app via XCode on your device and use production settings, you will get error code 8 (given your certificates are fine). So how can we test production settings before submitting the app to the store? Via Testflight (Apples platform for beta testing). If you install your app via Testflight (you need to upload an archive to itunesconnect for that and configure Testflight) then it will work with production certificates. Good luck!