scanflow_datacapture_barcode

Last updated:

0 purchases

scanflow_datacapture_barcode Image
scanflow_datacapture_barcode Images
Add to Cart

Description:

scanflow datacapture barcode

Scanflow for flutter #
scanflow_datacapture_barcode #
Getting Started #
A Flutter plugin provides a scanner widget
Support Android SDK 21+
Installation #
To use this plugin add scanflow_datacapture_barcode as dependency in your pub spec.yaml file.
Import in your project
import 'package:scanflow_datacapture_barcode/lib/barcode_capture.dart';
import 'package:scanflow_datacapture_barcode/lib/models/batch_scan_result.dart';
import 'package:scanflow_datacapture_barcode/lib/models/one_of_many_result.dart';
import 'package:scanflow_datacapture_barcode/lib/models/scan_result_success.dart';

copied to clipboard
Android Configuration #

Set the minSdkVersion and targetSdkVersion in android/app/build.gradle:
This means that app will only be available for users that run Android SDK 21 or higher.

defaultConfig {
....
minSdkVersion 21
targetSdkVersion 30
}
copied to clipboard

Ensure that FlutterEmbedding v2 have in manifest android/app/src/main/AndroidManifest.xml:

<meta-data
android:name="flutterEmbedding"
android:value="2" />
copied to clipboard
iOS Configuration #
#####Info.Plist
To acquire data on the current condition of the library, your application needs an Internet connection and Camera Permission for Scanflow AI Scanner. So confirm you have given app privacy camera usage description in your info.plist
Key : Privacy - Camera Usage Description
Value : $(PRODUCT_NAME) camera use
Key : Privacy - Location Always and When In Use Usage Description
Value : $(PRODUCT_NAME) location access
copied to clipboard
Usage #
BarcodeScanResultCallbackHandler callbackHandler =
BarcodeScanResultCallbackHandler()
copied to clipboard
// Register this widget as the callback
callbackHandler.registerCallback(this);
copied to clipboard
BarcodeCapture(
licenseKey: <licenseKey>,
scanType: <barcodeScanType>,
barcodeScanResultBackHandler: <callbackHandler>,
isBeepSound: <isBeepSound>,isVibrate: <isVibrate>,
flashLight: <flashLightValue>,
isAutoExposure: <autoExposure>, isAutoZoom: <autoZoom>,
isOneTouchZoom:<oneTouchZoomButtonVisiblity>,resolution: <cameraResolution>
)
copied to clipboard
####Generate License key :


You need a license key to utilize the Scanflow SDK in your application.


You must determine the applicationId of your Android app and bundleId for iOS app to generate a license key for your application.


An applicationId/bundleId is used to generate each license. If your applicationId/bundleId changes, a new license key must be generated. Please be aware that you cannot use your license key with other programmers.


Purchase a License Key


Create a free test account at https://console.scanflow.ai/ if you do not already have one if you want to use Scanflow.


Visit https://console.scanflow.ai/login to access your account.


Click "Create native SDK licensing key" and input the bundle ID for your project if you don't yet have a license key for your app.


The license key should be copied.


#####Learn more with the official documentation

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.