iOS crypto target
This commit is contained in:
@@ -138,6 +138,7 @@ import Flutter
|
||||
}
|
||||
|
||||
func sendResult(_ str: String) {
|
||||
print("result: \(str)")
|
||||
platformChannel?.invokeMethod("findUser", arguments: [str, buttonState.searchType], result: { (result: Any?) in
|
||||
if result is FlutterError {
|
||||
self.showErrorAlert(str)
|
||||
@@ -296,8 +297,6 @@ import Flutter
|
||||
location = "\(location) (\(transformedPoint.x), \(transformedPoint.y))"
|
||||
points.append(windowPointValue)
|
||||
}
|
||||
// We got a result. Display information about the result onscreen.
|
||||
let formatString: String = barcodeFormat(toString: result.barcodeFormat)
|
||||
sendResult(result.text)
|
||||
print(result.text)
|
||||
self.capture.stop()
|
||||
|
||||
Reference in New Issue
Block a user