flutter-rust-ffi icon indicating copy to clipboard operation
flutter-rust-ffi copied to clipboard

Hope add Web & Windows & MacOS support

Open yiv opened this issue 3 years ago • 5 comments

yiv avatar Dec 18 '20 07:12 yiv

I have no time to start doing the research at the time and also, windows and Linux still have experimental support.

I have a few hints on articles about desktop support like https://medium.com/flutter-community/build-and-deploy-native-c-libraries-with-flutter-cc7531d590b5

brickpop avatar Dec 24 '20 10:12 brickpop

I have no time to start doing the research at the time and also, windows and Linux still have experimental support.

I have a few hints on articles about desktop support like https://medium.com/flutter-community/build-and-deploy-native-c-libraries-with-flutter-cc7531d590b5

Thanks very mush for your reply

yiv avatar Dec 24 '20 17:12 yiv

@yiv have found the solution for windows?

pratikpparikh avatar Jan 08 '21 10:01 pratikpparikh

The solution to easily support desktop, web and mobile is to use a proto as an abstraction like is shown here with golang being exposed over FFI

https://github.com/jerson/openpgp-mobile

https://github.com/jerson/flutter-openpgp

The abstraction allows using the golang with react also.

gedw99 avatar Mar 30 '21 00:03 gedw99

Look at https://github.com/brickpop/flutter-rust-ffi/pull/27 This is quick and dirty version and definitely need more work

olegnet avatar Sep 25 '21 09:09 olegnet