Wachu985 / flutter_wireguard_vpn

A Flutter package that allows connection through a VPN using WireGuard.
https://pub.dev/packages/wireguard_vpn
BSD 3-Clause "New" or "Revised" License
20 stars 9 forks source link

IOS version? #5

Open hinetapora opened 11 months ago

hinetapora commented 11 months ago

Thanks for the great work - has anyone go the ios working?

[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: Instance of 'ConnectionException'

0 MethodChannelWireguardVpn.changeStateParams (package:wireguard_vpn/wireguard_vpn_method_channel.dart:24:7)

#1 _MyAppState._activateVpn (package:my_flutter_app/main.dart:82:9)
hinetapora commented 11 months ago

Lol there is no IOS version! :) Well not yet anyway. The android version runs just fine in emulator S23 API 34 but you must add a PSK to the peer config if you dont have it there already. wg pskgen will create a complaint key which you save to the server peer config and the main.dart e.g.: final String presharedKey = 'eiTPIpnRi8er333g275HxUG...4I5kwR52sUVF3zfuI=';

bugrevealingbme commented 11 months ago

sad

Wachu985 commented 11 months ago

Regarding the iOS version, the package does not currently have one, and I lack both the resources and the knowledge to develop it at this time. However, please remember that you are welcome to contribute to the package whenever you wish. Your help would be greatly appreciated.