svvoff
svvoff

Reputation: 289

Push notification does not work for signed app

There are some problem with push notifications. If I run app on device push notifications come well, but if I archive app and download it from 'diawi' push notifications stops come. And on any test device it does not work too.

Does anybody have any idea about it?

Upvotes: 0

Views: 143

Answers (3)

vaibby
vaibby

Reputation: 1265

enter image description herewhenever you make Archive and try to upload ipa it will change aps environment development to production. it will install with distribution profile. you can change in schema according to your requirement or you can only check (production)sandbox false at server.

Upvotes: 2

Narayana Rao Routhu
Narayana Rao Routhu

Reputation: 6323

While Exporting IPA you must check IPA is creating with valid profile or not. please check attached image for reference .enter image description here

Upvotes: 2

Apurv
Apurv

Reputation: 17186

Check for the scheme for Archive. If it is different then you will have to make it identical to the run setting.

Upvotes: 0

Related Questions