shirsh94 / flutter_doc_scanner

MIT License
5 stars 6 forks source link

i can't read or access for files generated, #6

Closed abd1997-coder closed 4 months ago

abd1997-coder commented 4 months ago

please can you describe how we can do that

shirsh94 commented 4 months ago

I have already resolved the permission handling issue in the flutter_doc_scanner: ^0.0.7 version. Regarding how to use this plugin, please read the readme file and set up the Android and iOS configurations properly. After doing this, you can fetch scanned documents using the following code:

import 'package:flutter_doc_scanner/flutter_doc_scanner.dart';

// Use the `FlutterDocScanner` class to start the document scanning process.
dynamic scannedDocuments;
try {
  scannedDocuments = await FlutterDocScanner().getScanDocuments() ??
      'Unknown platform documents';
} on PlatformException {
  scannedDocuments = 'Failed to get scanned documents.';
}
print(scannedDocuments.toString());
abd1997-coder commented 4 months ago

thanks' you can close this issue