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