Skip to content

Commit 2d4d5bb

Browse files
authored
docs(README): instructions for mobile testing
See #38 #88
1 parent 10ee666 commit 2d4d5bb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ This component fundamentally depends on the [Stream API](https://caniuse.com/#fe
8484
|:--:|:---:|:---:|:---:|:---:|
8585
| No | Yes | Yes | Yes | 11+ |
8686

87-
* Chrome requires [HTTPS or localhost](https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-powerful-features-on-insecure-origins) (see [#38](../../issues/38) for help)
87+
* Chrome requires [HTTPS or localhost](https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-powerful-features-on-insecure-origins) (see _Troubleshooting_ for help)
8888
* Safari also requires HTTPS **even** on localhost (see [#48](../../issues/48))
8989
* on iOS it **only** works with Safari
9090
* *Chrome for iOS*, *Firefox for iOS* and so on are not supported (see [#29](../../issues/29))
@@ -106,6 +106,9 @@ The newest API these components depend on is the [FileReader API](https://canius
106106
* Check if it works on the demo page. Especially the [Decode All](https://gruhn.github.io/vue-qrcode-reader/demos/DecodeAll.html) demo, since it renders error messages. If you see errors, consult the docs to understand their meaning.
107107
* Demo works but not locally: Listen for the `init` event to investigate errors.
108108
* Demo doesn't work: Carefully review the Browser Support section above. Maybe your device is just not supported.
109+
* I can't test my app on my mobile device since I'm running a dev server on localhost but it's not served with HTTPS.
110+
* If your setup is Desktop Chrome + Android Chrome, use [Remote Debugging](https://developers.google.com/web/tools/chrome-devtools/remote-debugging/) which allows your Android device to [access your local server as localhost](https://developers.google.com/web/tools/chrome-devtools/remote-debugging/local-server).
111+
* Otherwise use a reverse proxy like [ngrok](https://ngrok.com/) to temporatily make your local server publicly available with HTTPS.
109112

110113
# Installation
111114

0 commit comments

Comments
 (0)