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

enter image description here

i have experienced such situation myself , in case app did not receive push notifications because accidentally built wrong bundle identifier.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -