{"action":"created","issue":{"url":"https://api.github.com/repos/katzer/cordova-plugin-local-notifications/issues/700","labels_url":"https://api.github.com/repos/katzer/cordova-plugin-local-notifications/issues/700/labels{/name}","comments_url":"https://api.github.com/repos/katzer/cordova-plugin-local-notifications/issues/700/comments","events_url":"https://api.github.com/repos/katzer/cordova-plugin-local-notifications/issues/700/events","html_url":"https://github.com/katzer/cordova-plugin-local-notifications/issues/700","id":110086659,"number":700,"title":"[Android] Notification appears on bootup","user":{"login":"unskaa","id":8149267,"avatar_url":"https://avatars.githubusercontent.com/u/8149267?v=3","gravatar_id":"","url":"https://api.github.com/users/unskaa","html_url":"https://github.com/unskaa","followers_url":"https://api.github.com/users/unskaa/followers","following_url":"https://api.github.com/users/unskaa/following{/other_user}","gists_url":"https://api.github.com/users/unskaa/gists{/gist_id}","starred_url":"https://api.github.com/users/unskaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unskaa/subscriptions","organizations_url":"https://api.github.com/users/unskaa/orgs","repos_url":"https://api.github.com/users/unskaa/repos","events_url":"https://api.github.com/users/unskaa/events{/privacy}","received_events_url":"https://api.github.com/users/unskaa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-06T19:52:41Z","updated_at":"2015-10-11T16:22:20Z","closed_at":null,"body":"When ever I start my system, my \"Currently playing\" notification appears in the status bar.\r\n\r\nIt doesn't matter if I had removed the notification prior to booting, it still shows up.\r\n\r\nHow can I prevent notifications to show up on boot?\r\n\r\nHere's my code:\r\n\r\n```\r\nnotification = null;\r\n\r\nAddNotification = function() {\r\n    if (device.platform == \"Android\") {\r\n        if (notification == null) {\r\n            notification = window.plugin.notification.local.schedule({\r\n                id: 1,\r\n                sound: null,\r\n                text: 'Currently playing',\r\n                ongoing: true\r\n            });\r\n        }\r\n    }\r\n}\r\n\r\nRemoveNotification = function() {\r\n    if (device.platform == \"Android\") {\r\n        window.plugin.notification.local.clearAll();\r\n        notification = null;\r\n    }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/katzer/cordova-plugin-local-notifications/issues/comments/147215790","html_url":"https://github.com/katzer/cordova-plugin-local-notifications/issues/700#issuecomment-147215790","issue_url":"https://api.github.com/repos/katzer/cordova-plugin-local-notifications/issues/700","id":147215790,"user":{"login":"vection","id":569550,"avatar_url":"https://avatars.githubusercontent.com/u/569550?v=3","gravatar_id":"","url":"https://api.github.com/users/vection","html_url":"https://github.com/vection","followers_url":"https://api.github.com/users/vection/followers","following_url":"https://api.github.com/users/vection/following{/other_user}","gists_url":"https://api.github.com/users/vection/gists{/gist_id}","starred_url":"https://api.github.com/users/vection/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vection/subscriptions","organizations_url":"https://api.github.com/users/vection/orgs","repos_url":"https://api.github.com/users/vection/repos","events_url":"https://api.github.com/users/vection/events{/privacy}","received_events_url":"https://api.github.com/users/vection/received_events","type":"User","site_admin":false},"created_at":"2015-10-11T16:22:20Z","updated_at":"2015-10-11T16:22:20Z","body":"+1 Same problem here"}}