You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library does not seem to be very recent anymore. At least without a very big, active community. Otherwise, I would have received an answer earlier. Please correct me if I am wrong.
And with some modifications to fit my device (especially concerning the endpoint-addressing), I have a working solution now that fully works also if running in release mode:
flutter run -d chrome --release
Please refer to my stackoverflow discussion. Maybe there are ideas or even solutions to address this library's issue in release mode.
However, I find your library better in a sense that it is much more complete with helper methods.
Is there a way to make it work for release mode ???
In debug mode, my Flutter Web Application successfully connects to my usbDevice.
My USB-device is an ESP32-S3.
And I am on Flutter version 3.24.4 • channel stable • https://github.com/flutter/flutter.git
(Dart 3.5.4 • DevTools 2.37.3)
I tried in Chrome, Edge and Safari Browsers.
I am able to successfully connect my USB-device with
usbDevice.requestDevices(...)
cmd inside the browser.However, if I run my Flutter Web Application in release mode, then the usbDevice connection-popup does not show up and an error occurs.
i.e. if I try to run my Flutter Web app with the following cmd (i.e. in release mode), then the usbDevice connection code crashes
flutter run -d chrome --release
Here is my call of the connect method inside Flutter Web:
And the following error message is shown:
What can I do to make my Flutter Web application run in release mode ??
The text was updated successfully, but these errors were encountered: