Kaynağa Gözat
Merge pull request #484 from gemunet/issue-388
fix #388: avoid throwing unnecessary exception in IOs
flutter-beta
Julian Steenbakker
4 yıl önce
committed by
GitHub
ebeveyn
işleme
b96c95f7fb
Veri tabanında bu imza için bilinen anahtar bulunamadı
GPG Anahtar Kimliği: 4AEE18F83AFDEB23
1 değiştirilmiş dosya ile
0 ekleme ve
3 silme
-
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) |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
|