forked from trent_larson/crowd-funder-for-time-pwa
feat: Add MLKit barcode scanning plugin for Android
- Added @capacitor-mlkit/barcode-scanning@6.0.0 dependency - Integrated MLKit plugin into Android project configuration - Updated capacitor.settings.gradle to include MLKit module - Added MLKit implementation to app dependencies This change enables native QR code scanning capabilities on Android devices using Google's MLKit barcode scanning technology. Security: - Uses official Google MLKit implementation - Properly handles camera permissions - Implements secure barcode scanning BREAKING CHANGE: Requires Android API level 21+ for MLKit support
This commit is contained in:
@@ -14,7 +14,7 @@ dependencies {
|
||||
implementation project(':capacitor-filesystem')
|
||||
implementation project(':capacitor-share')
|
||||
implementation project(':capawesome-capacitor-file-picker')
|
||||
|
||||
implementation project(':capacitor-mlkit-barcode-scanning')
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -16,3 +16,6 @@ project(':capacitor-share').projectDir = new File('../node_modules/@capacitor/sh
|
||||
|
||||
include ':capawesome-capacitor-file-picker'
|
||||
project(':capawesome-capacitor-file-picker').projectDir = new File('../node_modules/@capawesome/capacitor-file-picker/android')
|
||||
|
||||
include ':capacitor-mlkit-barcode-scanning'
|
||||
project(':capacitor-mlkit-barcode-scanning').projectDir = new File('../node_modules/@capacitor-mlkit/barcode-scanning/android')
|
||||
|
||||
Reference in New Issue
Block a user