{"action":"created","issue":{"url":"https://api.github.com/repos/mendix/mendix-ui-framework-lib/issues/17","repository_url":"https://api.github.com/repos/mendix/mendix-ui-framework-lib","labels_url":"https://api.github.com/repos/mendix/mendix-ui-framework-lib/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/mendix/mendix-ui-framework-lib/issues/17/comments","events_url":"https://api.github.com/repos/mendix/mendix-ui-framework-lib/issues/17/events","html_url":"https://github.com/mendix/mendix-ui-framework-lib/issues/17","id":194298536,"number":17,"title":"Duplicate device entries when using push notifications","user":{"login":"MulderWH","id":8004408,"avatar_url":"https://avatars.githubusercontent.com/u/8004408?v=3","gravatar_id":"","url":"https://api.github.com/users/MulderWH","html_url":"https://github.com/MulderWH","followers_url":"https://api.github.com/users/MulderWH/followers","following_url":"https://api.github.com/users/MulderWH/following{/other_user}","gists_url":"https://api.github.com/users/MulderWH/gists{/gist_id}","starred_url":"https://api.github.com/users/MulderWH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MulderWH/subscriptions","organizations_url":"https://api.github.com/users/MulderWH/orgs","repos_url":"https://api.github.com/users/MulderWH/repos","events_url":"https://api.github.com/users/MulderWH/events{/privacy}","received_events_url":"https://api.github.com/users/MulderWH/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-08T10:25:21Z","updated_at":"2016-12-08T10:34:31Z","closed_at":"2016-12-08T10:34:31Z","body":"Hi, when using a mobile mendix app with push notifications your mobile device is registered to receive notifications. This results in a new entry in the database with your registration id. If you reinstall the mobile app the system will create another entry in the db with a different registration id.\r\n\r\nThis means the user has now two entries in the database. Then if you send a new push notification to the user, the system will create two messages (one for each device registration). The behavior I suspect is one entry for each device, and a user can have zero or more devices.\r\n"},"comment":{"url":"https://api.github.com/repos/mendix/mendix-ui-framework-lib/issues/comments/265708177","html_url":"https://github.com/mendix/mendix-ui-framework-lib/issues/17#issuecomment-265708177","issue_url":"https://api.github.com/repos/mendix/mendix-ui-framework-lib/issues/17","id":265708177,"user":{"login":"MulderWH","id":8004408,"avatar_url":"https://avatars.githubusercontent.com/u/8004408?v=3","gravatar_id":"","url":"https://api.github.com/users/MulderWH","html_url":"https://github.com/MulderWH","followers_url":"https://api.github.com/users/MulderWH/followers","following_url":"https://api.github.com/users/MulderWH/following{/other_user}","gists_url":"https://api.github.com/users/MulderWH/gists{/gist_id}","starred_url":"https://api.github.com/users/MulderWH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MulderWH/subscriptions","organizations_url":"https://api.github.com/users/MulderWH/orgs","repos_url":"https://api.github.com/users/MulderWH/repos","events_url":"https://api.github.com/users/MulderWH/events{/privacy}","received_events_url":"https://api.github.com/users/MulderWH/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T10:34:31Z","updated_at":"2016-12-08T10:34:31Z","body":"Oops! wrong repo"}}
{"actor":{"display_login":"MulderWH"}}