flet debug: the new CLI for testing Flet apps on mobile devices
Flet provides "Flet" app, for both iOS and Android, to "experience" your app on a real device. While using Flet app your Python app is still running on your computer and UI changes are streamed to a mobile device. While this approach is fast and convenient it has limitations: the app is able to only use sensors,libraries and permissions coming with Flet app and you can't know whether the app and all its dependencies are going to work when packaged and executed by a Python mobile runtime.
In the latest Flet v1 pre-release we have introduced three new Flet CLI commands to package and run Flet app on a real device or emulator:
flet debug- to run Flet app on a device or emulator.flet devices- to list connected devices.flet emulators- to list iOS/Android emulators and manage Android emulators.