GmsCore icon indicating copy to clipboard operation
GmsCore copied to clipboard

[com.didiglobal.passenger] DiDi - map starts zoomed out, does not show my current location and does not show the drivers location

Open DAPOTTIS opened this issue 9 months ago • 5 comments

Affected app Name: DiDi Package id: com.didiglobal.passenger

Describe the bug The map view on DiDi does not work. As shown in the screenshot below, the app starts off with the map way zoomed out showing everything all at once, does not show my current location and does not show the drivers location. The rest of the app works correctly, minus the map visual.

To Reproduce Steps to reproduce the behavior:

  1. Launch app while signed in. Will not show your current location
  2. Order a ride, will not show where you or the driver are.

Expected behavior I expect the map to be zoomed in to where I am (similar to Uber), to show my location and to show the drivers location when a driver is on their way.

Screenshots

Image

System Android Version: 15 Custom ROM: LineageOS 22.1-20250120

microG microG Core version: 0.3.6.244735 microG Self-Check results: All ticked

Additional context Worth noting that I've had this issue when I tried microg on my older phone on Android 14 with LineageOS and an older version of microg. All the other apps (Bolt, Uber, etc.) work correctly.

DAPOTTIS avatar Feb 25 '25 16:02 DAPOTTIS

Additionally the Brazilian ride sharing app (a clone app?) 99 crashes on accepting a ride, will share the log later tonight (GMT-3). I plan to file an issue just for that.

KyunLFA avatar Apr 04 '25 16:04 KyunLFA

@ale5000-git to give an update, updated to 0.3.7.250932 and I still have this same issue where its zoomed way out and doesnt show my or the drivers location still.

DAPOTTIS avatar May 21 '25 10:05 DAPOTTIS

@DAPOTTIS Could you please post a logcat?

@KyunLFA Did you have opened a new issue?

ale5000-git avatar May 21 '25 11:05 ale5000-git

@DAPOTTIS Could you please post a logcat?

@KyunLFA Did you have opened a new issue?

@ale5000-git sure, here, I assume this is what you need. lmk if I need to get anything else

hi.txt

DAPOTTIS avatar May 22 '25 15:05 DAPOTTIS

@mar-v-in Here are the issues that I noticed in the logcat, that may or may not be related to this issue.

This happens very often and from multiple apps (likely increase battery usage):

W GoogleApiManager: com.google.android.gms.phenotype.internal.c could not execute call because it requires feature (register_flag_update_listener_api, 2).

Often coupled with: Failed to register flag update listener on flag read

There are also these:

W GoogleApiManager: com.google.android.gms.phenotype.internal.c could not execute call because it requires feature (commit_to_configuration_v2_api, 1).
W ActivityManager: Unable to start service Intent { act=com.google.android.gms.clearcut.bootcount.service.START pkg=com.google.android.gms } U=0: not found

Specifically for DiDi there are these:

W TelephonyPermissions: reportAccessDeniedToReadIdentifiers:com.didiglobal.passenger:getSubscriberIdForSubscriber:1
D BinderSender: onUidCachedChanged: uid=10301, cached=true
D DynamicLinksService: getDynamicLink: callingPackageName: com.didiglobal.passenger link: null
D DynamicLinksService: getDynamicLink: null -> null
W TelephonyPermissions: reportAccessDeniedToReadIdentifiers:com.didiglobal.passenger:getIccSerialNumber:1
E Parcel  : Unparcelling of com.didi.entrega.customer.foundation.rpc.entity.ServerConfigEntity@79bf1f8 of type VAL_PARCELABLE  consumed 164 bytes, but 168 expected.
E Parcel  : android.util.Log$TerribleFailure: Unparcelling of com.didi.entrega.customer.foundation.rpc.entity.ServerConfigEntity@79bf1f8 of type VAL_PARCELABLE  consumed 164 bytes, but 168 expected.
E WSGLOG  : getDiDiLocation getLastKnownOsLocation ERROR java.lang.NoSuchMethodError: No virtual method getLastKnownOsLocation(Ljava/lang/String;)Landroid/location/Location; in class Lcom/didichuxing/bigdata/dp/locsdk/DIDILocationManager; or its super classes (declaration of 'com.didichuxing.bigdata.dp.locsdk.DIDILocationManager' appears in /data/app/~~R-Vxagol_iULRr1LCgdV5g==/com.didiglobal.passenger-NFTu7eNR7TCCzrNx1ts0-w==/base.apk!classes8.dex)
E WSGLOG  : getDiDiLocation ERROR java.lang.NoSuchMethodError: No virtual method getOsLocation()Landroid/location/Location; in class Lcom/didichuxing/bigdata/dp/locsdk/DIDILocation; or its super classes (declaration of 'com.didichuxing.bigdata.dp.locsdk.DIDILocation' appears in /data/app/~~R-Vxagol_iULRr1LCgdV5g==/com.didiglobal.passenger-NFTu7eNR7TCCzrNx1ts0-w==/base.apk!classes8.dex)
D GmsMap  : onResume
D EventBus: No subscribers registered for event class java.lang.String
D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent
D EventBus: No subscribers registered for event class com.didi.sdk.events.IMRefreshEvent
W Resources: Drawable com.google.android.gms:drawable/maplibre_user_icon_shadow has unresolved theme attributes! Consider using Resources.getDrawable(int, Theme) or Context.getDrawable(int).
W Resources: java.lang.RuntimeException
W Resources: 	at android.content.res.Resources.getDrawable(Resources.java:928)
W Resources: 	at com.mapbox.mapboxsdk.utils.BitmapUtils.getDrawableFromRes(BitmapUtils.java:183)
W Resources: 	at com.mapbox.mapboxsdk.utils.BitmapUtils.getDrawableFromRes(BitmapUtils.java:169)
W Resources: 	at com.mapbox.mapboxsdk.location.LayerBitmapProvider.generateShadowBitmap(LayerBitmapProvider.java:30)
W Resources: 	at com.mapbox.mapboxsdk.location.LocationLayerController.styleBitmaps(LocationLayerController.java:162)
W Resources: 	at com.mapbox.mapboxsdk.location.LocationLayerController.applyStyle(LocationLayerController.java:98)
W Resources: 	at com.mapbox.mapboxsdk.location.LocationLayerController.initializeComponents(LocationLayerController.java:79)
W Resources: 	at com.mapbox.mapboxsdk.location.LocationLayerController.<init>(LocationLayerController.java:72)
W Resources: 	at com.mapbox.mapboxsdk.location.LocationComponent.initialize(LocationComponent.java:1092)
W Resources: 	at com.mapbox.mapboxsdk.location.LocationComponent.activateLocationComponent(LocationComponent.java:250)
W Resources: 	at org.microg.gms.maps.mapbox.GoogleMapImpl.initMap$lambda$58(GoogleMap.kt:787)
W Resources: 	at org.microg.gms.maps.mapbox.GoogleMapImpl.$r8$lambda$cX0y-H2SH4CZt1TXY-dFHLjbrxI(Unknown Source:0)
W Resources: 	at org.microg.gms.maps.mapbox.GoogleMapImpl$$ExternalSyntheticLambda3.onStyleLoaded(Unknown Source:4)
W Resources: 	at com.mapbox.mapboxsdk.maps.MapboxMap.getStyle(MapboxMap.java:120)
W Resources: 	at org.microg.gms.maps.mapbox.GoogleMapImpl.initMap(GoogleMap.kt:698)
W Resources: 	at org.microg.gms.maps.mapbox.GoogleMapImpl.$r8$lambda$SopKtjQYYLh9Z4xMPOlCv4DMlsk(Unknown Source:0)
W Resources: 	at org.microg.gms.maps.mapbox.GoogleMapImpl$$ExternalSyntheticLambda6.onMapReady(Unknown Source:2)
W Resources: 	at com.mapbox.mapboxsdk.maps.MapView$MapCallback.onMapReady(MapView.java:1322)
W Resources: 	at com.mapbox.mapboxsdk.maps.MapView$MapCallback.initialised(MapView.java:1308)
W Resources: 	at com.mapbox.mapboxsdk.maps.MapView.initialiseMap(MapView.java:203)
W Resources: 	at com.mapbox.mapboxsdk.maps.MapView.access$800(MapView.java:65)
W Resources: 	at com.mapbox.mapboxsdk.maps.MapView$6.run(MapView.java:355)
W Resources: 	at android.os.Handler.handleCallback(Handler.java:991)
W Resources: 	at android.os.Handler.dispatchMessage(Handler.java:102)
W Resources: 	at android.os.Looper.loopOnce(Looper.java:232)
W Resources: 	at android.os.Looper.loop(Looper.java:317)
W Resources: 	at android.app.ActivityThread.main(ActivityThread.java:8934)
W Resources: 	at java.lang.reflect.Method.invoke(Native Method)
W Resources: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:591)
W Resources: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911)
E EventBus: Could not dispatch event: class com.didi.sdk.events.RedDotStatusChangedEvent to subscribing class class com.didi.sdk.sidebar.data.DataContainer
E EventBus: java.lang.IllegalStateException: Not a JSON Object: "{\"customerData\":null,\"emotionalData\":null,\"priorityData\":[\"club_tips_info\",\"didiPassData\",\"badgeData\",\"customerData\",\"imData\",\"emotionalData\"],\"userCenterData\":{\"data\":[{\"fireTorchs\":[],\"levels\":{\"level0\":{\"root\":{\"groupList\":[[{\"componentType\":\"nav_to_edit_account\",\"des\":\"\",\"id\":1,\"log_data\":{},\"subPage\":\"account\",\"traceEvent\":\"pas_sidebar_profile_ck\",\"url\":\"GlobalOneTravel://one/editProfile\"},{\"componentType\":\"menu_common_link\",\"des\":\"\",\"iconUrl\":\"https://img0.didiglobal.com/static/gstar/img/Kfmohv1NBk1599119253593.png\",\"id\":3,\"log_data\":{},\"name\":\"My Trips\",\"traceEvent\":\"pas_sidebar_mytrip_ck\",\"url\":\"GlobalOneTravel://one/history\"},{\"componentType\":\"menu_common_link\",\"des\":\"\",\"iconUrl\":\"https://img0.didiglobal.com/static/gstar/img/RymvY8gXMO1599119254336.png\",\"id\":2,\"log_data\":{},\"name\":\"Payment\",\"traceEvent\":\"pas_sidebar_payment_ck\",\"url\":\"GlobalOneTravel://one/nativeWallet\"},{\"componentType\":\"menu_common_link\",\"des\":\"\",\"iconUrl\":\"https://img0.didiglobal.com/static/gstar/img/R0a1tw0HQT1595489609115.png\",\"id\":4,\"log_data\":{},\"name\":\"Help\",\"traceEvent\":\"pas_sidebar_help_ck\",\"url\":\"https://help.didiglobal.com/home-page.html?portalToken=Customer_Menu_side_bar_1696851963660\"},{\"componentType\":\"menu_common_link\",\"des\":\"\",\"iconUrl\":\"https://img0.didiglobal.com/static/gstar/img/z1Q1o7Yptr1595489609901.png\",\"id\":44,\"log_data\":{},\"name\":\"Messages\",\"traceEvent\":\"pas_home_message_ck\",\"url\":\"GuaranaOneTravel://one/messageCenter\"},{\"componentType\":\"menu_common_link\",\"des\":\"\",\"iconUrl\":\"https://img0.didiglobal.com/static/gstar/img/D0eMSsvRlT1729601439508.png\",\"id\":28,\"log_data\":{},\"name\":\"Safety Center\",\"traceEvent\":\"gp_sidebar_SafetyToolkitBtn_ck\",\"url\":\"globalOneTravel://one/safety/jarvis_panel?page=home\"},{\"componentType\":\"menu_common_link\",\"des\":\"\",\"iconUrl\":\"https://img0.didiglobal.com/static/gstar/img/wV2vWYKJWL1595489610716.png\",\"id\":5,\"log_data\":{},\"name\":\"Settings\",\"subPage\":\"setting\",\"traceEvent\":\"pas_sidebar_setting_ck\",\"url\":\"GlobalOneTravel://one/settings\"}],[{\"componentType\":\"menu_common_link\",\"des\":\"\",\"iconUrl\":\"https://img0.didiglobal.com/static/gstar/img/lHSjagU9Qt1595489609096.png\",\"id\":7,\"log_data\":{},\"name\":\"Invite Friends\",\"traceEvent\":\"pas_sidebar_invite_ck\",\"url\":\"GlobalOneTravel://one/InviteFriends?resourceid=110004\"},{\"componentType\":\"menu_common_link\",\"des\":\"\",\"iconUrl\":\"https://img0.didiglobal.com/static/gstar/img/Sx4RFMnEc51595489608316.png\",\"id\":6,\"log_data\":{},\"name\":\"Drive with Us\",\"traceEvent\":\"pas_sidebar_bedriver_ck\",\"url\":\"https://growth.didiglobal.com/dgd/pbd\"},{\"componentType\":\"menu_common_link\",\"des\":\"\",\"iconUrl\":\"https://img0.didiglobal.com/static/gstar/img/iSanMiG2b71595489608321.png\",\"id\":31,\"log_data\":{},\"name\":\"Discounts\",\"traceEvent\":\"pas_sidebar_promos_ck\",\"url\":\"https://page.didiglobal.com/ibt/m-custom/GlobalCouponList/index.html?inlet_source=promotions\"},{\"componentType\":\"menu_common_link\",\"des\":\"\",\"iconUrl\":\"https://img0.didiglobal.com/static/quickbolt/025arMKIW7QL2K1K.png\",\"id\":52,\"log_data\":{},\"name\":\"Scan\",\"traceEvent\":\"ibt_pas_openride_ck\",\"url\":\"globalOneTravel://one/openscanpage?from_type=sidebar\"}]],\"subLevel\":\"level1\",\"title\":\"\"}},\"level1\":{\"account\":{\"groupList\":[[{\"componentType\":\"account_edit_avatar\",\"des\":\"Edit Profile Picture\",\"id\":14,\"log_data\":{}},{\"componentType\":\"account_edit_firt_name\",\"des\":\"First Name\",\"id\":15,\"log_data\":{},\"name\":\"Enter your first name\"},{\"componentType\":\"account_edit_last_name\",\"des\":\"Last Name\",\"id\":16,\"log_data\":{},\"name\":\"Enter your last name\"}],[{\"componentType\":\"account_modfy_phone\",\"des\":\"\",\"id\":17,\"log_data\":{},\"na
E EventBus: 	at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:3)
E EventBus: 	at com.didi.sdk.sidebar.data.DataContainer.onReceive(DataContainer.java:6)
E EventBus: 	at java.lang.reflect.Method.invoke(Native Method)
E EventBus: 	at org.greenrobot.eventbus.EventBus.invokeSubscriber(EventBus.java:6)
E EventBus: 	at org.greenrobot.eventbus.EventBus.postToSubscription(EventBus.java:9)
E EventBus: 	at org.greenrobot.eventbus.EventBus.postSingleEventForEventType(EventBus.java:8)
E EventBus: 	at org.greenrobot.eventbus.EventBus.postSingleEvent(EventBus.java:6)
E EventBus: 	at org.greenrobot.eventbus.EventBus.post(EventBus.java:9)
E EventBus: 	at com.didi.sdk.home.title.HomeNewTitleBarFragment$4.unReadCount(HomeNewTitleBarFragment.java:2)
E EventBus: 	at com.didi.beatles.im.module.impl.IMSessionModule$17.onPostExecute(IMSessionModule.java:4)
E EventBus: 	at com.didi.beatles.im.module.impl.IMSessionModule$17.onPostExecute(IMSessionModule.java:1)
E EventBus: 	at com.didi.beatles.im.task.IMTaskJob._doOnPostExecute(Unknown Source:0)
E EventBus: 	at com.didi.beatles.im.task.IMTaskJob.access$100(Unknown Source:0)
E EventBus: 	at com.didi.beatles.im.task.IMTaskJob$1.onPostExecute(Unknown Source:2)
E EventBus: 	at android.os.AsyncTask.finish(AsyncTask.java:771)
E EventBus: 	at android.os.AsyncTask.-$$Nest$mfinish(Unknown Source:0)
E EventBus: 	at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788)
E EventBus: 	at android.os.Handler.dispatchMessage(Handler.java:109)
E EventBus: 	at android.os.Looper.loopOnce(Looper.java:232)
E EventBus: 	at android.os.Looper.loop(Looper.java:317)
E EventBus: 	at android.app.ActivityThread.main(ActivityThread.java:8934)
E EventBus: 	at java.lang.reflect.Method.invoke(Native Method)
E EventBus: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:591)
E EventBus: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911)
D EventBus: No subscribers registered for event class org.greenrobot.eventbus.SubscriberExceptionEvent
W LocationManager: Exception while checking for WorkSource{10247 com.didiglobal.passenger}
W LocationManager: java.lang.RuntimeException: Lack of permission
W LocationManager: 	at org.microg.gms.location.manager.LocationRequestManager$Companion$LocationRequestHolder.check(LocationRequestManager.kt:455)
W LocationManager: 	at org.microg.gms.location.manager.LocationRequestManager.check(LocationRequestManager.kt:260)
W LocationManager: 	at org.microg.gms.location.manager.LocationRequestManager.checkWhileHighAccuracy(LocationRequestManager.kt:292)
W LocationManager: 	at org.microg.gms.location.manager.LocationRequestManager.access$checkWhileHighAccuracy(LocationRequestManager.kt:39)
W LocationManager: 	at org.microg.gms.location.manager.LocationRequestManager$checkWhileHighAccuracy$1.invokeSuspend(Unknown Source:14)
W LocationManager: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
W LocationManager: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
W LocationManager: 	at androidx.lifecycle.DispatchQueue.drainQueue(DispatchQueue.kt:74)
W LocationManager: 	at androidx.lifecycle.DispatchQueue.enqueue(DispatchQueue.kt:111)
W LocationManager: 	at androidx.lifecycle.DispatchQueue.dispatchAndEnqueue$lambda$2$lambda$1(DispatchQueue.kt:99)
W LocationManager: 	at androidx.lifecycle.DispatchQueue.$r8$lambda$1ME-FmJywCV2uxhp8ajM5a9C_oI(Unknown Source:0)
W LocationManager: 	at androidx.lifecycle.DispatchQueue$$ExternalSyntheticLambda0.run(Unknown Source:4)
W LocationManager: 	at android.os.Handler.handleCallback(Handler.java:991)
W LocationManager: 	at android.os.Handler.dispatchMessage(Handler.java:102)
W LocationManager: 	at android.os.Looper.loopOnce(Looper.java:232)
W LocationManager: 	at android.os.Looper.loop(Looper.java:317)
W LocationManager: 	at android.app.ActivityThread.main(ActivityThread.java:8934)
W LocationManager: 	at java.lang.reflect.Method.invoke(Native Method)
W LocationManager: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:591)
W LocationManager: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911)
D LocationManager: Remove updates for gps
D LocationManager: Updating app ops for location requests, change attribution to: none
W JobScheduler: Job didn't exist in JobStore: f42d665 #u0a271/1034 

ale5000-git avatar May 22 '25 18:05 ale5000-git

hi, any updates on this?

DAPOTTIS avatar Jul 03 '25 19:07 DAPOTTIS