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
197 stars 31 forks source link

Does this support arm? #103

Closed CaptainDario closed 4 months ago

CaptainDario commented 4 months 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 4 months 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 4 months ago

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

Thank you for your fast reply.

wang-bin commented 4 months 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 4 months 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 4 months 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 4 months ago

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

CaptainDario commented 4 months ago

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

wang-bin commented 4 months ago

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

CaptainDario commented 4 months ago

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

wang-bin commented 4 months ago

any progress?

CaptainDario commented 4 months 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 4 months ago

good idea, thanks