Browse Source

Merge pull request #484 from gemunet/issue-388

fix #388: avoid throwing unnecessary exception in IOs
flutter-beta
Julian Steenbakker 4 years ago
committed by GitHub
parent
commit
b96c95f7fb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      ios/Classes/QRView.swift

+ 0
- 3
ios/Classes/QRView.swift View File

@@ -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)
}
})
}


Loading…
Cancel
Save