Cordobo / angularx-qrcode

A fast and easy-to-use Angular QR Code Generator library with Ivy support
https://cordobo.github.io/angularx-qrcode/
MIT License
473 stars 126 forks source link

mark qrdata strict as text or url #32

Closed AngularTx closed 5 years ago

AngularTx commented 5 years ago

I have created an object which would have data = { "endpoint": https://abc/123?123=123;"abc":https://abc/123 } . I would show it as a string!

On android apps scanners - I see it shows as text only . On iphone - we see it is considered as a URL and opens in browser.

Cordobo commented 5 years ago

@AngularTx

I hope I get you right, did you try to wrap JSON.stringify() around your data? It should be treated as a string as expected.