Open
Description
I was wondering if android support can be added too, since android has don't allow direct access to tun device
and only allow to read and write from FD provided by Android VPNService
, in openconnect
project, this is done by
setup_tun_fd
were it only take File Descriptor ID
from caller
this will allow to use this project as a library in an Android application as well
Metadata
Metadata
Assignees
Labels
No labels
Activity
itviewer commentedon May 29, 2024
If you have enough time and patience, this is certainly possible. Please refer to the wireguard Android client, which is also based on the Go language and is used as a library for Java to call. It just needs some refactoring to be used as a library
shangjiyu commentedon Oct 12, 2024
I've made flutter app demo