Commit 0a078e56 authored by rakatyal's avatar rakatyal
Browse files

Merge pull request #47 from phonegap/raghav/toast

Updating Readme to document toast capable setting
parents 6d2b2b34 2f20bd74
Loading
Loading
Loading
Loading
+5 −0
Changes for README.md: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -209,6 +209,11 @@ The count is present only for the badge notification in which it represent the v

For advanced templates and usage, the notification object is included in [`data.additionalData.pushNotificationReceivedEventArgs`](https://msdn.microsoft.com/en-us/library/windows/apps/windows.networking.pushnotifications.pushnotificationreceivedeventargs).

## Setting Toast Capable Option for Windows

For your app to communicate through a toast notification, you must declare that it is Toast Capable in your app's manifest file. Cordova-windows 4.0.0 release adds this property to config.xml. You can use:
`<preference name="WindowsToastCapable" value="true" />` in config.xml. However, you will need Cordova 5.1.1 which pins Cordova-windows 4.0.0.

## Native Requirements

- There should be no dependency on any other plugins.