tweet_ui icon indicating copy to clipboard operation
tweet_ui copied to clipboard

Enable more platforms

Open kawa89 opened this issue 3 years ago • 2 comments

  1. Check what is blocking the support
  2. Remove blocking packages and add support for new ones.
  3. Try to enable support for:
    • [ ] Web
    • [ ] Mac
    • [ ] Windows

kawa89 avatar Jan 21 '22 08:01 kawa89

When it comes to blocking packages I can see 2.

cached_network_image

This one is tricky. On pub.dev it says that package supports android, ios and mac. It is also written that it has minimal support for web. I don't see any info about Linux or Windows. When I was searching Issues I found this - https://github.com/Baseflow/flutter_cached_network_image/issues/707 - it says that Windows should actually be supported. Also according to this https://github.com/Baseflow/flutter_cached_network_image/issues/661 - it should also be supported on Linux.

So it turns out this package is supported on all the platforms but because of some problems described in https://github.com/Baseflow/flutter_cached_network_image/issues/661 it is not marked like this in pub.dev. So potential problem might be that our package would also not mark proper platforms as supported.

better_player

So this package is only supported on Android and iOS.

Web

One of the solution would be to replace better_player with video_player that has support for web (through federated package). The problem would remain with desktops.

I can see an open issue for adding support for Windows - https://github.com/flutter/flutter/issues/37673

Desktop

One option would be to use dart_vlc package. It supports iOS, Linux, MacOS and Windows. We could also do something like for one platform use video_player and for others dart_vlc plugin.

wszeborowskimateusz avatar Feb 17 '22 18:02 wszeborowskimateusz

would love windows support. it's helpful to develop apps on windows even if that run later mostly on android. it speeds up development.

SergeBerwert avatar Oct 01 '22 11:10 SergeBerwert