ios - APNS not working on AdHoc Distribution Profile on Google App Engine -
after push notifications sent , received using general ios development , apns development ios certificates, created ios distribution , apns production certificates adhoc testing.
at first, created ios distribution certificate , installed keychain. created apns production certificate, installed keychain, , uploaded .p12 file server. finally, created provisioning profile , signed ios distribution certificate. when created , ipa-file , installed on device, push notifications not received.
device asked permissions , got unique device id, server side fine. had faced problem , guide/tutorial followed?
i followed article
the issue google app engine server.
apnsservice service = apns.newservice() .withcert(inputstream, "password").withsandboxdestination() .withnoerrordetection().build();
if create adhoc or appstore build, along different certificate , provisioning profile, withsandboxdestination()
line has changed withproductiondestination()
.
Comments
Post a Comment