Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / communicate-dev / src / main / java / com / vayunmathur / communicate / data / whatsapp / WhatsAppFeature.kt
WhatsAppFeature.kt17 lines · 721 BRaw
| 1 | package com.vayunmathur.communicate.data.whatsapp |
| 2 | |
| 3 | /** |
| 4 | * Single on/off gate for the experimental **WhatsApp primary client** feature. |
| 5 | * |
| 6 | * This is the `dev` variant source: the line is present, so the gate is |
| 7 | * always on here. The `release` variant source of this same object has |
| 8 | * `enabled = false`, and the dev-only WhatsApp code is not compiled into |
| 9 | * release at all, so the release variant never registers, connects, or |
| 10 | * exposes WhatsApp UI/lines. |
| 11 | * |
| 12 | * WhatsApp is an unofficial primary-client reimplementation and carries real ToS/ban risk (a live |
| 13 | * test number was banned with `violation_type:15`), so it must not ship in the release variant. |
| 14 | */ |
| 15 | object WhatsAppFeature { |
| 16 | val enabled: Boolean = true |
| 17 | } |