diff --git a/data/web/core.telegram.org/reproducible-builds.html b/data/web/core.telegram.org/reproducible-builds.html index 4db7854a93..8aeb80fa13 100644 --- a/data/web/core.telegram.org/reproducible-builds.html +++ b/data/web/core.telegram.org/reproducible-builds.html @@ -110,7 +110,9 @@ -

These commands will produce 9 different APKs for different target SDK versions and CPU ABIs.

+

These commands will produce 3 different APKs and 2 bundles:

+

apk/release/app.apk – used for direct downloads from telegram.org/android
apk/release/app.apk – the playstore version
apk/release/app-huawei.apk – used exclusively for the Huawei store

+

bundle/bundleAfat_SDK23Release/TMessagesProj_App-bundleAfat_SDK23-release.aab
bundle/bundleAfatRelease/TMessagesProj_App-bundleAfat-release.aab

These APKs can be found in:
$HOME/telegram-android/TMessagesProj/build/outputs/apk/

Use the folder name from Step 2 to find the correct folder that holds the same APK as installed on your device. For example, for non-universal Android 9.0 arm64-v8a, the path to your APK will be:
$HOME/telegram-android/TMessagesProj/build/outputs/apk/arm64_SDK23/release/app.apk
Copy this APK to the root source directory by running this command in Terminal:
cp $HOME/telegram-android/TMessagesProj/build/outputs/apk/arm64_SDK23/release/app.apk $HOME/telegram-android/telegram_built.apk

@@ -138,9 +140,10 @@
-Tada! -Otherwise, something went wrong. +

Play Store versions built from a bundle will be marked as 'store bundled'. To verify such builds, use:

+

python apkfrombundle.py telegram_bundle.aab telegram_store.apk

+

If anything goes wrong, you will see this: