ios - Can't get push notifications in Distribution but only in development -
i having problems push notifications. uploaded app appstore. when testing app on device receiving push notifications. when downloaded app app store don't receive them more.
i followed following tutorial.
this i've done requested in keychain certificate request. generated .csr file me. in itunes connect have created app id enabled push notifications services.
here used same .csr creating development , production certificate. next step downloaded production certificate , created ck.pem file following commands.
$ openssl x509 -in aps_production.cer -inform der -out moscert.pem $ openssl pkcs12 -nocerts -out moskey.pem -in moskey.p12 enter import password: mac verified ok enter pem pass phrase: verifying - enter pem pass phrase:
this moskey.p12 exported keychain.
$ cat pushchatcert.pem pushchatkey.pem > ck.pem
finally in webservice code have said should use ck.pem sending pushnotifications.
but reason or don't push notifications when have downloaded app app store.
can me ?
edit
this how code sign project
i have experienced such situation myself , in case app did not receive push notifications because accidentally built wrong bundle identifier.
Comments
Post a Comment