Azure / azure-mobile-services-cordova

Apache License 2.0
23 stars 25 forks source link

How do you register for specific push notification tags? #23

Closed atsats closed 8 years ago

atsats commented 8 years ago

I'm successfully using the latest v2.0.40106.0-beta of the mobile services client to register for broadcast push notifications for gcm, apns & wns. However, I have not been able to figure out how to use the push register API for specific push notification tags.

The MobileServices.Web.js source code has a cryptic reference about supplying the tags in a template, but I haven't been able to find an example of such a template. Can someone please point me to a reference on how to register for specific push notification tags? Thanks

  /// <param name="templates" type="string">
    /// An object containing template definitions. Template objects should contain body, headers and tags properties.
    /// </param>
atsats commented 8 years ago

Sorry, this issue was opened in the wrong project. It belongs here: https://github.com/Azure/azure-mobile-apps-cordova-client