MarcusWolschon / osmeditor4android

Vespucci is a OpenStreetMap editor for Android
http://vespucci.io
Other
381 stars 83 forks source link

Crash starting GPX recording #2630

Closed simonpoole closed 4 months ago

simonpoole commented 4 months ago

With the fixes for https://github.com/MarcusWolschon/osmeditor4android/issues/2628 starting GPX recording, results in

07-25 15:51:18.163 2232 2232 E ACRA : java.lang.RuntimeException: Unable to start service de.blau.android.services.TrackerService@e887149 with Intent { cmp=de.blau.android/.services.TrackerService (has extras) }: java.lang.SecurityException: Starting FGS with type location callerApp=ProcessRecord{f2e31d0 2232:de.blau.android/u0a141} 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

See also https://github.com/MarcusWolschon/osmeditor4android/issues/2595