Committed by
GitHub
Merge pull request #292 from djangoflow/fix-web-error-reporting
fix: removed WidgetsFlutterBinding.ensureInitialized() for WEB plugin
Showing
1 changed file
with
0 additions
and
1 deletions
| @@ -24,7 +24,6 @@ class MobileScannerWebPlugin { | @@ -24,7 +24,6 @@ class MobileScannerWebPlugin { | ||
| 24 | registrar, | 24 | registrar, |
| 25 | ); | 25 | ); |
| 26 | final MobileScannerWebPlugin instance = MobileScannerWebPlugin(); | 26 | final MobileScannerWebPlugin instance = MobileScannerWebPlugin(); |
| 27 | - WidgetsFlutterBinding.ensureInitialized(); | ||
| 28 | 27 | ||
| 29 | channel.setMethodCallHandler(instance.handleMethodCall); | 28 | channel.setMethodCallHandler(instance.handleMethodCall); |
| 30 | event.setController(instance.controller); | 29 | event.setController(instance.controller); |
-
Please register or login to post a comment