wang-bin / fvp

Flutter video player plugin for all desktop+mobile platforms. download prebuilt examples from github actions. https://pub.dev/packages/fvp
BSD 3-Clause "New" or "Revised" License
126 stars 21 forks source link

Does this support arm? #103

Closed CaptainDario closed 51 minutes ago

CaptainDario commented 5 days ago

I am currently considering switching to this package for one of my applications. Before I do this, I would like to ask if this package supports Windows and Linux on arm?

wang-bin commented 5 days ago

I think so, all dependencies already support arm. But flutter does not support cross compile linux/windows arm target, and i have no arm environment to test.

CaptainDario commented 5 days ago

I am gonna try it out next week and gonna report if it works.

Thank you for your fast reply.

wang-bin commented 5 days ago

Where can I download flutter for arm linux/windows? I have arm macbook and virtual machine, maybe I can test in vm.

CaptainDario commented 5 days ago

I am also running my app in a vm on a MacBook m1.

You can download the sources for Flutter from GitHub and it then automatically detects the arm architecture and downloads the correct things. It's just that flutter doesn't provide binary downloads on their website.

wang-bin commented 5 days ago

Perfect, no need to change anything! btw, you have to use flutter master channel because 3.22 has a bug on linux

image
wang-bin commented 5 days ago

does flutter support windows arm64? I have parallels desktop to test

CaptainDario commented 5 days ago

Yes, flutter works on Windows arm. The setup is the same as on Linux.

wang-bin commented 5 days ago

On windows I have to install many tools and not convenience, you can try yourself

CaptainDario commented 5 days ago

Thank you, I am gonna try in the coming days and will report here.

wang-bin commented 6 hours ago

any progress?

CaptainDario commented 51 minutes ago

@wang-bin thank you for the reminder, I was really busy and forgot to check. I cloned the repo and ran the example on the master branch (commit v0.20.1) and it worked perfectly! Thanks for such an awesome package! Maybe you can add Linux and Windows on arm as supported to the README so everybody knows that this works!

wang-bin commented 17 minutes ago

good idea, thanks