소스 검색
Merge pull request #484 from gemunet/issue-388
fix #388: avoid throwing unnecessary exception in IOs
flutter-beta
Julian Steenbakker
4 년 전
committed by
GitHub
No known key found for this signature in database
GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일과
0개의 추가작업 그리고
3개의 파일을 삭제
-
ios/Classes/QRView.swift
|
|
|
@@ -207,9 +207,6 @@ public class QRView:NSObject,FlutterPlatformView { |
|
|
|
let scanError = FlutterError(code: "unknown-error", message: "Unable to start scanning", details: error) |
|
|
|
result(scanError) |
|
|
|
} |
|
|
|
} else { |
|
|
|
let error = FlutterError(code: "cameraPermission", message: "Permission denied to access the camera", details: nil) |
|
|
|
result(error) |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
|