Android – Google cloud messaging displays “notregistered” when using IOS distributed applications

I implement GCM service on IOS application. I use PHP to send GCM on the server. It works well when the application is signed by the development configuration file

That is, when an application registers itself with GCM config, it always returns a working device token. I can use the token to send notifications to the device without any errors

However, after I signed the application through the distributed configuration file and tested the application through testflight or ad hoc provisioning, I received an "unregistered" error

How did it happen? Any plan? I have checked that I have enabled APNs in my development and distribution profile

I didn't enable TLS on my server. In fact, my SSL certificate is not ready, so I can't test it. What's the reason?

resolvent:

When building applications for distribution, do you want to kGGLInstanceIDAPNSServerTypeSand@R_ 66_ 2419@Option Set to no?

Your APNs token is rejected by the APNs server, and when GCM unregisters your application's GCM registration token and you begin to see a notregistered error

Here is the documentation is the national flag

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>