duckduckgo / Android

DuckDuckGo Android App
https://play.google.com/store/apps/details?id=com.duckduckgo.mobile.android
Apache License 2.0
3.84k stars 905 forks source link

[Bug] geolocation not working #1658

Closed davidbtc2009 closed 2 years ago

davidbtc2009 commented 2 years ago

Describe the bug

Geolocation does not work after allowing location access.

How to Reproduce

  1. Open maps.google.com
  2. Tap "Your Location"
  3. Tap "Enable"
  4. Tap "Allow all rge time" as the other options besides deny are greyed out
  5. Tap or swipe back
  6. Tap "Always

The location icon just spins and spins.

  1. Tap the fire button and tap "Clear All Tabs And Data"
  2. Open maps.google.com again
  3. Tap "Your Location" button
  4. Tap "Always" again (shouldn't that have been remembered?)

The location icon just spins and spins.

Expected behavior

The gps location should be found and tracked

Environment

- DDG App Version: 5.106.0 F-Droid
- Device: Motorola One 5G Ace
- OS: LineageOS 18.1 (Android 11) with no google play services
cmonfortep commented 2 years ago

I've followed the steps describing how to reproduce the issue and I can get the location without issues. We haven't received any feedback or any bug report similar to this one.

Now that I see your environment specs, it can be related with not having play services enabled. Does it work on other browsers in your device?

cmonfortep commented 2 years ago

Sorry, didn't want to close the issue.

davidbtc2009 commented 2 years ago

Yes, other browsers (Fennec) get location just fine

Sent from ProtonMail mobile

-------- Original Message -------- On Jan 12, 2022, 8:27 AM, Cristian Monforte wrote:

Sorry, didn't want to close the issue.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

cmonfortep commented 2 years ago

We have been monitoring user feedback internally to see if there's any problem around geolocation not working, and we haven't seen any bug reports. Closing this as no action is planned.

davidbtc2009 commented 2 years ago

This is very dissapointing as if it were not an issue i would not have reported it.

danpla commented 1 year ago

I have the same annoying issue with the recent 5.146.0. Chrome works fine.

cmonfortep commented 1 year ago

@danpla could you validate in-app and android system location permissions are granted? You can access our in-app site permissions inside settings -> site permissions.

danpla commented 1 year ago

Yes, permissions are granted in both cases. I also tried to choose different combinations of system location permissions for the DuckDuckGo app, i.e., "Allow always" vs "Allow only for this session". Still no luck.

danpla commented 1 year ago

When trying to reproduce the issue, make sure that Google Location Accuracy is disabled so that only GPS is used.

danpla commented 1 year ago

Were you able to reproduce the problem?

Or is it better to open another ticket, as this one is closed?

srednax commented 1 year ago

I have a similar issue with ddg on my phone and tablet, both running ddg on /e/os. In my case, sites using leaflet to display location shows a popup saying "on it says: Gelocation error: Unser denied Geolocation". Geolocation is permitted for ddg when app in use, and asking for geolocation is enabled in ddg settings.