Open bernaferrari opened 2 years ago
PlatformException(ALREADY_RUNNING, Start cannot be called when already running, , null)
I'm getting that weird exception when hot restarting (not hot reloading) an app using MLKit. With QRView it works fine. Re-running works.
MLKitScanner( onError: (context, error) => Text( error.toString(), style: const TextStyle(color: Colors.red), ), qrCodeCallback: (code) { debugPrint('Code ${code.displayValue}'); }, )
Flutter 2.3.0-24.1.pre • channel beta • https://github.com/flutter/flutter.git Framework • revision 615957513e (3 weeks ago) • 2021-06-25 09:24:44 -0700 Engine • revision 9d517f475b Tools • Dart 2.14.0 (build 2.14.0-188.5.beta
Testing in a Galaxy S9 with Android 10.
Same over here with a Samsung A31 running Android 10
Same issue on android Samsung c9 pro. (Android 8.0)
PlatformException(ALREADY_RUNNING, Start cannot be called when already running, , null)
I'm getting that weird exception when hot restarting (not hot reloading) an app using MLKit. With QRView it works fine. Re-running works.
Testing in a Galaxy S9 with Android 10.