dns-technologies / mlkit_scanner

A Flutter plugin to detect barcodes, text, faces, and objects using Google MLKit API for iOS and Android
Other
25 stars 17 forks source link

Can not build Gradle #9

Closed john-smith-rk closed 2 years ago

john-smith-rk commented 2 years ago

..../mlkit_scanner/analyzer/MlSingleBarcodeAnalyzer.kt: (90, 32): Smart cast to 'String' is impossible, because 'it.message' is a property that has open or custom getter

../mlkit_scanner-0.3.2/android/src/main/kotlin/com/dns_technologies/mlkit_scanner/CenterFocusView.kt: (134, 45): Type mismatch: inferred type is MotionEvent? but MotionEvent was expected

.../mlkit_scanner-0.3.2/android/src/main/kotlin/com/dns_technologies/mlkit_scanner/CenterFocusView.kt: (62, 13): 'onLongPress' overrides nothing

.../mlkit_scanner-0.3.2/android/src/main/kotlin/com/dns_technologies/mlkit_scanner/CenterFocusView.kt: (57, 13): 'onSingleTapUp' overrides nothing

When I build , I got above issues.