i have implemented gcm service on ios app. use php send gcm @ server. works when app signed development provisioning profile.
that is, when app registers using gcm config, returns functioning device token. can send notification device using token without error.
but after sign app distributed provisioning profile , test app testflight or ad hoc provisioning, received "not registered" error.
{"multicast_id":8921098464640731057,"success":0,"failure":1,"canonical_ids":0,"results":[{"error":"notregistered"}]}"
how happen? solution? have checked enabled apns in both development , distribution provisioning profile.
i did not enable tls on server. ssl cert not ready can't test it. reason?
are setting kgglinstanceidapnsservertypesandboxoption
no
when build app distribution?
your apns token being rejected apns server , that's when gcm unregisters gcm registration token app , start seeing notregistered
error.
here documentation flag.
Comments
Post a Comment