You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"mobile_scanner","path":"/Users/arvindsangwan/.pub-cache/hosted/pub.dartlang.org/mobile_scanner-2.0.0/","native_build":true,"dependencies":[]}],"android":[{"name":"mobile_scanner","path":"/Users/arvindsangwan/.pub-cache/hosted/pub.dartlang.org/mobile_scanner-2.0.0/","native_build":true,"dependencies":[]}],"macos":[{"name":"mobile_scanner","path":"/Users/arvindsangwan/.pub-cache/hosted/pub.dartlang.org/mobile_scanner-2.0.0/","native_build":true,"dependencies":[]}],"linux":[],"windows":[],"web":[{"name":"mobile_scanner","path":"/Users/arvindsangwan/.pub-cache/hosted/pub.dartlang.org/mobile_scanner-2.0.0/","dependencies":[]}]},"dependencyGraph":[{"name":"mobile_scanner","dependencies":[]}],"date_created":"2022-11-15 21:44:22.534748","version":"3.3.8"}
1
+
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"mobile_scanner","path":"/Users/arvindsangwan/.pub-cache/hosted/pub.dev/mobile_scanner-3.0.0/","native_build":true,"dependencies":[]}],"android":[{"name":"mobile_scanner","path":"/Users/arvindsangwan/.pub-cache/hosted/pub.dev/mobile_scanner-3.0.0/","native_build":true,"dependencies":[]}],"macos":[{"name":"mobile_scanner","path":"/Users/arvindsangwan/.pub-cache/hosted/pub.dev/mobile_scanner-3.0.0/","native_build":true,"dependencies":[]}],"linux":[],"windows":[],"web":[{"name":"mobile_scanner","path":"/Users/arvindsangwan/.pub-cache/hosted/pub.dev/mobile_scanner-3.0.0/","dependencies":[]}]},"dependencyGraph":[{"name":"mobile_scanner","dependencies":[]}],"date_created":"2023-02-22 05:46:22.918759","version":"3.7.1"}
A universal AI barcode and QR code scanner for Flutter based on MLKit. Uses CameraX on Android, AVFoundation on iOS and Apple Vision & AVFoundation on macOS.
5
+
AI barcode and QR code scanner for Flutter based on MLKit. Uses CameraX on Android, AVFoundation on iOS and Apple Vision & AVFoundation on macOS based on [mobile_scanner](https://pub.dev/packages/mobile_scanner).
6
+
7
+
## Platform Support
8
+
9
+
| Android | iOS | macOS | Web | Linux | Windows |
10
+
| ------- | --- | ----- | --- | ----- | ------- |
11
+
| ✔ | ✔ | ✔ | ✔ |:x:|:x:|
6
12
7
13
<table>
8
14
<tr>
@@ -15,14 +21,14 @@ A universal AI barcode and QR code scanner for Flutter based on MLKit. Uses Came
15
21
</tr>
16
22
</table>
17
23
18
-
### Note:
24
+
### Note:
25
+
19
26
_This plugin is based on the [mobile_scanner](https://pub.dev/packages/mobile_scanner) plugin by [steenbakker.dev](https://pub.dev/publishers/steenbakker.dev/packages)._
20
27
21
28
_I recommend you to read the [mobile_scanner](https://pub.dev/packages/mobile_scanner) plugin's documentation._
22
29
23
-
24
-
25
30
### Android
31
+
26
32
SDK 21 and newer. Reason: CameraX requires at least SDK 21.
27
33
Also, make sure you upgrade kotlin to the latest version in your project.
28
34
@@ -33,6 +39,7 @@ To use this version you must alter the ai_barcode_scanner gradle file to replace
33
39
[You can read more about the difference between the two versions here.](https://developers.google.com/ml-kit/vision/barcode-scanning/android)
34
40
35
41
### iOS
42
+
36
43
iOS 11 and newer. Reason: MLKit for iOS requires at least iOS 10 and a [64bit device](https://developers.google.com/ml-kit/migration/ios).
37
44
38
45
**Add the following keys to your Info.plist file, located in <projectroot>/ios/Runner/Info.plist:**
@@ -44,9 +51,11 @@ NSCameraUsageDescription - describe why your app needs access to the camera. Thi
44
51
NSPhotoLibraryUsageDescription - describe why your app needs permission for the photo library. This is called Privacy - Photo Library Usage Description in the visual editor.
45
52
46
53
### macOS
54
+
47
55
macOS 10.13 or newer. Reason: Apple Vision library.
48
56
49
57
### Web
58
+
50
59
Add this to `web/index.html`:
51
60
52
61
```html
@@ -63,7 +72,7 @@ Import `package:ai_barcode_scanner/ai_barcode_scanner.dart`, and use the widget
63
72
If you don't provide a controller, you can't control functions like the torch(flash) or switching camera.
64
73
65
74
If you don't set allowDuplicates to false, you can get multiple scans in a very short time, causing things like pop() to fire lots of times.
"description": "This is the top level pod for ML Kit for vision based features on iOS. ML Kit is a mobile SDK that brings Google's machine learning expertise to mobile devices in a powerful yet easy-to-use package.",
0 commit comments