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

QRCode can be amplified on an android phone。What to do about it? #64

Open
asd8855 opened this issue Aug 9, 2018 · 1 comment
Open

Comments

@asd8855
Copy link

asd8855 commented Aug 9, 2018

No description provided.

@asd8855
Copy link
Author

asd8855 commented Aug 10, 2018

I solved the problem。Modify the webView source property to source={{ html: "<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"><style>*{margin:0;padding:0;}canvas{transform:translateZ(0);}</style><script>var canvas = document.querySelector('canvas');(" + renderString + ").call(" + contextString + ", canvas);</script>" }}

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