Showing
2 changed files
with
3 additions
and
1 deletions
| @@ -56,7 +56,7 @@ Ensure that you granted camera permission in XCode -> Signing & Capabilities: | @@ -56,7 +56,7 @@ Ensure that you granted camera permission in XCode -> Signing & Capabilities: | ||
| 56 | ## Web | 56 | ## Web |
| 57 | This package uses ZXing on web to read barcodes so it needs to be included in `index.html` as script. | 57 | This package uses ZXing on web to read barcodes so it needs to be included in `index.html` as script. |
| 58 | ```html | 58 | ```html |
| 59 | -<script src="https://unpkg.com/@zxing/library@0.19.1" type="application/javascript"/> | 59 | +<script src="https://unpkg.com/@zxing/library@0.19.1" type="application/javascript"></script> |
| 60 | ``` | 60 | ``` |
| 61 | 61 | ||
| 62 | ## Usage | 62 | ## Usage |
| @@ -30,6 +30,8 @@ | @@ -30,6 +30,8 @@ | ||
| 30 | <link rel="manifest" href="manifest.json"> | 30 | <link rel="manifest" href="manifest.json"> |
| 31 | </head> | 31 | </head> |
| 32 | <body> | 32 | <body> |
| 33 | + <script src="https://unpkg.com/@zxing/library@0.19.1" type="application/javascript"></script> | ||
| 34 | + | ||
| 33 | <!-- This script installs service_worker.js to provide PWA functionality to | 35 | <!-- This script installs service_worker.js to provide PWA functionality to |
| 34 | application. For more information, see: | 36 | application. For more information, see: |
| 35 | https://developers.google.com/web/fundamentals/primers/service-workers --> | 37 | https://developers.google.com/web/fundamentals/primers/service-workers --> |
-
Please register or login to post a comment