Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Big] Switch the beacon scanning to a ForegroundService #33

Open
mikeyang01 opened this issue May 25, 2019 · 2 comments
Open

[Big] Switch the beacon scanning to a ForegroundService #33

mikeyang01 opened this issue May 25, 2019 · 2 comments

Comments

@mikeyang01
Copy link

No description provided.

@mikeyang01 mikeyang01 changed the title Is it possible to discover while the app is killed? Is it possible to discover the beacons while the app is killed? May 25, 2019
@Bridouille
Copy link
Owner

Not as of now, should be implemented in a foreground service I guess.

@Bridouille Bridouille changed the title Is it possible to discover the beacons while the app is killed? Switch the beacon scanning to a ForegroundService Dec 17, 2019
@Bridouille
Copy link
Owner

  • Create a foreground service that will initiate the scans when "start scanning" is clicked

  • Foreground service takes care of inserting beacons in the local DB

  • Foreground service takes care of logging the scans to an endpoint

  • State in the DB takes care of launching/finishing the service

@Bridouille Bridouille changed the title Switch the beacon scanning to a ForegroundService [Big] Switch the beacon scanning to a ForegroundService Dec 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants