Skip to content

Requesting location permission popup opens app's settings instead of location settings #5255

Closed
@RitikaPahwa4444

Description

@RitikaPahwa4444

Summary

A "Requesting location permission" popup is used at various places in the app (like Explore fragment map and also in PR #5249) that asks users to turn location on for all apps in the Settings. The Settings button, however, takes the user to the app's settings instead of location settings where users can turn their GPS on.

Steps to reproduce

  1. Open the map in the Explore fragment
  2. Tap on the target icon
  3. A popup asking for location access is shown. Allow the app to access location
  4. Another popup titled "Requesting location permission" is displayed in case GPS is turned off on the device
  5. Tap on Settings

Expected behaviour

Tapping on Settings should take the users to location settings page where they can enable GPS.

Actual behaviour

The app's settings page is displayed instead of location settings. Since the user has already allowed location access in step 3, displaying this page isn't helpful.

Side note: The same button opens location settings page correctly on some devices.

Device name

Moto g62

Android version

12

Commons app version

master and prodDebug

Device logs

No response

Screen-shots

No response

Would you like to work on the issue?

None

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions