{"action":"created","issue":{"url":"https://api.github.com/repos/tanguyantoine/react-native-music-control/issues/187","repository_url":"https://api.github.com/repos/tanguyantoine/react-native-music-control","labels_url":"https://api.github.com/repos/tanguyantoine/react-native-music-control/issues/187/labels{/name}","comments_url":"https://api.github.com/repos/tanguyantoine/react-native-music-control/issues/187/comments","events_url":"https://api.github.com/repos/tanguyantoine/react-native-music-control/issues/187/events","html_url":"https://github.com/tanguyantoine/react-native-music-control/issues/187","id":362552440,"node_id":"MDU6SXNzdWUzNjI1NTI0NDA=","number":187,"title":"Pause doesn't work on Android","user":{"login":"ArtemKosiakevych","id":17948785,"node_id":"MDQ6VXNlcjE3OTQ4Nzg1","avatar_url":"https://avatars0.githubusercontent.com/u/17948785?v=4","gravatar_id":"","url":"https://api.github.com/users/ArtemKosiakevych","html_url":"https://github.com/ArtemKosiakevych","followers_url":"https://api.github.com/users/ArtemKosiakevych/followers","following_url":"https://api.github.com/users/ArtemKosiakevych/following{/other_user}","gists_url":"https://api.github.com/users/ArtemKosiakevych/gists{/gist_id}","starred_url":"https://api.github.com/users/ArtemKosiakevych/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArtemKosiakevych/subscriptions","organizations_url":"https://api.github.com/users/ArtemKosiakevych/orgs","repos_url":"https://api.github.com/users/ArtemKosiakevych/repos","events_url":"https://api.github.com/users/ArtemKosiakevych/events{/privacy}","received_events_url":"https://api.github.com/users/ArtemKosiakevych/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-21T10:26:18Z","updated_at":"2018-09-26T14:33:32Z","closed_at":null,"author_association":"NONE","body":"# Description\r\n\r\nHeadphone pause/stop button doesn't trigger any action\r\n\r\n1. Sample code (provide repo url or sample code)\r\n```\r\n    MusicControl.enableControl('play', true)\r\n    MusicControl.enableControl('pause', true)\r\n    MusicControl.on('pause', this.onPlay)\r\n    MusicControl.on('play', this.onPlay)\r\n```\r\n\r\n`this.onPlay` didn't call \r\n\r\n2. Platform ?\r\n   - [ ] iOS\r\n   - [x] Android\r\n   \r\n   \r\n3. Device\r\n  - [ ] Simulator\r\n  - [x] Real device\r\n"},"comment":{"url":"https://api.github.com/repos/tanguyantoine/react-native-music-control/issues/comments/424738431","html_url":"https://github.com/tanguyantoine/react-native-music-control/issues/187#issuecomment-424738431","issue_url":"https://api.github.com/repos/tanguyantoine/react-native-music-control/issues/187","id":424738431,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDczODQzMQ==","user":{"login":"john-hu","id":6179015,"node_id":"MDQ6VXNlcjYxNzkwMTU=","avatar_url":"https://avatars1.githubusercontent.com/u/6179015?v=4","gravatar_id":"","url":"https://api.github.com/users/john-hu","html_url":"https://github.com/john-hu","followers_url":"https://api.github.com/users/john-hu/followers","following_url":"https://api.github.com/users/john-hu/following{/other_user}","gists_url":"https://api.github.com/users/john-hu/gists{/gist_id}","starred_url":"https://api.github.com/users/john-hu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-hu/subscriptions","organizations_url":"https://api.github.com/users/john-hu/orgs","repos_url":"https://api.github.com/users/john-hu/repos","events_url":"https://api.github.com/users/john-hu/events{/privacy}","received_events_url":"https://api.github.com/users/john-hu/received_events","type":"User","site_admin":false},"created_at":"2018-09-26T14:33:32Z","updated_at":"2018-09-26T14:33:32Z","author_association":"NONE","body":"I got a similar issue. The pause at notification bar works. But the media button which triggers pause doesn't work.\r\n\r\nI am working on an open source project, you may find it at https://github.com/Vosie/QianLiYan. I am using version 0.5.0. The issue also happens to my experiment branch for upgrading to RN 0.57, https://github.com/Vosie/QianLiYan/tree/rn0-57."}}
{"actor":{"display_login":"john-hu"}}