zood / george

Zood Location client for Android
GNU Affero General Public License v3.0
61 stars 8 forks source link

PassiveLocationRecevier isn't started after first login #63

Closed arashpayan closed 4 years ago

arashpayan commented 4 years ago

PassiveLocationReceiver.register() is called after login, but because location permission hasn't been granted yet, it doesn't actually request location updates.

Right now, the only way it actually gets started is as a result of the register call from App.onCreate() during a launch of the app after the user has already logged in and granted location permission.