Showing
3 changed files
with
5 additions
and
3 deletions
| @@ -61,7 +61,7 @@ Ensure that you granted camera permission in XCode -> Signing & Capabilities: | @@ -61,7 +61,7 @@ Ensure that you granted camera permission in XCode -> Signing & Capabilities: | ||
| 61 | 61 | ||
| 62 | ## Web | 62 | ## Web |
| 63 | 63 | ||
| 64 | -As of version 4.0.0 adding the library to the `index.html` is no longer required, | 64 | +As of version 5.0.0 adding the library to the `index.html` is no longer required, |
| 65 | as the library is automatically loaded on first use. | 65 | as the library is automatically loaded on first use. |
| 66 | 66 | ||
| 67 | ### Providing a mirror for the barcode scanning library | 67 | ### Providing a mirror for the barcode scanning library |
| @@ -71,6 +71,7 @@ the source URL can be set beforehand. | @@ -71,6 +71,7 @@ the source URL can be set beforehand. | ||
| 71 | 71 | ||
| 72 | ```dart | 72 | ```dart |
| 73 | import 'package:flutter/foundation.dart'; | 73 | import 'package:flutter/foundation.dart'; |
| 74 | +import 'package:mobile_scanner/mobile_scanner.dart'; | ||
| 74 | 75 | ||
| 75 | final String scriptUrl = // ... | 76 | final String scriptUrl = // ... |
| 76 | 77 |
| 1 | name: mobile_scanner | 1 | name: mobile_scanner |
| 2 | description: A universal barcode and QR code scanner for Flutter based on MLKit. Uses CameraX on Android, AVFoundation on iOS and Apple Vision & AVFoundation on macOS. | 2 | description: A universal barcode and QR code scanner for Flutter based on MLKit. Uses CameraX on Android, AVFoundation on iOS and Apple Vision & AVFoundation on macOS. |
| 3 | -version: 4.0.1 | 3 | +version: 5.0.0-beta.1 |
| 4 | repository: https://github.com/juliansteenbakker/mobile_scanner | 4 | repository: https://github.com/juliansteenbakker/mobile_scanner |
| 5 | 5 | ||
| 6 | screenshots: | 6 | screenshots: |
-
Please register or login to post a comment