{"action":"created","issue":{"url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/101","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/101/labels{/name}","comments_url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/101/comments","events_url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/101/events","html_url":"https://github.com/nordnet/cordova-hot-code-push/pull/101","id":131994824,"number":101,"title":"chcp_beforeInstall event for iOS","user":{"login":"toostn","id":1528854,"avatar_url":"https://avatars.githubusercontent.com/u/1528854?v=3","gravatar_id":"","url":"https://api.github.com/users/toostn","html_url":"https://github.com/toostn","followers_url":"https://api.github.com/users/toostn/followers","following_url":"https://api.github.com/users/toostn/following{/other_user}","gists_url":"https://api.github.com/users/toostn/gists{/gist_id}","starred_url":"https://api.github.com/users/toostn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toostn/subscriptions","organizations_url":"https://api.github.com/users/toostn/orgs","repos_url":"https://api.github.com/users/toostn/repos","events_url":"https://api.github.com/users/toostn/events{/privacy}","received_events_url":"https://api.github.com/users/toostn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-07T18:21:34Z","updated_at":"2016-02-08T08:14:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/pulls/101","html_url":"https://github.com/nordnet/cordova-hot-code-push/pull/101","diff_url":"https://github.com/nordnet/cordova-hot-code-push/pull/101.diff","patch_url":"https://github.com/nordnet/cordova-hot-code-push/pull/101.patch"},"body":"I've implemented and tested this for iOS. Event is triggered correctly, and I can use it for showing the splash screen as desired in #100.\r\n\r\nFor Android, maybe the easiest way to fix this is to trigger the event before the InstallationWorker runs?"},"comment":{"url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/comments/181250222","html_url":"https://github.com/nordnet/cordova-hot-code-push/pull/101#issuecomment-181250222","issue_url":"https://api.github.com/repos/nordnet/cordova-hot-code-push/issues/101","id":181250222,"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-02-08T08:14:31Z","updated_at":"2016-02-08T08:14:31Z","body":"Thanks!\r\nAs I said before - Android is implemented in a very similar way, as iOS. So yes, probably just need to dispatch the event either in [UpdatesInstaller](https://github.com/nordnet/cordova-hot-code-push/blob/master/src/android/src/com/nordnetab/chcp/main/updater/UpdatesInstaller.java#L71) or [InstallationWorker](https://github.com/nordnet/cordova-hot-code-push/blob/master/src/android/src/com/nordnetab/chcp/main/updater/InstallationWorker.java#L56). "}}