CasaDelGato
CasaDelGato

Reputation: 1283

IOS Push Notifications for multiple Apps from one server

We have 2 apps setup for Push Notifications. (A and B)

There are different profiles for each (of course) and we've generated separate certs for each. App A receives Push notifications just fine, App B doesn't.

Both are talking to the same server - and it does figure out which app it's sending notifications to and uses the correct cert.

I've noticed that if you install both apps on one device, they both get the same Token (which our server tracks per app.). When the server sends a msg in this case, it sends it twice to the same Token - once with each cert. App A will receive the msg, App B won't.

When sending the msgs to both apps, the Apple server responds that all messages were sent correctly with no errors. But the msg never shows up for the one app.

Any suggestions on where to look?

Upvotes: 6

Views: 5912

Answers (1)

CasaDelGato
CasaDelGato

Reputation: 1283

After much searching and looking, I found this question: Iphone - Multiple Apps, Different App ID, Same Token

It points out that you must use a different .certSigningRequest for each app. I checked with our AppStore guy, and he had used the same one for both certs. He fixed that, and now it works!

Upvotes: 3

Related Questions