简体   繁体   中英

Error:Not Registered - GCM Push Notification

I have done the GCM Integration in iOS client, and i am able to push a notification from DHC - REST client. When i tried my registration token in my backend php it says Error: Not Registered.

Please help me on this, thanks in advance...

Try the following workarounds:

  • Make sure that the APNS token you're using to register with GCM is valid for the particular server.

  • Make sure that you are using the right iOS Development Provisioning Profile. Check if you're using the specific profile for your bundle name instead of aa generic one. To get push and background notifications working again:

    • Remove/Uninstall the application from the test device.
    • Perform 'clean' in XCode.
    • Perform 'build' in XCode.
    • Reinstall the app to the device.

You can check these related SO questions:

Hope it helps! :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM