The most exciting new feature in this release is official support for the Windows platform! This is thanks to the wonderful team at Microsoft who contributed to the plugin to make it happen. Special thanks to Raghav Katyal and Nikhi Khandelwal!
On the Android side of things you now have way more options on how to set what icon is displayed with your push notifications:
Check out the plugin's README for more details on how to setup the each of the image types.
Full Changelog
Implemented enhancements:
- iOS doesn't add foreground key #41
- Android: Notification icon problem #20
- iOS badge number #18
- How i can set icons for push notifications in status bar and push view in android #14
- Support Win8.1 + Phone 8.1 Universal Apps (WNS), drop support for WP8.0 (MPNS) #13
- iOS only reads out "aps" payload #29
- Event not fired when in background #24
- Custom notification sound in background mode? #17
- iOS only receives first notification in foreground #42
- Cannot register on iOS #30
- Fix Android paths in src folder #23
- PushNotification not defined #21
- Error trying to remove the plugin #19
- Handling multiple notifications on Android devices #12
- PGB (build.phonegap.com) problem #11
- reporting location via gcm #6
- Updating Readme to document toast capable setting #47 (rakatyal)
- fix issue #41 #44 (Deminetix)
- fix issue #42 #43 (Deminetix)
- Adding hyperlinks to README #40 (rakatyal)
- Updating Readme #37 (rakatyal)
- Adding windows support to plugin #36 (rakatyal)
- Raghav/update #35 (rakatyal)
- Adding behavior for different notification types #28 (rakatyal)
- Initial commit to add support for windows universal platform #15 (rakatyal)
Can that be used with PhoneGap Build?
ReplyDelete@jezmck Yeah, it's documented in the plugins readme. All you need to do is setup the proper tag in your config.xml.
ReplyDelete<gap:plugin name="phonegap-plugin-push" source="npm" />
Hello Simon !
ReplyDeleteI would like to know your opinion, is this new plugin better than the Push plugin ? If so, why ?
Thanks :)
@jerryone3 well this plugin is based off of the push plugin you referenced but it's two main advantages are 1) consistent API and 2) actively maintained.
ReplyDeleteOkay, thanks ! I might follow it for some time and give it a try in a few weeks :)
ReplyDeleteI'm probably asking a stupid question here, but I can't find any information about it in docs, discussions or google.
ReplyDeleteCan this plugin only be used with Phonegap as opposed to Cordova? Is there any way to make it work in Cordova projects?
@Martin there are no stupid questions there are only my sarcastic answers.
ReplyDeleteYes, this plugin works with Cordova as well as PhoneGap. PhoneGap is just the Adobe distribution of Cordova and are fully compatible with each other.