microg / microg/GmsCore

Maps.me crash when opening

Open
#1,135 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
14.6k
Forks
3.2k
Avg merge
12d 11h
Merged PRs (30d)
4

Description

Maps.me crash when opening.
I'm using latest Crdroid (Android 10) on a OnePlus 5T.
Also, Google Maps can find my location only when I previously run the app "GPS Locker".

Log :
time: 1596715966071 msg: java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LOCATION permission. stacktrace: java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LOCATION permission. at android.os.Parcel.createException(Parcel.java:2071) at android.os.Parcel.readException(Parcel.java:2039) at android.os.Parcel.readException(Parcel.java:1987) at com.google.android.gms.internal.location.zza.transactAndReadExceptionReturnVoid(Unknown Source:10) at com.google.android.gms.internal.location.zzap.zza(Unknown Source:9) at com.google.android.gms.internal.location.zzas.zza(Unknown Source:43) at com.google.android.gms.internal.location.zzaz.zza(Unknown Source:5) at com.google.android.gms.internal.location.zzr.doExecute(Unknown Source:25) at com.google.android.gms.common.api.internal.BaseImplementation$ApiMethodImpl.run(Unknown Source:19) at com.google.android.gms.common.api.internal.zaah.execute(Unknown Source:20) at com.google.android.gms.common.api.internal.zabe.execute(Unknown Source:23) at com.google.android.gms.common.api.internal.zaaw.execute(Unknown Source:74) at com.google.android.gms.internal.location.zzq.requestLocationUpdates(Unknown Source:14) at com.mapswithme.maps.location.GoogleFusedLocationProvider.requestLocationUpdates(GoogleFusedLocationProvider.java:134) at com.mapswithme.maps.location.GoogleFusedLocationProvider.access$200(GoogleFusedLocationProvider.java:19) at com.mapswithme.maps.location.GoogleFusedLocationProvider$1.onResult(GoogleFusedLocationProvider.java:114) at com.mapswithme.maps.location.GoogleFusedLocationProvider$1.onResult(GoogleFusedLocationProvider.java:91) at com.google.android.gms.common.api.internal.BasePendingResult$CallbackHandler.handleMessage(Unknown Source:10) at android.os.Handler.dispatchMessage(Handler.java:107) at com.google.android.gms.internal.base.zap.dispatchMessage(Unknown Source:8) at android.os.Looper.loop(Looper.java:214) at android.app.ActivityThread.main(ActivityThread.java:7356) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:940)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at com.mapswithme.maps.location.GoogleFusedLocationProvider, especially requestLocationUpdates and the callbacks around lines 91, 114, and 134 in the stack trace. Reproduce opening Maps.me on Android 10 with the reported location-permission state and trace how the SecurityException is handled. Done means the reported crash no longer occurs when opening the app.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.