This method updates the application with the new device token in the SAP Mobile Platform server.
<static> callback( [devtok] )
Name | Type | Argument | Description |
devtok | string | (optional) | The device token received from the APNS/GCM device registration. |
function callback(mesg) {} devToken ="123123213213";//sample device token sap.Push.updateWithDeviceToken(devToken, callback);