JSFiddle - React, Tailwind, and code Playground
by malonso
JavaScript
// Defines the data to be used when this process is launched by notification service.
var service = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/push_test");
tizen.push.registerService(service, registerSuccessCallback, errorCallback);
function registerSuccessCallback(id)
{
console.log("Registration succeeded with id: " + id);
}
function errorCallback(response)
{
console.log( 'The following error occurred: ' + response.name);
}