{"action":"opened","issue":{"url":"https://api.github.com/repos/katzer/cordova-plugin-background-mode/issues/158","repository_url":"https://api.github.com/repos/katzer/cordova-plugin-background-mode","labels_url":"https://api.github.com/repos/katzer/cordova-plugin-background-mode/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/katzer/cordova-plugin-background-mode/issues/158/comments","events_url":"https://api.github.com/repos/katzer/cordova-plugin-background-mode/issues/158/events","html_url":"https://github.com/katzer/cordova-plugin-background-mode/issues/158","id":157607785,"number":158,"title":"Notification: reinit","user":{"login":"Rinkuk1993","id":14367488,"avatar_url":"https://avatars.githubusercontent.com/u/14367488?v=3","gravatar_id":"","url":"https://api.github.com/users/Rinkuk1993","html_url":"https://github.com/Rinkuk1993","followers_url":"https://api.github.com/users/Rinkuk1993/followers","following_url":"https://api.github.com/users/Rinkuk1993/following{/other_user}","gists_url":"https://api.github.com/users/Rinkuk1993/gists{/gist_id}","starred_url":"https://api.github.com/users/Rinkuk1993/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rinkuk1993/subscriptions","organizations_url":"https://api.github.com/users/Rinkuk1993/orgs","repos_url":"https://api.github.com/users/Rinkuk1993/repos","events_url":"https://api.github.com/users/Rinkuk1993/events{/privacy}","received_events_url":"https://api.github.com/users/Rinkuk1993/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-31T07:37:04Z","updated_at":"2016-05-31T07:37:04Z","closed_at":null,"body":"As given in  example, I am using the exact same code (which is working fine) but displaying notification every second of countdown (as per my application requirement). The notification seems to reinitialise with new data each time, so it come and goes and comes back every sec. \r\n```\r\ncountdown = setInterval(function() {\r\n   remainingSeconds--;\r\n   cordova.plugins.backgroundMode.configure({\r\n          text: 'Time remaining : ' + remainingSeconds + ' sec'\r\n   });\r\n},1000);\r\n```\r\n\r\nIt is possible to modify the text of notification every sec without reinitialising it again? "}}
{"actor":{"display_login":"Rinkuk1993"}}