Skip to content

Commit b96c95f

Browse files
Merge pull request #484 from gemunet/issue-388
fix #388: avoid throwing unnecessary exception in IOs
2 parents c1d5f82 + 09af715 commit b96c95f

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

ios/Classes/QRView.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,6 @@ public class QRView:NSObject,FlutterPlatformView {
207207
let scanError = FlutterError(code: "unknown-error", message: "Unable to start scanning", details: error)
208208
result(scanError)
209209
}
210-
} else {
211-
let error = FlutterError(code: "cameraPermission", message: "Permission denied to access the camera", details: nil)
212-
result(error)
213210
}
214211
})
215212
}

0 commit comments

Comments
 (0)