{"action":"created","issue":{"url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/235","repository_url":"https://api.github.com/repos/nordnet/cordova-hot-code-push","labels_url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/235/comments","events_url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/235/events","html_url":"https://github.com/nordnet/cordova-hot-code-push/issues/235","id":181968973,"number":235,"title":"If screen is off when files are downloading,the update will error.","user":{"login":"lazy-ape","id":20139666,"avatar_url":"https://avatars.githubusercontent.com/u/20139666?v=3","gravatar_id":"","url":"https://api.github.com/users/lazy-ape","html_url":"https://github.com/lazy-ape","followers_url":"https://api.github.com/users/lazy-ape/followers","following_url":"https://api.github.com/users/lazy-ape/following{/other_user}","gists_url":"https://api.github.com/users/lazy-ape/gists{/gist_id}","starred_url":"https://api.github.com/users/lazy-ape/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lazy-ape/subscriptions","organizations_url":"https://api.github.com/users/lazy-ape/orgs","repos_url":"https://api.github.com/users/lazy-ape/repos","events_url":"https://api.github.com/users/lazy-ape/events{/privacy}","received_events_url":"https://api.github.com/users/lazy-ape/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-10T09:18:07Z","updated_at":"2016-10-14T08:59:11Z","closed_at":null,"body":"Hi, I find eventbus cann`t receive events if screen is off, but sometimes downloading files need long time. Whether eventbus unregister in onDestory is better then onStop? I`m Sorry ,my English is very poor.\r\n"},"comment":{"url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/comments/253746129","html_url":"https://github.com/nordnet/cordova-hot-code-push/issues/235#issuecomment-253746129","issue_url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/235","id":253746129,"user":{"login":"nikDemyankov","id":13447778,"avatar_url":"https://avatars.githubusercontent.com/u/13447778?v=3","gravatar_id":"","url":"https://api.github.com/users/nikDemyankov","html_url":"https://github.com/nikDemyankov","followers_url":"https://api.github.com/users/nikDemyankov/followers","following_url":"https://api.github.com/users/nikDemyankov/following{/other_user}","gists_url":"https://api.github.com/users/nikDemyankov/gists{/gist_id}","starred_url":"https://api.github.com/users/nikDemyankov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikDemyankov/subscriptions","organizations_url":"https://api.github.com/users/nikDemyankov/orgs","repos_url":"https://api.github.com/users/nikDemyankov/repos","events_url":"https://api.github.com/users/nikDemyankov/events{/privacy}","received_events_url":"https://api.github.com/users/nikDemyankov/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T08:59:11Z","updated_at":"2016-10-14T08:59:11Z","body":"Hi,\r\n\r\nIt is similar to https://github.com/nordnet/cordova-hot-code-push/issues/234 . Didn't have time to figure out the proper solution. Planning to do that during the weekend. \r\n\r\nBut the idea is to write some Ionic hook, that will execute `cordova-hcp build src` and then copy configs to `PROJECT_NAME/www` folder before they are added to the native project. Or, maybe, copy them directly to the native project. Just need to experiment with that. But one of the above should work."}}
{"actor":{"display_login":"nikDemyankov"}}