{"action":"created","issue":{"url":"https://api.github.com/repos/Polidea/react-native-ble-plx/issues/38","repository_url":"https://api.github.com/repos/Polidea/react-native-ble-plx","labels_url":"https://api.github.com/repos/Polidea/react-native-ble-plx/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/Polidea/react-native-ble-plx/issues/38/comments","events_url":"https://api.github.com/repos/Polidea/react-native-ble-plx/issues/38/events","html_url":"https://github.com/Polidea/react-native-ble-plx/issues/38","id":194027908,"number":38,"title":"Question: Background monitoring?","user":{"login":"stami","id":6566702,"avatar_url":"https://avatars.githubusercontent.com/u/6566702?v=3","gravatar_id":"","url":"https://api.github.com/users/stami","html_url":"https://github.com/stami","followers_url":"https://api.github.com/users/stami/followers","following_url":"https://api.github.com/users/stami/following{/other_user}","gists_url":"https://api.github.com/users/stami/gists{/gist_id}","starred_url":"https://api.github.com/users/stami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stami/subscriptions","organizations_url":"https://api.github.com/users/stami/orgs","repos_url":"https://api.github.com/users/stami/repos","events_url":"https://api.github.com/users/stami/events{/privacy}","received_events_url":"https://api.github.com/users/stami/received_events","type":"User","site_admin":false},"labels":[{"id":414965749,"url":"https://api.github.com/repos/Polidea/react-native-ble-plx/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-12-07T11:43:12Z","updated_at":"2017-01-19T08:08:40Z","closed_at":null,"body":"Hi!\r\n\r\nIs it possible to monitor characteristics when the app is in background or sleeping?\r\n\r\nCurrently, without any additional setup, the app just does nothing when phone screen turned off. Monitoring (or receiving the values) continues after the app is opened again. (tested only on iOS)\r\n\r\nHave you considered adding some kind of buffer to native code so that app could keep receiving data from the BLE device while screen is turned off? The buffer data would then be accessible from JavaScript.\r\n\r\nThanks for the great library!"},"comment":{"url":"https://api.github.com/repos/Polidea/react-native-ble-plx/issues/comments/273707420","html_url":"https://github.com/Polidea/react-native-ble-plx/issues/38#issuecomment-273707420","issue_url":"https://api.github.com/repos/Polidea/react-native-ble-plx/issues/38","id":273707420,"user":{"login":"stami","id":6566702,"avatar_url":"https://avatars.githubusercontent.com/u/6566702?v=3","gravatar_id":"","url":"https://api.github.com/users/stami","html_url":"https://github.com/stami","followers_url":"https://api.github.com/users/stami/followers","following_url":"https://api.github.com/users/stami/following{/other_user}","gists_url":"https://api.github.com/users/stami/gists{/gist_id}","starred_url":"https://api.github.com/users/stami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stami/subscriptions","organizations_url":"https://api.github.com/users/stami/orgs","repos_url":"https://api.github.com/users/stami/repos","events_url":"https://api.github.com/users/stami/events{/privacy}","received_events_url":"https://api.github.com/users/stami/received_events","type":"User","site_admin":false},"created_at":"2017-01-19T08:08:40Z","updated_at":"2017-01-19T08:08:40Z","body":"Hi guys!\r\nI just found out that the background monitoring actually works out of the box (with background-mode turned on).\r\n\r\nI had beed sending requests to my device to response me with data and that didn't work.\r\nInstead of that, now I send the data from my device (Arduino with BLE chip) automatically without the need of the request and the app will continue to monitor and receive that data after turning display off. 😄 \r\n\r\nThis was tested on iPhone."}}
{"actor":{"display_login":"stami"}}