JINESH
JINESH

Reputation: 1452

How to Use Azure Notification Hub without updating IOS Application

I am working in Azure notification hub, and the notifications send to the IOS applications. Following ,

https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-ios-apple-push-notification-apns-get-started

But the problem is my IOS application currently using about 1000 users. So the users do not want update his app. The question is - any option to implement Azure notification hub in IOS application without updating the App.? In my hand device Id stored in DB. And also I have certificates.

I think write a console application and add all device id to azure notification hub. Is it possible?

Upvotes: 0

Views: 154

Answers (2)

Eric Hedstrom
Eric Hedstrom

Reputation: 1627

Yes, you can register all your existing device tokens with the Notification Hub using the API of your choice. Then have your app back-end register new tokens with the notification hub as they come in.

Upvotes: 0

Peter Pan
Peter Pan

Reputation: 24138

Per my experience, it seems to be not possible to migrate from APNS to Azure Notification Hub for your iOS app without any code changes, because you must have to add the Nofication Hub ListenSharedAccess connect string into your app project. Actually, the architecture migration for your app is from Fig 1 to Fig 2, as below, it will cause necessary code changes. Unless there is some mechanism of hot-patching in your app, but it was not allowed by Apple.

Fig 1.

enter image description here

Fig 2.

enter image description here

Upvotes: 0

Related Questions