microg / GmsCore

Free implementation of Play Services
https://microg.org
Apache License 2.0
8.58k stars 1.72k forks source link

Jodel: Location access does not work #664

Open codiflow opened 5 years ago

codiflow commented 5 years ago

After hving installed the recent version of Jodel (https://play.google.com/store/apps/details?id=com.tellm.android.app) clicking on the button which gains location access - nothing happens.

So I installed an old version (4.9) and registered gms with this version because I found out it couldnt register with gms @ microG usig the new version. After everything was registered correctly I updated to the new version (5.11).

But then it keeps the location it gained when starting the updated app for the first time (the old version couldnt start because the API changed meanwhile). It doesn't matter if I update my real location or use a mocked location. It will always stay the same.

Taking a look into locat tells me that there seems to be a problem with some gms service request after i refreshed my Jodel stream (which should update my location too):

image

image

Does anyone of you guys have a clue what's the reason for this problem? The checkup of microg tells me everything's fine.

image

image

System info:

image

image

A2-NieR commented 5 years ago

Any update on this? Here are my screenshots if it helps:

Screenshot_20190711-161319_microG_Services_Core Screenshot_20190711-161338_microG_Services_Core Screenshot_20190711-161721_microG_Services_Core Screenshot_20190711-161922_microG_Services_Core Screenshot_20190711-162248_Settings Screenshot_20190711-162303_Settings

tmolitor-stud-tu commented 5 years ago

@mar-v-in I want to debug this and hopefully fix it. How can I see what these fields SafeParcel complains about contain? And next question: How can I add support for this fields to microg?

Just some pointers into the codebase are probably enough, I'll figure it out on myself then :)

tmolitor-stud-tu commented 5 years ago

For reference, these are the relevant lines in logcat (so far as I can tell):

10-16 13:13:11.328  6264  6264 D GmsLocManagerSvc: onBind: Intent { act=com.google.android.location.internal.GoogleLocationManagerService.START pkg=com.google.android.gms }
10-16 13:13:11.340  6264  6281 D SafeParcel: Unknown field num 10 in com.google.android.gms.common.internal.GetServiceRequest, skipping.
10-16 13:13:11.340  6264  6281 D SafeParcel: Unknown field num 11 in com.google.android.gms.common.internal.GetServiceRequest, skipping.
10-16 13:13:11.340  6264  6281 D SafeParcel: Unknown field num 12 in com.google.android.gms.common.internal.GetServiceRequest, skipping.
10-16 13:13:11.340  6264  6281 D GmsLocManagerSvc: bound by: GetServiceRequest{serviceId=LOCATION_MANAGER, gmsVersion=12451000, packageName='com.tellm.android.app', extras=Bundle[{client_name=locationServices}]}
10-16 13:13:11.344  6264 27449 D SafeParcel: Unknown field num 3 in com.google.android.gms.location.LocationSettingsRequest, skipping.
10-16 13:13:11.344  6264 27449 D GmsLocManagerSvcImpl: requestLocationSettingsDialog: com.google.android.gms.location.LocationSettingsRequest@17361f6

After these lines nothing happens in Jodel (just as if I didn't clicked the grant location access button at all). But: The first time I clicked the button I got a dialog where I could allow location access (and did so), but then nothing happened, too.

A2-NieR commented 4 years ago

Guys, no need to do coding, I got it to work on my phone: In Magisk Manager, hide the Magisk Manager and Google Play Services! 🙂

Z4ipher commented 4 years ago

Sooo, I got it to work by installing Jodel versions from 4.88 upwards to 5.1 in multiple steps (picking by random) and got various error messages from Jodel. After I did that I installed the most recent version and it worked. No idea how. I could not confirm yet whether the actual location updating works.

jaykijay commented 4 years ago

I did not get it working. not even with an old Version like 4.88 :(

Is there any hint what should be changed to get this working? Cans someone point me in the right direction so that i maybe can make the fix for this.. :?

A2-NieR commented 4 years ago

I did not get it working. not even with an old Version like 4.88 :(

Is there any hint what should be changed to get this working? Cans someone point me in the right direction so that i maybe can make the fix for this.. :?

Did you try with my method (Magisk Manager)?

jaykijay commented 4 years ago

I don't have Magisk Manager installed and can't do that because it's not supported..:/

Guarmanda commented 3 weeks ago

I have the same problem here in 2024, with microg, magisk, tryed three different location services 🥲