Telegram is a messaging app with a focus on speed and security. It’s superfast, simple and free. This repo contains the official source code for Telegram App for Android.
Nukogram is an free and open source fork from Telegram App for Android,
with some features from Nekogram & NekoX rebuilt,
with some features originally added.
- Launcher icons
- newly Nuko Vanilla based on nekogram (as default)
- transplant nArrow from nekogram-na fork.
- [technical] removed huawei (agconnect) build.
Note: We support building on Windows.
- Clone this repository to your workspace.
- Make sure that you have Android SDK 8.1 and Android NDK rev. 20, and an IDE like Android Studio or IntellijIDEA(it's fine too).
- Open this project in your IDE.
- (Optional) Obtain your own telegram
api_id
andapi_hash
, write the value toTELEGRAM_APP_ID
andTELEGRAM_APP_HASH
in./gradle.properties
. (if not, you will use Nukogram app_id). - (Optional) Set your own app package-name in field
APP_PACKAGE
in./gradle.properties
. (if not, you will use nukogram package-name(cc.sukazyo.nukogram) as your app package-name, it may cause conflict with Nukogram Official App.) - (Optional) Go to Google Firebase Console,
create two android apps with application IDs
${APP_PACKAGE}
and${APP_PACKAGE}.beta
(the APP_PACKAGE is just the app package-name you set in [3.]), turn on firebase messaging and downloadgoogle-services.json
, overwrite./TMessagesProj/google-services.json
with the downloaded. (if non set, or skiped [3.], you will use google service (like GCM/FCM) owned by Nukogram Official.) - (Optional only debug build) generate your own android-release.keystore, put it to
./TMessagesProj/config/release.keystore
, and setSIGNING_KEYSTORE_PWD
(your keystore password),SIGNING_KEY_ALIAS
(your keystore key alias),SIGNING_KEY_PWD
(your keystore key password) in./local.properties
. (if not, your apk will sign by a key generated randomly by android sdk, and you will recieve a warning "Release signing config not set"; if you are building with release config, you will get an error that signing key unavailable) - Now you can build and run it, just as a normal Android App.