About flutter build

Hi all ,can someone guide me how you guys build and run flutter web app using webos studio vs code extension. I am finding complete documentation to run the build but can’t find at this moment (maybe i am new to lg webos). I use weos studio recommended options hosted web app because run at lg tv but it’s navigate to the lg developer page so i replace with the flutter index but didn’t works. So i use basic web app build and run still not working.I understand if i hosted my app at hosting service there will be no problem just navigate the url.But i still want to run locally.

It is up to you to package all dependencies of your app. Please contact Flutter support and discuss this with them. And in webOS TV apps, the path to each asset should be specified relative to the index.html file. For this, you can refer to App Resources and Luna Service sample app. Thank you.

1 Like

Hi,
In case if this till could help
When I tried something similar, the part that caught me off guard wasn’t the build itself but how strict webOS was about file paths a relative path that worked fine in a browser broke completely on the TV until I restructured the assets