Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
mobile_scanner
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Navaron Bracke
2023-10-31 11:11:17 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7d72a3158353a90894fd03e5c3815a2f97ebe01b
7d72a315
1 parent
b1ac9c71
remove obsolete catch block for iOS
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
ios/Classes/MobileScannerPlugin.swift
ios/Classes/MobileScannerPlugin.swift
View file @
7d72a31
...
...
@@ -136,10 +136,6 @@ public class MobileScannerPlugin: NSObject, FlutterPlugin {
result
(
FlutterError
(
code
:
"MobileScanner"
,
message
:
"No camera found or failed to open camera!"
,
details
:
nil
))
}
catch
MobileScannerError
.
torchError
(
let
error
)
{
result
(
FlutterError
(
code
:
"MobileScanner"
,
message
:
"Error occured when setting torch!"
,
details
:
error
))
}
catch
MobileScannerError
.
cameraError
(
let
error
)
{
result
(
FlutterError
(
code
:
"MobileScanner"
,
message
:
"Error occured when setting up camera!"
,
...
...
Please
register
or
login
to post a comment