How can I debug a Flutter Web App on Safari using the inspector?
3,436
debug for safari is not supported yet
but for anyone with the same problem you could solve it by running the app on release mode
flutter run -d chrome --release
after that open with the same port on safari and everything should be fine
Author by
baselsader
Updated on December 24, 2022Comments
-
baselsader over 1 year
I am using flutter to write a simple app, everything works fine on Android, iOS, and Chrome. (I've also tested on Firefox & Brave Browser, all's well).
However, on Safari (Mac & iOS), the flutter app gets stuck on the index.html file and does not load the PWA.
The error from the console on Safari Inspect
How can I know what the anonymous function in js_helper is, or what main.dart.js:57063 refers to?
- Is there any way of building for web without minifying?
- Has anybody encountered a scenario where everything works on all platforms except Safari?