A tiny wrapper around Tor Project's Moat Circumvention Settings API
Add this to your build.gradle file:
implementation 'org.briarproject:moat-api:0.2'
You also need to add OkHttp as a dependency. The current stable version of OkHttp (4.10) is compatible with Android 5 (API 21) or later:
implementation 'com.squareup.okhttp3:okhttp:4.10.0'
If you need to support Android 4, you can use an obsolete version of OkHttp (3.12) instead:
implementation 'com.squareup.okhttp3:okhttp:3.12.13'
On Android versions earlier than 7.1 (API 25), you may need to use Conscrypt for TLS connections to Fastly:
implementation 'org.conscrypt:conscrypt-android:2.5.2'
Finally, you must also provide a suitable obfs4proxy binary for your platform.