You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The proxy server works great and testing it shows that it did connect to shadowsocks server but now how do I go about passing it to tun? The .aar file has a limited set of functions. I guess I need to import network too? The following doesn't output to aar: gomobile bind -ldflags='-s -w' -target=android -androidapi=21 -o all.aar github.com/Jigsaw-Code/outline-sdk/network
with this error:
gobind\go_networkmain.go:35:24: cannot use (*proxynetwork_PacketResponseReceiver)(_param_respWriter_ref) (value of type *proxynetwork_PacketResponseReceiver) as network.PacketResponseReceiver value in assignment: *proxynetwork_PacketResponseReceiver does not implement network.PacketResponseReceiver (missing method WriteFrom)
How do I create tun and pass the proxy server to it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Followed the doc and ran the local server via the .aar file and x/mobileproxy on flutter android:
And in dart used the returned address for http:
The proxy server works great and testing it shows that it did connect to shadowsocks server but now how do I go about passing it to tun? The .aar file has a limited set of functions. I guess I need to import network too? The following doesn't output to aar:
gomobile bind -ldflags='-s -w' -target=android -androidapi=21 -o all.aar github.com/Jigsaw-Code/outline-sdk/network
with this error:
gobind\go_networkmain.go:35:24: cannot use (*proxynetwork_PacketResponseReceiver)(_param_respWriter_ref) (value of type *proxynetwork_PacketResponseReceiver) as network.PacketResponseReceiver value in assignment: *proxynetwork_PacketResponseReceiver does not implement network.PacketResponseReceiver (missing method WriteFrom)
How do I create tun and pass the proxy server to it?
Beta Was this translation helpful? Give feedback.
All reactions