Skip to content

Android - auto requesting permissions causing problem #291

@miduch

Description

@miduch

Hi, using compass version 2.4.1, in KMP app.

val geolocator: Geolocator = MobileGeolocator()

i'm calling geolocator.startTracking(...) from resumed state and geolocator.stopTracking() from paused.
Internally lib is requesting permission and this seems to trigger onPause but i don't see any permission dialog shown.
App immediately goes back to onResume, which again triggers something inside startTracking() and onPause is called again. This continues forever until app crashes.

Is this some issue in lib or is it me using lib in wrong way?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions