Showing
1 changed file
with
6 additions
and
0 deletions
| @@ -6,6 +6,12 @@ | @@ -6,6 +6,12 @@ | ||
| 6 | // | 6 | // |
| 7 | import Foundation | 7 | import Foundation |
| 8 | 8 | ||
| 9 | +// TODO: decide if we should keep or discard this enum | ||
| 10 | +// When merging the iOS / MacOS implementations we should either keep the enum or remove it | ||
| 11 | + | ||
| 12 | +// This enum is a bit of a leftover from older parts of the iOS implementation. | ||
| 13 | +// It is used by the handler that throws these error codes, | ||
| 14 | +// while the plugin class intercepts these and converts them to `FlutterError()`s. | ||
| 9 | enum MobileScannerError: Error { | 15 | enum MobileScannerError: Error { |
| 10 | case noCamera | 16 | case noCamera |
| 11 | case alreadyStarted | 17 | case alreadyStarted |
-
Please register or login to post a comment