this is in keychain access
Added in certificate,
Still not getting it.
Device token is sending while debugging the application but not after release,
Without enabling it, notifications working good for me.
We need two certificates for sending notifications, One for development and one for production In my case I'm using pushsharp solution to send notification this is for development
var config = new ApnsConfiguration(ApnsConfiguration.ApnsServerEnvironment.Sandbox, "development.p12", "password"); var broker = new ApnsServiceBroker(config);
this is for Production
var config = new ApnsConfiguration(ApnsConfiguration.ApnsServerEnvironment.Production, "production.p12", "password"); var broker = new ApnsServiceBroker(config);
@SaiLokesh where do you put that code? I have a web api. I use a POST method to that web api to trigger notifications to mobile devices. Its not working in Prodution mode even though I uploaded the production p12 certificate the Notification Hub under APNS. What could be wrong?
I'll get back asap!
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies