From 398925fb89b04748e3f62db9214849ddd48e5d8e Mon Sep 17 00:00:00 2001 From: akwizgran <michael@briarproject.org> Date: Tue, 30 May 2023 21:33:18 +0100 Subject: [PATCH] Update README for AAB packaging issue. --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 086cd05..2df3c49 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,20 @@ Binaries for Tor and pluggable transports are not included. They can be found in Maven artifacts: `org.briarproject:{tor,obfs4proxy,snowflake}-{android,linux,windows}`. The `obfs4proxy` artifact provides `obfs4` and `meek_lite`. +If your app is uploaded to Google Play as an app bundle (AAB), you must include the following in + `build.gradle` to ensure that the Tor and pluggable transport binaries are extracted during + installation: + +``` +android { + packagingOptions { + jniLibs { + useLegacyPackaging = true + } + } +} +``` + On Android, the library uses [dont-kill-me-lib](https://code.briarproject.org/briar/dont-kill-me-lib) to hold a wake lock whenever Tor's network connection is enabled. The helper classes in `dont-kill-me-lib` can be used -- GitLab