{"action":"opened","issue":{"url":"https://api.github.com/repos/rootzoll/konfetti-app/issues/59","repository_url":"https://api.github.com/repos/rootzoll/konfetti-app","labels_url":"https://api.github.com/repos/rootzoll/konfetti-app/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/rootzoll/konfetti-app/issues/59/comments","events_url":"https://api.github.com/repos/rootzoll/konfetti-app/issues/59/events","html_url":"https://github.com/rootzoll/konfetti-app/issues/59","id":196413726,"number":59,"title":"pushnotifications final implementation","user":{"login":"rootzoll","id":2472225,"avatar_url":"https://avatars.githubusercontent.com/u/2472225?v=3","gravatar_id":"","url":"https://api.github.com/users/rootzoll","html_url":"https://github.com/rootzoll","followers_url":"https://api.github.com/users/rootzoll/followers","following_url":"https://api.github.com/users/rootzoll/following{/other_user}","gists_url":"https://api.github.com/users/rootzoll/gists{/gist_id}","starred_url":"https://api.github.com/users/rootzoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rootzoll/subscriptions","organizations_url":"https://api.github.com/users/rootzoll/orgs","repos_url":"https://api.github.com/users/rootzoll/repos","events_url":"https://api.github.com/users/rootzoll/events{/privacy}","received_events_url":"https://api.github.com/users/rootzoll/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"rootzoll","id":2472225,"avatar_url":"https://avatars.githubusercontent.com/u/2472225?v=3","gravatar_id":"","url":"https://api.github.com/users/rootzoll","html_url":"https://github.com/rootzoll","followers_url":"https://api.github.com/users/rootzoll/followers","following_url":"https://api.github.com/users/rootzoll/following{/other_user}","gists_url":"https://api.github.com/users/rootzoll/gists{/gist_id}","starred_url":"https://api.github.com/users/rootzoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rootzoll/subscriptions","organizations_url":"https://api.github.com/users/rootzoll/orgs","repos_url":"https://api.github.com/users/rootzoll/repos","events_url":"https://api.github.com/users/rootzoll/events{/privacy}","received_events_url":"https://api.github.com/users/rootzoll/received_events","type":"User","site_admin":false},"assignees":[{"login":"rootzoll","id":2472225,"avatar_url":"https://avatars.githubusercontent.com/u/2472225?v=3","gravatar_id":"","url":"https://api.github.com/users/rootzoll","html_url":"https://github.com/rootzoll","followers_url":"https://api.github.com/users/rootzoll/followers","following_url":"https://api.github.com/users/rootzoll/following{/other_user}","gists_url":"https://api.github.com/users/rootzoll/gists{/gist_id}","starred_url":"https://api.github.com/users/rootzoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rootzoll/subscriptions","organizations_url":"https://api.github.com/users/rootzoll/orgs","repos_url":"https://api.github.com/users/rootzoll/repos","events_url":"https://api.github.com/users/rootzoll/events{/privacy}","received_events_url":"https://api.github.com/users/rootzoll/received_events","type":"User","site_admin":false},{"login":"catarata02","id":15721467,"avatar_url":"https://avatars.githubusercontent.com/u/15721467?v=3","gravatar_id":"","url":"https://api.github.com/users/catarata02","html_url":"https://github.com/catarata02","followers_url":"https://api.github.com/users/catarata02/followers","following_url":"https://api.github.com/users/catarata02/following{/other_user}","gists_url":"https://api.github.com/users/catarata02/gists{/gist_id}","starred_url":"https://api.github.com/users/catarata02/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catarata02/subscriptions","organizations_url":"https://api.github.com/users/catarata02/orgs","repos_url":"https://api.github.com/users/catarata02/repos","events_url":"https://api.github.com/users/catarata02/events{/privacy}","received_events_url":"https://api.github.com/users/catarata02/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-12-19T13:30:04Z","updated_at":"2016-12-19T13:30:04Z","closed_at":null,"body":"for the app release we want to have pushnotifications to activate interaction with the app. basic implementation is there. we using the OneSignal Plugin at the moment. Not optimal from a free software perspektive and long term we will maybe replace this we a better service, but short term we dont have the time resources to deal with this in another way. So here are the next steps to get this going ...\r\n\r\na) Working registration with OneSignal\r\n\r\nin apps.js the app will already connect to the cordova plugin and register the app with onesignal. We can see the client on the onesignal admin gui when the app is running on android ... but it still displays the a \"(Google Play Services Library Error)\" - find out why.\r\n\r\nb) The handling of incoming pushnotifications on the app\r\n\r\nIn the app.js the notificationOpenedCallback is connected with the plugin. But now the app needs to be able to act correct on the different notifications. For example, if someone has a new chat message, the app should jump into the chat, etc ....\r\n\r\nc) Sending pushnotifications from the backend instead of email\r\n\r\nThe backend should see if a user has notifications enabled and is correct subscribed with OneSignal. Then instead of sending an email ... a pushnotification should be sent with the correct user language and the metadata so that the app can react on it."}}
{"actor":{"display_login":"rootzoll"}}