-
-
Notifications
You must be signed in to change notification settings - Fork 22
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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 - data path to vcard #289
Comments
Hello @extensionteamhq. A couple of things:
Data is encoded as is, and I believe that is how it should be with any QR.
Can you provide a reproduction for this? Here is a REPL using |
Hi @vnphanquang, thanks for the quick reply. It's not encoding the contents of the file The examples I've seen are using a URL (e.g., I would, however, like to encode the contents of the file at
I hope that examples my scenario better. |
Hello @extensionteamhq, thanks for the clarification. Just so we are on the same page, you want to encode the content of your As I've mentioned, whatever passed to the
I've put together an example here showing both of the methods above. Please take a look and let me know if that's what you are looking for. Important The content of your |
Hi @vnphanquang, Thanks again for the quick reply. What you provided was very helpful and informative. Also, thank you for building out the two examples; they helped me understand what was being said. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
It appears that the qr data to encode will not work with a relative path /vcard.vcf and it also doesn't seem to recognize when it is a file to be downloaded.
If I use the relative path
/vcard.vcf
the result is search "/vcard.vcf".If I use a full path,
https://example.com/vcard.vcf,
the result is a link to https://example.com/.The text was updated successfully, but these errors were encountered: