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

LVN QR Code generator for LVN apps #202

Open
bcardarella opened this issue Sep 10, 2024 · 1 comment
Open

LVN QR Code generator for LVN apps #202

bcardarella opened this issue Sep 10, 2024 · 1 comment

Comments

@bcardarella
Copy link
Contributor

Proposal:

LiveViewNative.qr_code(url)

This will return a SVG of a LVN qr code which app developers can use in their own applicaiton development process.

@bcardarella
Copy link
Contributor Author

Code spike from @carson-katri https://gist.github.com/carson-katri/ad5c7e4dadbd2af97516b3d7c9bf369f

We'll want to support outputting to command line but also include a function component to inject into a web app

For the mix tasks we'll want:

> mix lvn.go swiftui`

which would call: mix lvn.swiftui.go and that task should be defined in the SwiftUI client an this would call back into the QR generator in Mix.Tasks.Lvn.Go or it would simply define the URL that the generator uses.

For the function component we define <.lvn_go_qr_code format="swiftui" />

Although it would be better if we could just generate a single URL that would then re-route to the correct app store page based upont he device that is being used.

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

No branches or pull requests

1 participant