Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49186

Upload multiple APN certificates?

$
0
0

@Grayda wrote:

I've just hit a brick wall that I didn't realise: Multiple APN certificates.

I've got one app that has two different versions, a free and a paid version. Code-wise, they're 100% the same. I just use the package name to determine if it's free or paid, and show or hide ads based on what it is. On the Ionic platform, it's just one project (because everything different is client-side). While trying to resolve an issue for Apple, I noticed that my push notifications weren't sending to the free version because "APNS_DEVICE_TOKEN_NOT_FOR_TOPIC" which means "The device token does not match the specified topic. This means you may be using a device token from a different app."

So now I'm stuck. I could make a new project on the Ionic platform and have it use the APN certificate for the free version, but that would mean maintaining two separate projects, when Android handles all this perfectly fine.

Is there a solution, other than creating a second project and somehow using a gulpfile to juggle the free and paid versions?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49186

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>