Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
mobile_scanner
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Yaroslav
2023-06-19 15:47:35 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
dd827d5855925723c3f49395366efa50ca5c026d
dd827d58
1 parent
95265f46
Updated example and README with ZXing script src.
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
README.md
example/web/index.html
README.md
View file @
dd827d5
...
...
@@ -56,7 +56,7 @@ Ensure that you granted camera permission in XCode -> Signing & Capabilities:
## Web
This package uses ZXing on web to read barcodes so it needs to be included in
`index.html`
as script.
```
html
<script
src=
"https://unpkg.com/@zxing/library@0.19.1"
type=
"application/javascript"
/
>
<script
src=
"https://unpkg.com/@zxing/library@0.19.1"
type=
"application/javascript"
></script
>
```
## Usage
...
...
example/web/index.html
View file @
dd827d5
...
...
@@ -30,6 +30,8 @@
<link
rel=
"manifest"
href=
"manifest.json"
>
</head>
<body>
<script
src=
"https://unpkg.com/@zxing/library@0.19.1"
type=
"application/javascript"
></script>
<!-- This script installs service_worker.js to provide PWA functionality to
application. For more information, see:
https://developers.google.com/web/fundamentals/primers/service-workers -->
...
...
Please
register
or
login
to post a comment