-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
- Proper management of /assets
- Handle situation when there're already assets defined in pubspec.yaml
- When building for a specific platform make sure to remove assets from other platforms to save room
- Investigate "Do you want the application “app.app” to accept incoming network connections?" request upon first launch, shouldn't be any - fixed, didn't use loopback address when requesting free port from OS
- Fix multi instance launch (currently next instance kills old server)
- Slow Python startup when launching Flutter app
- PyInstaller 8-9s, Nuitka 7-8s (M1 Pro)
- Consider use -onedir arg with PyInstaller and zip/unzip it via Flutter
- Awaiting error code on init, see if can be done faster
// Give couple of seconds to make sure there're no exceptions upon lanuching Python server await Future.delayed(const Duration(seconds: 2));
- Look into singing (App, Mac) and distribution flow for binaries
- Python has been loaded -> check for better probing, e.g. now when you start client it always says all is good
- Authentication flow
- Authentication in the web with JWT passed in server-side cookie via web proxy
- Tailor ./example launch.json for 3 platforms
- Plugin codegen and build actions into IDE events, e.g. see how to do more convenient update of .proto and Python parts without forgetting-to-run/running scripts manually
- server.py, add param to determine if
localhost(local only) or[::](inbouind remote connection) will be used (server.add_insecure_port('[::]:50051')) - When debugging the app may stop silently upon launching due to swallowed exceptions when probing Python
- VSCode Debug Pane, in the bottom left there's BREAKPOINTs section, disable expcetions
- Updte iOS
ios/Runner/Info.plistto allow gRPC networking - VScode debugging, sort out auto start of server
{ "name": "app (remote server, auto start)", "type": "dart", "request": "launch", "program": "app/lib/main.dart", "toolArgs": [ "--dart-define", "useRemote=true", ], "preLaunchTask": "start server", //"postDebugTask": "stop server" // this one kills Flutter UI when doing hot restart, better keep server running to keep host restart working }, - Add Dart alternatives to shell scripts and publish as package to pub.dev
Metadata
Metadata
Assignees
Labels
No labels