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

QR codes generated on-the-fly in popups #83

Open
1 task done
hhkaos opened this issue Oct 17, 2023 · 0 comments
Open
1 task done

QR codes generated on-the-fly in popups #83

hhkaos opened this issue Oct 17, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@hhkaos
Copy link
Member

hhkaos commented Oct 17, 2023

Check existing issues

Execution profile

Popup

Is your feature request related to a problem? Please describe.

I would like to generate a QR code on-the-fly to allow users of my app to easily switch context from a desktop environment to a mobile one, for example to:

  • Collect data from the device sensors (camera, GPS coordinates, etc.)
  • Share information with contacts in their phone (through WhatsApp or any other social app)
  • Or to start a navigation app

Describe the solution you'd like

I would like to be able to add a QR code in the popup link any of this things:

Example of QR code to be embedded in the popup to get directions to the Esri Campus in Redlands: https://chart.googleapis.com/chart?cht=qr&chs=250x250&chl=https%3A%2F%2Fwww.google.com%2Fmaps%2Fdir%2F%3Fapi%3D1%26destination%3D34.05725151285307%2C-117.19491463090748
Get directions to Esri Campus

Describe alternatives you've considered

I have considered to display URLs, with URL shorteners, but it's more complicated. For Survey123 to find a programmatic way to extract the generated QR code.

Additional context

I have found a script that uses Google Charts API to do that.

P.S: There are other free services to generate bar codes (might be worth to include as a related resource)

@hhkaos hhkaos added enhancement New feature or request help wanted Extra attention is needed labels Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant