Foundation-Devices / tor

Tor plugin for Flutter
https://pub.dev/packages/tor
GNU General Public License v3.0
15 stars 6 forks source link

Format Arti example as Flutter plugin with Linux desktop example #7

Closed sneurlax closed 9 months ago

sneurlax commented 10 months ago

This builds upon #5. This flutter-plugin branch is branched off of your arti branch. I used flutter create --template=plugin_ffi --platforms=android,ios,linux,macos,windows tor and manually copied lib/tor.dart, example/lib/main.dart, etc back over the FFI Plugin template. This is much much cleaner than my past PR, use this instead. The example works similarly

I did add an example SocksSocket class which demonstrates non-SSL use, but I have to add SSL socket support now.

We will also be working on Android, iOS, Mac, and Windows platform support, but that may be on top of https://github.com/cypherstack/flutter_libarti