diff --git a/packages/mobile_scanner/lib/src/method_channel/mobile_scanner_method_channel.dart b/packages/mobile_scanner/lib/src/method_channel/mobile_scanner_method_channel.dart index b6e102a..56230d7 100644 --- a/packages/mobile_scanner/lib/src/method_channel/mobile_scanner_method_channel.dart +++ b/packages/mobile_scanner/lib/src/method_channel/mobile_scanner_method_channel.dart @@ -73,7 +73,7 @@ class MethodChannelMobileScanner extends MobileScannerPlatform { if (defaultTargetPlatform == TargetPlatform.android || defaultTargetPlatform == TargetPlatform.iOS || - // defaultTargetPlatform == TargetPlatform.aurora) { + defaultTargetPlatform == TargetPlatform.aurora || defaultTargetPlatform == TargetPlatform.linux) { final double? width = event['width'] as double?; final double? height = event['height'] as double?;