florent37 / RxGps

Finding current location cannot be easier on Android !
Apache License 2.0
300 stars 42 forks source link

No way to call this from background #5

Open AhmedDroid opened 6 years ago

AhmedDroid commented 6 years ago

Hi, is there any plans to make this library callable from background with only application context? providing an Activity is not always available when it comes to GPS features.

GeniusRUS commented 6 years ago

I think that this is unlikely. Because the activity context is required to request permissions. how to request from the background?

AhmedDroid commented 6 years ago

And how about using a location-based widget? How to manage that?