document_scanner_plus

Creator: coderz1093

Last updated:

0 purchases

document_scanner_plus Image
document_scanner_plus Images

Languages

Categories

Add to Cart

Description:

document scanner plus

document_scanner_plus #
A platform view plugin for Flutter apps that adds document scanning functionality on Android/IOS.
Warning #
Document Scanner customization options aren't working for now
Setup #
Handle camera access permission
IOS #
Add a boolean property to the app's Info.plist file with the key io.flutter.embedded_views_preview and the value true to enable embedded views preview.
<key>io.flutter.embedded_views_preview</key>
<true/>
copied to clipboard
Add a String property to the app's Info.plist file with the key NSCameraUsageDescription and the value as the description for why your app needs camera access.
<key>NSCameraUsageDescription</key>
<string>Camera Permission Description</string>
copied to clipboard
Android #
minSdkVersion should be at least 19
How to use ? #
first add as a dependency in pubspec.yaml
import:
import 'package:document_scanner_plus/document_scanner.dart';
copied to clipboard
then use it as a widget:
File scannedDocument;

DocumentScanner(
onDocumentScanned: (ScannedImage scannedImage) {
print("document : " + scannedImage.croppedImage);
scannedDocument = scannedImage.getScannedDocumentAsFile();
},

)
copied to clipboard
Credits #
This is a React Native package implemented on Flutter.
Reference to the React Native package : https://github.com/Michaelvilleneuve/react-native-document-scanner
Contributing #
Step 1 #

Fork this project's repo : https://github.com/SunnatilloShavkatov/flutter_document_scanner.git

Step 2 #

Create a new pull request.

License #
This project is licensed under the MIT License - see the LICENSE.md file for details

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.