Skip to content

Fix location prompt uploaded via mobile 5549 #6328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Kota-Jagadeesh
Copy link

Fixes #5549

I fixed the app so that it doesn’t ask for location permission in the "Uploaded via Mobile" tab. It now only asks for permission in the "Map" tab, as it should. I made changes to ExploreFragment.java and ExploreMapRootFragment.java to control when the permission is requested, and gave instructions for ExploreMapFragment.java to handle the permission request properly.


@Kota-Jagadeesh Kota-Jagadeesh force-pushed the fix-location-prompt-uploaded-via-mobile-5549 branch from 71ecc11 to 09975aa Compare May 31, 2025 18:09
Copy link
Member

@nicolas-raoul nicolas-raoul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am getting this build error, would you mind checking? Thanks!

ExploreMapRootFragment.java:242: error: cannot find symbol
        mapFragment.requestLocationPermission();
                   ^
  symbol:   method requestLocationPermission()
  location: variable mapFragment of type ExploreMapFragment

@Kota-Jagadeesh
Copy link
Author

Yeah will work on it 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: App prompts for user location in Explore's uploaded via mobile screen
2 participants