Go to file
Jason A. Donenfeld e2f931b4cb ui: use .seconds instead of .toDuration
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-05 12:55:51 +02:00
.idea idea: squelch XML codestyle warning 2022-05-26 06:01:02 +05:30
gradle/wrapper gradle: update wrapper to 8.1.1 2023-04-24 11:22:21 +05:30
tunnel tunnel: export latest handshake stat 2023-04-24 18:06:57 +02:00
ui ui: use .seconds instead of .toDuration 2023-05-05 12:55:51 +02:00
.gitignore build: remove bespoke signing config properties 2023-04-06 17:16:29 +02:00
.gitmodules tools: clean unwanted ELF flags from binaries 2023-04-05 13:50:57 +02:00
build.gradle build: bump activity-ktx and fragment-ktx 2023-04-25 14:53:41 +02:00
COPYING global: move to Apache 2.0 2018-07-06 16:28:46 +02:00
gradle.properties gradle: trim experimental list 2023-04-27 13:51:25 +02:00
gradlew gradle: update wrapper to 8.1.1 2023-04-24 11:22:21 +05:30
README.md README: re-add desugaring block 2021-10-29 17:19:00 +02:00
settings.gradle build: bump AGP to 8.0.0 2023-04-27 14:21:47 +02:00
sync-crowdin.sh build: add crowdin syncer script and use it 2020-10-14 17:16:36 +02:00
version.gradle version: bump 2023-04-27 15:52:23 +02:00

Android GUI for WireGuard

Download from the Play Store

This is an Android GUI for WireGuard. It opportunistically uses the kernel implementation, and falls back to using the non-root userspace implementation.

Building

$ git clone --recurse-submodules https://git.zx2c4.com/wireguard-android
$ cd wireguard-android
$ ./gradlew assembleRelease

macOS users may need flock(1).

Embedding

The tunnel library is on Maven Central, alongside extensive class library documentation.

implementation 'com.wireguard.android:tunnel:$wireguardTunnelVersion'

The library makes use of Java 8 features, so be sure to support those in your gradle configuration with desugaring:

compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
    coreLibraryDesugaringEnabled = true
}
dependencies {
    coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:1.1.5"
}

Translating

Please help us translate the app into several languages on our translation platform.