Skip to content
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

Bug: “Use my current location”/GPS button doesn’t work in our embedded widget #2303

Open
fancyham opened this issue Nov 28, 2024 · 0 comments
Labels
P-Feature: Embedded Widget Features related to embedding the app as widget Priority - High Production requires hotfix Ready for dev lead Issue ready for dev lead to review Release Note: Bug Something isn't working (Shows on release notes under "Bug Fixes") Role: Front-end Front End Developer
Milestone

Comments

@fancyham
Copy link
Collaborator

Describe the bug

Our app is embedded as a widget on https://www.foodcyclela.org/find-food/ and the problem is that the GPS/“Use my current location” doesn’t work on iOS/iPadOS.

Tapping it gives error message “Please allow location access” and doesn’t seem to request access to it.

Is this perhaps a privacy issue for embedded widgets?

Steps to reproduce the issue

On an iPad or iPhone

  1. Go to https://www.foodcyclela.org/find-food/
  2. “Use my current location” button appears grey (it’s normally blue), which is the color we use when location is unavailable because the browser has denied access to that info.
  3. Tap on “Use my current location” button

What's the expected result?

  • The iPhone/iPad should display a permission request to grant access to location to this website.

(Is this perhaps a Safari security issue to prevent embeds from spoofing a different website and collecting location data?)

If this is not solvable, please let me, the design team, and the product team (in that order) know so we can start figuring out alternatives. We may need to open a new window for people who want to use this button but are currently in a widget.

What's the actual result?

  • An error message appears “Please allow location access” as if the browser has already denied access.

Note that when I go to our main site la.foodoasis.net, the “Use my current location” works fine. It’s blue and then

Additional details / screenshot

IMG_3279

Device configuration

  • Device: iPhone and iPad
  • OS version: 18
  • Browser: Safari
@fancyham fancyham added Release Note: Bug Something isn't working (Shows on release notes under "Bug Fixes") Role: Front-end Front End Developer P-Feature: Embedded Widget Features related to embedding the app as widget labels Nov 28, 2024
@github-project-automation github-project-automation bot moved this to New Issue Approval in P: FOLA: Project Board Nov 28, 2024
@fancyham fancyham added this to the 06. Bug fixes milestone Nov 28, 2024
@fancyham fancyham added Priority - High Production requires hotfix Ready for dev lead Issue ready for dev lead to review labels Nov 28, 2024
@fancyham fancyham moved this from New Issue Approval to Prioritized Backlog in P: FOLA: Project Board Nov 28, 2024
@github-project-automation github-project-automation bot moved this from Prioritized Backlog to Done in P: FOLA: Project Board Nov 28, 2024
@fancyham fancyham reopened this Nov 28, 2024
@github-project-automation github-project-automation bot moved this from Done to In Progress in P: FOLA: Project Board Nov 28, 2024
@fancyham fancyham moved this from In Progress to Prioritized Backlog in P: FOLA: Project Board Nov 28, 2024
@fancyham fancyham closed this as completed Dec 4, 2024
@github-project-automation github-project-automation bot moved this from Prioritized Backlog to Done in P: FOLA: Project Board Dec 4, 2024
@fancyham fancyham reopened this Dec 4, 2024
@github-project-automation github-project-automation bot moved this from Done to In Progress in P: FOLA: Project Board Dec 4, 2024
@fancyham fancyham moved this from In Progress to Prioritized Backlog in P: FOLA: Project Board Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-Feature: Embedded Widget Features related to embedding the app as widget Priority - High Production requires hotfix Ready for dev lead Issue ready for dev lead to review Release Note: Bug Something isn't working (Shows on release notes under "Bug Fixes") Role: Front-end Front End Developer
Projects
Status: Prioritized Backlog
Development

No branches or pull requests

1 participant