VoIP Push Notifications in Ionic for iOS

Hey guys,

From iOS 8 we can now use VoIP Push Notifications.

I found this request on Phonegap Plugin Push repository. However, it seems it’s in status quo state.

So, I’m wondering if any of you guys have dealt with this before and if you have any guidelines?

1 Like

I ended up creating the plugin myself. You can get it on npm here.

You can install the plugin with:

ionic plugin add cordova-ios-voip-push

and then use the plugin like this in your Ionic/Cordova app:

var push = VoIPPushNotification.init();

push.on('registration', function(data) {
    log("[Ionic] registration callback called");

    //do something with the device token (probably save it to your backend service)

push.on('notification', function(data) {
    log("[Ionic] notification callback called");

    // do something based on received data

push.on('error', function(e) {

There are some additional steps to take in Xcode, so please refer to the official plugin site to read the full tutorial.

As I’ve mentioned there, I’m mentioning here as well:

I don’t ‘do’ ObjectiveC for a living (but I may change my mind after completing this :)), so I would really appreciate the constructive feedback in making this plugin better, and I look forward to your comments and potential pull requests!

Hope this helps someone!


Is it usable for android or something like that?

1 Like

Hi rsa,

As far as I know - no.

Hi @Hitman666

I was thinking about its possibility for using as an alternative for push notification.