Showing
1 changed file
with
9 additions
and
5 deletions
| @@ -11,11 +11,12 @@ A universal barcode and QR code scanner for Flutter based on MLKit. Uses CameraX | @@ -11,11 +11,12 @@ A universal barcode and QR code scanner for Flutter based on MLKit. Uses CameraX | ||
| 11 | | :-----: | :-: | :---: | :-: | :---: | :-----: | | 11 | | :-----: | :-: | :---: | :-: | :---: | :-----: | |
| 12 | | ✔️ | ✔️ | ✔️ | | | | | 12 | | ✔️ | ✔️ | ✔️ | | | | |
| 13 | 13 | ||
| 14 | -Android: SDK 21 and newer. Reason: CameraX requires at least SDK 21. | ||
| 15 | -iOS: iOS 11 and newer. Reason: MLKit for iOS requires at least iOS 11 and a [64bit device](https://developers.google.com/ml-kit/migration/ios). | ||
| 16 | -macOS: macOS 10.13. Reason: Apple Vision library. | 14 | +### Android |
| 15 | +SDK 21 and newer. Reason: CameraX requires at least SDK 21. | ||
| 17 | 16 | ||
| 18 | ### iOS | 17 | ### iOS |
| 18 | +iOS 11 and newer. Reason: MLKit for iOS requires at least iOS 11 and a [64bit device](https://developers.google.com/ml-kit/migration/ios). | ||
| 19 | + | ||
| 19 | Add the following keys to your Info.plist file, located in <project root>/ios/Runner/Info.plist: | 20 | Add the following keys to your Info.plist file, located in <project root>/ios/Runner/Info.plist: |
| 20 | 21 | ||
| 21 | NSCameraUsageDescription - describe why your app needs access to the camera. This is called Privacy - Camera Usage Description in the visual editor. | 22 | NSCameraUsageDescription - describe why your app needs access to the camera. This is called Privacy - Camera Usage Description in the visual editor. |
| @@ -23,13 +24,16 @@ NSCameraUsageDescription - describe why your app needs access to the camera. Thi | @@ -23,13 +24,16 @@ NSCameraUsageDescription - describe why your app needs access to the camera. Thi | ||
| 23 | If you want to use the local gallery feature from [image_picker](https://pub.dev/packages/image_picker) | 24 | If you want to use the local gallery feature from [image_picker](https://pub.dev/packages/image_picker) |
| 24 | NSPhotoLibraryUsageDescription - describe why your app needs permission for the photo library. This is called Privacy - Photo Library Usage Description in the visual editor. | 25 | NSPhotoLibraryUsageDescription - describe why your app needs permission for the photo library. This is called Privacy - Photo Library Usage Description in the visual editor. |
| 25 | 26 | ||
| 26 | -## Feature Support | 27 | +### macOS |
| 28 | +macOS 10.13 or newer. Reason: Apple Vision library. | ||
| 29 | + | ||
| 30 | +## Features Supported | ||
| 27 | 31 | ||
| 28 | | Features | Android | iOS | macOS | Web | | 32 | | Features | Android | iOS | macOS | Web | |
| 29 | |------------------------|--------------------|--------------------|-------|-----| | 33 | |------------------------|--------------------|--------------------|-------|-----| |
| 30 | | analyzeImage (Gallery) | :heavy_check_mark: | :heavy_check_mark: | :x: | :x: | | 34 | | analyzeImage (Gallery) | :heavy_check_mark: | :heavy_check_mark: | :x: | :x: | |
| 31 | 35 | ||
| 32 | -# Usage | 36 | +## Usage |
| 33 | 37 | ||
| 34 | Import `package:mobile_scanner/mobile_scanner.dart`, and use the widget with or without the controller. | 38 | Import `package:mobile_scanner/mobile_scanner.dart`, and use the widget with or without the controller. |
| 35 | 39 |
-
Please register or login to post a comment