We are using WebOs library v1.2.4 and we are using the service: com.webos.notification, and we are trying to use the "enable" method. it is returning below error.
ERROR :
{"returnValue": false, "errorCode": -1, "errorText": "Denied method call \"enable\" for category \"/\""}
CODE SNIPPET:
webOS.service.request( 'luna://com.webos.notification', {
method: 'enable',
onSuccess: function( inResponse ){
//..
},
onFailure: function( inError ){
//..
}
} )