r/FlutterDev • • Apr 14 '21

Example Flutter on AppleTV demo

https://github.com/LibertyGlobal/flutter-tvos-demo
121 Upvotes

10 comments sorted by

2

u/gedw999 Apr 15 '21

Nice

Are you planning to merge for forks back to upstream ?

2

u/lesnitsky_a Apr 15 '21

short answer is yes

long answer: it's not that easy ;) If you read the readme you've noticed how "hacky" the solution at the moment is. Introducing apple tv as a real platform will require a lot of changes in a lot of places (engine, framework etc.)...

1

u/gedw99 Apr 15 '21

github.com/lesnit...

Maybe just post the link onto the FLutter main issues and so they know its there..

1

u/lesnitsky_a Apr 15 '21

https://github.com/flutter/flutter/issues/47928

not sure if it's worth filing a new issue

2

u/gedw99 Apr 15 '21

cant hurt

1

u/Bamboo_the_plant Apr 15 '21

Very cool! Big challenges to handle spatial navigation and user interaction. I found this was a bit of a show-stopper on React Native due to its architecture. Are those problems able to be solved smoothly on Flutter?

2

u/lesnitsky_a Apr 15 '21

Out of the box focus management is not perfect, but everything could be customized. Important thing is that API is rich and extensible enough

0

u/[deleted] Apr 15 '21

[deleted]

1

u/lesnitsky_a Apr 15 '21

I believe you should be still capable of handling edge cases via FocusManager and FocusNodes