{"action":"closed","issue":{"url":"https://api.github.com/repos/zo0r/react-native-push-notification/issues/5","labels_url":"https://api.github.com/repos/zo0r/react-native-push-notification/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/zo0r/react-native-push-notification/issues/5/comments","events_url":"https://api.github.com/repos/zo0r/react-native-push-notification/issues/5/events","html_url":"https://github.com/zo0r/react-native-push-notification/issues/5","id":124473423,"number":5,"title":"onRegister not called (Android)","user":{"login":"anativ","id":616236,"avatar_url":"https://avatars.githubusercontent.com/u/616236?v=3","gravatar_id":"","url":"https://api.github.com/users/anativ","html_url":"https://github.com/anativ","followers_url":"https://api.github.com/users/anativ/followers","following_url":"https://api.github.com/users/anativ/following{/other_user}","gists_url":"https://api.github.com/users/anativ/gists{/gist_id}","starred_url":"https://api.github.com/users/anativ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anativ/subscriptions","organizations_url":"https://api.github.com/users/anativ/orgs","repos_url":"https://api.github.com/users/anativ/repos","events_url":"https://api.github.com/users/anativ/events{/privacy}","received_events_url":"https://api.github.com/users/anativ/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-31T14:02:05Z","updated_at":"2016-01-01T21:55:46Z","closed_at":"2016-01-01T21:55:46Z","body":"I took the sample code\r\n`\r\nonRegister: function(token) {\r\n        console.log( 'TOKEN:', token );\r\n    },\r\n`\r\nBut onRegister is not called on Android\r\nHow do I get the device token?\r\n"}}