Token must be sent to both Visilabs and Euromsg servers when the user allows pushing in the mobile application. The methods to be called are as shown. The value to be passed to the OM.sys.AppID parametresine geçilecek değer euromsg panelinde oluşturulan push uygulamasının alias’ıdır.parameter is the app alias of the push application created in the euromsg pane
Code Block | ||
---|---|---|
| ||
var data = {"OM.sys.AppID" : "AppID", "OM.sys.TokenID" : "ExponentPushToken[1234567890123456789012]"}; api.customEvent("RegisterToken", data); api.euromsg.subscribe("token"); |
...