xmlns:PushipPlugin="clr-namespace:PushipPlugin;assembly=PushipPlugin"
Puship.PushipAppId = puship_id; // an example of puship_id might be: "h1mCVGaP9dtGnwG" Puship.WP.Register( { successCallback: function (pushipresult){ navigator.notification.alert("device registered with DeviceId:" + pushipresult.DeviceId); }, failCallback: function (pushipresult){ navigator.notification.alert("error during registration: "+ JSON.stringify(pushipresult)); } });
It’s now possible to connect to the Puship Manager and start sending push notification to your devices!
Download a complete example using the link below to better understand the whole process
Adding tags, geolocations management and all the other api are described in the guide common to all the platform that can be consulted at the following link: