{"action":"created","issue":{"url":"https://api.github.com/repos/petermetz/cordova-plugin-ibeacon/issues/141","labels_url":"https://api.github.com/repos/petermetz/cordova-plugin-ibeacon/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/petermetz/cordova-plugin-ibeacon/issues/141/comments","events_url":"https://api.github.com/repos/petermetz/cordova-plugin-ibeacon/issues/141/events","html_url":"https://github.com/petermetz/cordova-plugin-ibeacon/issues/141","id":68468706,"number":141,"title":"Background iBeacon Detection for Android Lollipop","user":{"login":"cvoisey","id":5040801,"avatar_url":"https://avatars.githubusercontent.com/u/5040801?v=3","gravatar_id":"","url":"https://api.github.com/users/cvoisey","html_url":"https://github.com/cvoisey","followers_url":"https://api.github.com/users/cvoisey/followers","following_url":"https://api.github.com/users/cvoisey/following{/other_user}","gists_url":"https://api.github.com/users/cvoisey/gists{/gist_id}","starred_url":"https://api.github.com/users/cvoisey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvoisey/subscriptions","organizations_url":"https://api.github.com/users/cvoisey/orgs","repos_url":"https://api.github.com/users/cvoisey/repos","events_url":"https://api.github.com/users/cvoisey/events{/privacy}","received_events_url":"https://api.github.com/users/cvoisey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-14T18:56:03Z","updated_at":"2015-06-16T10:48:51Z","closed_at":null,"body":"With the latest release of Android, Lillipop, the iBeacon service is now enabled in the background and we should be able to detect an iBeacon even if the app is closed / killed / removed from the Task Manager.  I've done a few tests but it appears this is not working.  Is there another call I need to make in order to register the iBeacon search is happening in the OS?   Or is this something that has to be changed in the Cordova plugin and updated?   "},"comment":{"url":"https://api.github.com/repos/petermetz/cordova-plugin-ibeacon/issues/comments/112383774","html_url":"https://github.com/petermetz/cordova-plugin-ibeacon/issues/141#issuecomment-112383774","issue_url":"https://api.github.com/repos/petermetz/cordova-plugin-ibeacon/issues/141","id":112383774,"user":{"login":"phearme","id":487566,"avatar_url":"https://avatars.githubusercontent.com/u/487566?v=3","gravatar_id":"","url":"https://api.github.com/users/phearme","html_url":"https://github.com/phearme","followers_url":"https://api.github.com/users/phearme/followers","following_url":"https://api.github.com/users/phearme/following{/other_user}","gists_url":"https://api.github.com/users/phearme/gists{/gist_id}","starred_url":"https://api.github.com/users/phearme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phearme/subscriptions","organizations_url":"https://api.github.com/users/phearme/orgs","repos_url":"https://api.github.com/users/phearme/repos","events_url":"https://api.github.com/users/phearme/events{/privacy}","received_events_url":"https://api.github.com/users/phearme/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T10:48:51Z","updated_at":"2015-06-16T10:48:51Z","body":"@Crashthatch The Cordova plugin architecture is a \"bridge\" interface between the native code and the javascript running inside the webview inside the app. On Android, this webview can be a standard webview component or Crosswalk webview (chromium based webview). To initialize the javascript without opening the UI, you would need to instantiate the webview  (without showing it), wait for it to finish loading, and then hook up the webview to the Cordova interface. From that point on, you can call javascript from the native code. Does that sound like what you are looking for?"}}