Skip to content

Repository files navigation

lib-tdlib-android

A Layer-0 mirror of the TGX-Android/tdlib prebuilt - the TDLib JNI native library (libtdjni.so + its OpenSSL libsslx.so/libcryptox.so) and the generated org.drinkless.tdlib Java API - packaged as a single Android AAR and published via JitPack.

It exists so consumers (e.g. capullo-source-telegram) resolve TDLib as one immutable coordinate instead of running setup_tdlib.sh + git-lfs on every build/CI/JitPack run. The .so are committed directly (each ABI < 50 MB), so there is no LFS dependency and builds are reproducible.

This repo builds nothing from source - it is a verbatim redistribution of the prebuilt bytes. See NOTICE for provenance (pinned upstream commit) and licenses (TDLib = Boost 1.0, OpenSSL = Apache 2.0).

Usage

repositories { maven("https://jitpack.io") }

dependencies {
    // pin to a commit or tag; delivers the org.drinkless.tdlib API + libtdjni.so transitively
    implementation("com.github.capullo-tech:lib-tdlib-android:<tag>")
}
  • namespace / package: org.drinkless.tdlib
  • minSdk 23 (the .so ELF notes show it was compiled at API 21 (64-bit) / 16 (32-bit); 23 matches the org-wide floor), compileSdk 36
  • ABIs: arm64-v8a, armeabi-v7a, x86, x86_64

Bumping the TDLib version

  1. Re-copy TdApi.java/Client.java and jniLibs/<abi>/*.so from a newer TGX-Android/tdlib commit.
  2. Update the pinned commit in NOTICE.
  3. Verify a consumer build packages libtdjni.so, then tag a new release.

License

This repo redistributes prebuilt third-party binaries verbatim and adds no first-party code of its own:

  • TDLib (libtdjni.so, TdApi.java, Client.java) - Boost Software License 1.0, see LICENSE.
  • OpenSSL (libsslx.so, libcryptox.so) - Apache License 2.0.

See NOTICE for full provenance (pinned upstream commit) and attribution.

About

Prebuilt TDLib for Android (libtdjni.so + TdApi) as a JitPack AAR — capullo-tech audio platform

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages