Flatpak support for Flutter
Build flutter-auto or ivi-homescreen with -DBUILD_PLUGIN_FLATPAK=ON.
-
Setup embedded flutter workspace using workspace-automation
-
Setup environment using
source ./setup_env.sh -
Navigate to project under the app folder
-
Launch VS Code using
code . -
Select
Run and Debug -
In the drop down combo box select
flatpak_flutter (Flutter Toyota homescreen).
-
clone ivi-homescreen repo
-
clone ivi-homescreen-plugins repo adjacent to ivi-homescreen repo/folder
-
Navigate to ivi-homescreen folder
clion .
- Configure CMake options with
-DBUILD_PLUGIN_FLATPAK=ON
-DPLUGINS_DIR=/home/tcna/CLionProjects/ivi-homescreen-plugins
- Configure
ivi-homescreentarget with workspace-automation generated bundle folder
-b /home/tcna/workspace-automation/app/flatpak_flutter/.desktop-homescreen
- Select
ivi-homescreentarget, and click debug