| 6 |
| - Update news : https://t.me/NekoX-Dev |
| 7 | - Feedback: https://github.com/NekoX-Dev/NekoX/issues |
| 8 | - Chat Group: https://t.me/NekoXChat |
| 9 | - Chat Group (Persian) : https://t.me/NekogramX_Persian |
| 10 | - FAQ: https://telegra.ph/NekoX-FAQ-03-31 |
| 11 | - FAQ (Chinese): https://telegra.ph/NekoX-%E5%B8%B8%E8%A6%8B%E5%95%8F%E9%A1%8C-03-31 |
| 12 |
| 13 | ## Telegram-FOSS Changes: |
| 14 |
| 15 | *Replacement of non-FOSS, untrustworthy or suspicious binaries or source code:* |
| 16 | - Do location sharing with OpenStreetMap(osmdroid) instead of Google Maps |
| 17 | - Use Twemoji emoji set instead of Apple's emoji |
| 18 | - Google Play Services GCM replaced with Telegram's push service |
| 19 | - Has to show a notification on Oreo+, ask Google |
| 20 | - **SECURITY:** Old BoringSSL prebuilts are replaced with the newest upstream source code built at compile time |
| 21 | - **SECURITY:** Old FFmpeg prebuilts are replaced with the newest upstream source code built at compile time |
| 22 | - **SECURITY:** Bundled libWebP is updated |
| 23 |
| 24 | *Removal of non-FOSS, untrustworthy or suspicious binaries or source code and their functionality:* |
| 25 | - Google Vision face detection and barcode scanning (Passport) |
| 26 | - Google Wallet and Android Pay integration |
| 27 | - Google Voice integration |
| 28 | - HockeyApp crash reporting and self-updates |
| 29 | - Google SMS retrieval. You have to type the code manually |
| 30 |
| 31 | *Other:* |
| 32 | - Allow to set a proxy before login |
| 33 | - Added the ability to parse locations from intents containing a `geo:<lat>,<lon>,<zoom>` string |
| 34 | - Force static map previews from Telegram |
| 35 |
| 36 | ## Old 0penSource Nekogram Changes |
| 37 |
| 38 | We regret that [Nekogram](https://github.com/Nekogram/Nekogram-issue-tracker) is no longer open source, but uses drklo/master to [disguise open source](https://github.com/Nekogram/Android). |
| 39 |
| 40 | - Repeat others' message in one click. |
| 41 | - Save to saved messages in one click. |
| 42 | - Ignore messages from blocked users. |
| 43 | - Forward messages without quoting. |
| 44 | - Create a mention by user's ID. |
| 45 | - Allow non-admin users to view group chat permissions and administrators. |
| 46 | - Select a map preview provider for normal dialogs. |
| 47 | - Promote/restrict user directly from contextual menu clicking on user's message. |
| 48 | - Show user chat history in groups from contextual menu clicking on user's message. |
| 49 | - Delete single downloaded file. |
| 50 | - Customize stickers display size. |
| 51 | - Show and export message details. |
| 52 | - Unlimited favorite stickers. |
| 53 | - Filter chats list: users, groups, channels, bots, admin, unmuted. |
| 54 | - Multi-accounts (up to 8). |
| 55 | - Log in with bot accounts. |
| 56 | - Decide whether to sync contacts on first login. |
| 57 | - Show ID and data center. |
| 58 | - Transparent status bar. |
| 59 | - Change displaying name order. |
| 60 | - Hide mobile number from navigation menu drawer and settings menu. |
| 61 | - Built-in Chinese and Japanese language. |
| 62 | - Use system font and emojis. |
| 63 | - Store cache into app's private directory. |
| 64 | - Hide proxy sponsor channels. |
| 65 | - Toogle to show sensitive media contents in public channels. |
| 66 |
| 67 | ## NekoX Changes |
| 68 |
| 69 | - Built-in Vmess, Shadowsocks, SSR, <del>RelayBaton (ESNI)</del> proxies support |
| 70 | - Built-in public proxy list |
| 71 | - Proxy subscription support. |
| 72 | - Proxies import and export, remarks, speed measurement, sorting, delete unusable nodes, etc. |
| 73 | - Scan the qrcode (any link, can add a proxy). |
| 74 | - The ( vemss / vmess1 / ss / ssr / rb ) proxy link in the message can be clicked. |
| 75 | - Allow auto disable proxy when VPN is enabled |
| 76 | - Proxy automatic switcher |
| 77 | - Add stickers without sticker pack |
| 78 | - Allow disable vibration |
| 79 | - Sticker set list backup / restore / share |
| 80 | - Full InstantView translation support |
| 81 | - Translation support for selected text on input and in messages |
| 82 | - Delete all messages in group |
| 83 | - Dialog sorting is optional "Unread and can be prioritized for reminding" etc. |
| 84 | - Allow to skip "regret within five seconds" |
| 85 | - Unblock all users support |
| 86 | - OpenKaychain client ( sign / verify / decrypt / import ) |
| 87 | - Google Cloud Translate / Yandex.Translate support |
| 88 | - Custom cache directory (supports external storage) |
| 89 | - Custom AppId and Hash (optional NekoX / Andorid / Android X or Manual input) |
| 90 | - Custom server (official, test DC or Manual input) |
| 91 | - Keep the original file name when downloading files |
| 92 | - View the data center you belong to when you don't have an avatar |
| 93 | - Proxies, groups, channels, sticker packs are able to shared as QRCodes. |
| 94 | - Force English emoji keywords to be loaded |
| 95 | - Add "@Name" when long press @ user option |
| 96 | - Enhanced notification service, optional version without Google Services. |
| 97 | - Built-in Material Design themes / Telegram X style icons |
| 98 |
| 99 | ## How to get Google Cloud Translate Key |
| 100 |
| 101 | https://telegra.ph/google-cloud-trans-key-04-26 |
| 102 |
| 103 | ## Compilation Guide |
| 104 |
| 105 | ### Specify APP_ID and APP_HASH |
| 106 |
| 107 | Fill out TELEGRAM_APP_ID and TELEGRAM_APP_HASH in local.properties |
| 108 |
| 109 | ### Build Types |
| 110 |
| 111 | #### Debug |
| 112 |
| 113 | `./gradlew assemble<Variant>Debug` |
| 114 |
| 115 | The default debug key is used, and placing yours is not needed. |
| 116 |
| 117 | #### Release |
| 118 |
| 119 | `./gradlew assemble<Variant>Release` |
| 120 |
| 121 | The difference between release and other build types is that it adds fcm and firebase crash analysis, if you don't like them, use releaseNoGcm. |
| 122 |
| 123 | To compile the release version, please place your keysotre at TMessageProj/release.keystore, and fill in KEYSTORE_PASS, ALIAS_NAME, ALIAS_PASS in local.properties, environment variables are also recommended |
| 124 |
| 125 | If you don't use NekoX's APP_ID and APP_HASH, you need to register a physical firebase app and replace google-services.json to ensure fcm works |
| 126 |
| 127 | #### Foss |
| 128 |
| 129 | `./gradlew assemble<Variant>Foss` |
| 130 |
| 131 | OK, a version without firebase cloud messaging and precompiled native libraries, maybe this makes you feel more free, or your phone does not have Google services. |
| 132 |
| 133 | To compile the foss version, please refer to [scripts](./bin). |
| 134 |
| 135 | ### Build Variants |
| 136 |
| 137 | Available variant list: |
| 138 |
| 139 | `Full` |
| 140 | `Mini` ( without ss/ssr/v2ray proxies ) |
| 141 |
| 142 | `AppleEmoji` |
| 143 | `NotoEmoji` |
| 144 | `FacebookEmoji` |
| 145 | `NoEmoji` |
| 146 |
| 147 | ## Localization |
| 148 |
| 149 | Join project at https://nekox.crowdin.com/nekox. |
| 150 |
| 151 | ## Credits |
| 152 |
| 153 | <ul> |
| 154 | <li>Telegram-FOSS: <a href="https://github.com/Telegram-FOSS-Team/Telegram-FOSS/blob/master/LICENSE">GPLv2</a></li> |
| 155 | <li><del>Nekogram: <a href="https://github.com/Nekogram/Nekogram/blob/master/LICENSE">GPLv2</a></del> (No longer open source)</li> |
| 156 | <li>v2rayNG: <a href="https://github.com/2dust/v2rayNG/blob/master/LICENSE">GPLv3</a></li> |
| 157 | <li>AndroidLibV2rayLite: <a href="https://github.com/2dust/AndroidLibV2rayLite/blob/master/LICENSE">LGPLv3</a></li> |
| 158 | <li>shadowsocks-android: <a href="https://github.com/shadowsocks/shadowsocks-android/blob/master/LICENSE">GPLv3</a></li> |
| 159 | <li>shadowsocksRb-android: <a href="https://github.com/shadowsocksRb/shadowsocksRb-android/blob/master/LICENSE">GPLv3</a></li> |
| 160 | </ul> |