e0b4551bca
Enable the per-app locale picking menu by adding the right metadata automatically to the manifest with new AGP automation. This attempts to follow: https://developer.android.com/guide/topics/resources/app-languages#use-localeconfig Using the new AGP feature: https://developer.android.com/studio/preview/features#automatic-per-app-languages It appears to work, and it also should squelch the "W AppCompatDelegate: Checking for metadata for AppLocalesMetadataHolderService : " warnings on old Android that syphyr pointed out. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> |
||
---|---|---|
.idea | ||
gradle | ||
tunnel | ||
ui | ||
.gitignore | ||
.gitmodules | ||
build.gradle.kts | ||
COPYING | ||
gradle.properties | ||
gradlew | ||
README.md | ||
settings.gradle.kts | ||
sync-crowdin.sh |
Android GUI for WireGuard
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_17
targetCompatibility JavaVersion.VERSION_17
coreLibraryDesugaringEnabled = true
}
dependencies {
coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:2.0.3"
}
Translating
Please help us translate the app into several languages on our translation platform.