{"action":"closed","issue":{"url":"https://api.github.com/repos/AltBeacon/android-beacon-library/issues/137","labels_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/issues/137/labels{/name}","comments_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/issues/137/comments","events_url":"https://api.github.com/repos/AltBeacon/android-beacon-library/issues/137/events","html_url":"https://github.com/AltBeacon/android-beacon-library/issues/137","id":59762581,"number":137,"title":"Starting an app in the background when BootstrapNotifier is not implemented in an Application Class","user":{"login":"jchesterisidoro","id":5276353,"avatar_url":"https://avatars.githubusercontent.com/u/5276353?v=3","gravatar_id":"","url":"https://api.github.com/users/jchesterisidoro","html_url":"https://github.com/jchesterisidoro","followers_url":"https://api.github.com/users/jchesterisidoro/followers","following_url":"https://api.github.com/users/jchesterisidoro/following{/other_user}","gists_url":"https://api.github.com/users/jchesterisidoro/gists{/gist_id}","starred_url":"https://api.github.com/users/jchesterisidoro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jchesterisidoro/subscriptions","organizations_url":"https://api.github.com/users/jchesterisidoro/orgs","repos_url":"https://api.github.com/users/jchesterisidoro/repos","events_url":"https://api.github.com/users/jchesterisidoro/events{/privacy}","received_events_url":"https://api.github.com/users/jchesterisidoro/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-03-04T08:01:13Z","updated_at":"2015-04-04T12:44:28Z","closed_at":"2015-04-04T12:44:28Z","body":"In the sample code from http://altbeacon.github.io/android-beacon-library/samples.html, BootstrapNotifier is implemented in an Application class, and the RegionBootstrap is initialised also in the onCreate of Application class. However, this initialisation is too early because Application class runs first before any Activity. You need to know the beacon's Identifiers beforehand to allow starting the app in the background.\r\nWhat if the list of Identifiers are needed to be downloaded first after a login?\r\nIs it possible to implement the BootstrapNotifier in a non-application or non-activity/service (ordinary class) and use initialise the RegionBootstrap from there? "}}