Skip to content

The app crash when I start the process in the background, if I give it location permissions it works #257

@jaalvarez2818

Description

@jaalvarez2818

The app crash when I start the process in the background, if I give it location permissions it works

Fatal Exception: java.lang.RuntimeException
Unable to start service com.asterinet.react.bgactions.RNBackgroundActionsTask@88947b3 with Intent { cmp=com.Surikat.SurikatApp/com.asterinet.react.bgactions.RNBackgroundActionsTask (has extras) }: java.lang.SecurityException: Starting FGS with type location callerApp=ProcessRecord{6bde2af 3383:com.Surikat.SurikatApp/u0a271} targetSDK=34 requires permissions: all of the permissions allOf=true [android.permission.FOREGROUND_SERVICE_LOCATION] any of the permissions allOf=false [android.permission.ACCESS_COARSE_LOCATION, android.permission.ACCESS_FINE_LOCATION] and the app must be in the eligible state/exemptions to access the foreground only permission

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