{"action":"created","issue":{"url":"https://api.github.com/repos/katzer/cordova-plugin-local-notifications/issues/1734","repository_url":"https://api.github.com/repos/katzer/cordova-plugin-local-notifications","labels_url":"https://api.github.com/repos/katzer/cordova-plugin-local-notifications/issues/1734/labels{/name}","comments_url":"https://api.github.com/repos/katzer/cordova-plugin-local-notifications/issues/1734/comments","events_url":"https://api.github.com/repos/katzer/cordova-plugin-local-notifications/issues/1734/events","html_url":"https://github.com/katzer/cordova-plugin-local-notifications/issues/1734","id":391345392,"node_id":"MDU6SXNzdWUzOTEzNDUzOTI=","number":1734,"title":"How can I prevent repeated notifications?","user":{"login":"YeisonVelez11","id":1949889,"node_id":"MDQ6VXNlcjE5NDk4ODk=","avatar_url":"https://avatars1.githubusercontent.com/u/1949889?v=4","gravatar_id":"","url":"https://api.github.com/users/YeisonVelez11","html_url":"https://github.com/YeisonVelez11","followers_url":"https://api.github.com/users/YeisonVelez11/followers","following_url":"https://api.github.com/users/YeisonVelez11/following{/other_user}","gists_url":"https://api.github.com/users/YeisonVelez11/gists{/gist_id}","starred_url":"https://api.github.com/users/YeisonVelez11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YeisonVelez11/subscriptions","organizations_url":"https://api.github.com/users/YeisonVelez11/orgs","repos_url":"https://api.github.com/users/YeisonVelez11/repos","events_url":"https://api.github.com/users/YeisonVelez11/events{/privacy}","received_events_url":"https://api.github.com/users/YeisonVelez11/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-15T05:10:29Z","updated_at":"2018-12-18T12:13:01Z","closed_at":null,"author_association":"NONE","body":"\r\n\r\nI want to avoid having repeated notifications, this is achieved with the attribute \"id\"? if I have already registered a notification with an id for example 1, and then I call back a notification with id = 1, will it be called 2 times or only 1? What is the best way to prevent repeated notifications?"},"comment":{"url":"https://api.github.com/repos/katzer/cordova-plugin-local-notifications/issues/comments/448200216","html_url":"https://github.com/katzer/cordova-plugin-local-notifications/issues/1734#issuecomment-448200216","issue_url":"https://api.github.com/repos/katzer/cordova-plugin-local-notifications/issues/1734","id":448200216,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODIwMDIxNg==","user":{"login":"YeisonVelez11","id":1949889,"node_id":"MDQ6VXNlcjE5NDk4ODk=","avatar_url":"https://avatars1.githubusercontent.com/u/1949889?v=4","gravatar_id":"","url":"https://api.github.com/users/YeisonVelez11","html_url":"https://github.com/YeisonVelez11","followers_url":"https://api.github.com/users/YeisonVelez11/followers","following_url":"https://api.github.com/users/YeisonVelez11/following{/other_user}","gists_url":"https://api.github.com/users/YeisonVelez11/gists{/gist_id}","starred_url":"https://api.github.com/users/YeisonVelez11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YeisonVelez11/subscriptions","organizations_url":"https://api.github.com/users/YeisonVelez11/orgs","repos_url":"https://api.github.com/users/YeisonVelez11/repos","events_url":"https://api.github.com/users/YeisonVelez11/events{/privacy}","received_events_url":"https://api.github.com/users/YeisonVelez11/received_events","type":"User","site_admin":false},"created_at":"2018-12-18T12:13:01Z","updated_at":"2018-12-18T12:13:01Z","author_association":"NONE","body":"@EnMaster  do not. I give you this example. I execute a notification.\r\n\r\n    cordova.plugins.notification.local.schedule( { id: 1, title: 'My first notification', message:'dsadas' }\r\n\r\n After 5 minutes, this notification is executed again. \r\n\r\n    cordova.plugins.notification.local.schedule( { id: 1, title: 'My first notification', message:'dsadas' }\r\n\r\nHow can I prevent the notification from being displayed twice? I want the user to see it only once.\r\n\r\nI take this opportunity to ask you what I can do so that the notifications are displayed both in background and foreground in ios?"}}
{"actor":{"display_login":"YeisonVelez11"}}