Comments (8)
@bernardcraddock For desktop workflow one of my devs is working on a python script that setups a flutter workspace. It pulls all the parts for running on desktop. Hoping to published it to meta-flutter by next Wednesday.
from ivi-homescreen.
The engine for desktop (x86_64) is coming from Flutter archive.
from ivi-homescreen.
@jwinarske - perfect thank you - i'll wait for the script
from ivi-homescreen.
@jwinarske is the python script done if so where is it?
If not done are you able to provide me access to manually run your workflow?
I'm requesting for 2 reasons
- Review real time exactly what it's doing and how - which will be enough for me
- Will build ped workflow once i'm comfortable with process
from ivi-homescreen.
@bernardcraddock As of right now it's 93% feature complete. You're welcome to start using it.
https://github.com/meta-flutter/meta-flutter/tree/jw/custom-devices/tools
When this branch is gone, it means it's been merged into the kirkstone branch.
If you add your GitHub dev token to "github_token" in the flutter_workspace_config.json file, then the script will download/install flutter-auto, as well as install my meta-flutter AGL QEMU image (integration reference).
The process is run the python script from location where you want the Flutter Workspace.
Sample Usage
cd $HOME
mkdir test && cd test
git clone -b jw/custom-devices https://github.com/meta-flutter/meta-flutter
mkdir workspace && cd workspace
../meta-flutter/tools/setup_flutter_workspace.py --workspace-cfg ../meta-flutter/tools/flutter_workspace_config.json
Once this is complete from your development terminal run:
source $HOME/test/workspace/setup_env.sh
then navigate to your app folder, and run
flutter run
The last items I'm working out:
- custom-device working on anything other than master. Flutter stable needs fix from master to enable.
- Automate target debug image query of Flutter SDK version.
So running on Ubuntu (x86_64) debugging with flutter-auto is currently functioning. The caveat is that you need a functioning Vulkan stack on your desktop, which is intentional to prevent loading your host CPU.
If you have any input or feedback on the script please create an issue on meta-flutter so others can benefit from it.
from ivi-homescreen.
The intent is that an organization tailors the json config to their dev environment.
from ivi-homescreen.
So once you have your custom flutter_workspace_config.json
, you create the root workspace folder, and copy your flutter_workspace_config.json
in. Then run:
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/meta-flutter/meta-flutter/jw/custom-devices/tools/setup_flutter_workspace.py | python3
Once jw/custom-devices
is merged the link will be:
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/meta-flutter/meta-flutter/kirkstone/tools/setup_flutter_workspace.py | python3
from ivi-homescreen.
Script is ready to use and has been merged to kirkstone
.
mkdir workspace && cd workspace
https://raw.githubusercontent.com/meta-flutter/meta-flutter/kirkstone/tools/flutter_workspace_config.json
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/meta-flutter/meta-flutter/kirkstone/tools/setup_flutter_workspace.py | python3
Then open your working terminal and run
qemu_run
source "workspace folder"/setup_env.sh
cd "your app"
flutter run
Select AGL-Qemu to run on the emulator, or select flutter-auto to run on desktop.
The flutter-auto desktop build defaults to using the Vulkan backend.
from ivi-homescreen.
Related Issues (17)
- embedder API vulkan bug workaround HOT 5
- How do I run release version of flutter app with ivi-homescreen ? HOT 4
- [RDK] Due to m_Compositor not initialized resulting Segmentation fault HOT 7
- Dirty Region Management HOT 1
- Handle SystemChrome.setEnabledSystemUIMode
- Default Flutter VM log message to off
- Crash Handler support
- How to position homescreen in center or screen? HOT 1
- I can't find libflutter_engine.so HOT 1
- Command Line Option for Bundle Path does not autocomplete in bash HOT 5
- libliftoff is not a submodule HOT 2
- Why does ivi-homescreen the fixed flutter assets path(=`/usr/local/share/homescreen`)? HOT 1
- ivi-homescreen does not support keyboard repeat HOT 41
- Mouse pointer motion events sometimes violate debug assertion check for state.is_down HOT 1
- Multi-View Video Player HOT 4
- Fix code scanning alert - Unbounded write
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ivi-homescreen.