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.
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.