Christy Thomas Alex 931ec149a6 Delete MIT-LICENSE
2019-04-05 19:54:25 +05:30
2019-04-05 19:51:32 +05:30
2019-04-05 19:51:32 +05:30
2019-04-05 19:43:08 +05:30
2019-04-05 19:51:32 +05:30
2019-04-05 19:51:32 +05:30
2019-04-05 19:53:16 +05:30

cordova-plugin-apns-push

Register and receive APNS push notifications

Install

Install via npm :- cordova plugin add cordova-plugin-apns-push

Usage


    var push = window['APNSPushNotification'].init({
        ios: {
            alert: "true",
            badge: "true",
            sound: "true"
        }
        });


    push.on('registration', (data) => {
        // data.registrationId
        this.sendRegDetails(data.registrationId);
    });

    push.on('notification', (data) => {
        window['cordova'].plugins.notification.local.schedule({
        title: data.title,
        text: data.message,
        sound: data.sound,
        at: new Date().getTime()
        });
    });

    push.on('error', (e) => {
        // e.message
        console.error(e);
    });

Supported Platforms

  • iOS

More about us

Find out more or contact us directly here :- http://www.neutrinos.co/

Facebook :- https://www.facebook.com/Neutrinos.co/
LinkedIn :- https://www.linkedin.com/company/25057297/
Twitter :- https://twitter.com/Neutrinosco
Instagram :- https://www.instagram.com/neutrinos.co/

N|Solid

S
Description
No description provided
Readme 60 KiB
Languages
Objective-C 77.5%
JavaScript 22.5%