taivo / parse-push-plugin

Push notification plugin for Cordova/Phonegap/ionic on Parse platform
118 stars 102 forks source link

iOS 10 push notifications #87

Closed pocketninja closed 7 years ago

pocketninja commented 7 years ago

The changes are fairly minor, thankfully!

I've essentially added @otmezger's code, which should be the bare minimum for UN setup under iOS10.

Also removed the registration calls from the subscribe method.

Please note I haven't done extensive testing, nor am I well versed in iOS dev!

With the changes in this pull request I was able to register a device and store a token in Parse (hosted install) with iOS 10, 10.2, and 9.3.5.

Hope this helps!

(The commits are done using my work-centric github account, apologies if that causes any confusion)

taivo commented 7 years ago

Thanks @pocketninja . People have been asking for this a lot so I'll merge and let the community help with testing. At this point, it's more practical than waiting for me to also have a chance to test.

Much appreciated!