ecp_sync_plugin
A new Flutter plugin.
Getting Started
Check how to install
Internet Connection Check
A flutter plugin for check internet connection is active of not.
Barcode Scanner
A flutter plugin for scanning 2D barcodes and QR codes.
Features
x
Scan 2D barcodesx
Scan QR codesx
Control the flash while scanningx
Permission handling
Getting Started
Android
For Android, you must do the following before you can use the plugin:
-
Add the camera permission to your AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <uses-permission android:name="android.permission.CAMERA" />
Now you can depend on the barcode_scan plugin in your pubspec.yaml file:
dependencies:
...
ecp_sync_plugin: ^3.7.7
Click "Packages get" in Android Studio or run flutter packages get
in your project folder.
iOS
To use on iOS, you must add the the camera usage description to your Info.plist
<key>NSCameraUsageDescription</key>
<string>This app requires access to the Camera.</string>
<key>NSMicrophoneUsageDescription</key>
<string>This app requires access to the micro phone</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>This app requires access to the photo library.</string>