Files
sepot/app/android/app/proguard-rules.pro
T
Julius Joska 8081d98c67 Šepot — end-to-end encrypted messenger
Initial public release. Anonymous on-device identity (no phone number,
e-mail, or password), Signal-protocol cryptography (X3DH + PQXDH, Double
Ratchet, sealed sender) via libsignal, a metadata-minimizing relay,
group chats, disappearing messages, encrypted local storage, optional
Tor transport, and a UI localized into Czech, English, German, Russian,
and Italian.

Monorepo: Flutter client (app/), Rust relay + wire types (rust/),
protobuf definitions (proto/), self-host deploy (deploy/).

Licensed under AGPL-3.0 with an app-store distribution exception (§7).
2026-07-11 17:21:47 +02:00

34 lines
1.0 KiB
Prolog

# Šepot — R8/ProGuard pravidla pro release.
#
# Cíl: zapnout shrink/optimalizaci (menší APK), ale nechat žít nativní
# a reflexí volané třídy, které R8 jinak ořeže a app spadne za běhu.
# --- Flutter jádro ---
-keep class io.flutter.** { *; }
-dontwarn io.flutter.**
# --- libsignal (Rust FFI přes JNI) — názvy tříd drží nativní vrstva ---
-keep class org.signal.** { *; }
-keep class org.whispersystems.** { *; }
# --- flutter_local_notifications (desugaring, Gson modely) ---
-keep class com.dexterous.** { *; }
-keep class com.google.gson.** { *; }
-keepattributes *Annotation*, Signature, InnerClasses, EnclosingMethod
# --- Firebase / FCM (opt-in fast mode) ---
-keep class com.google.firebase.** { *; }
-dontwarn com.google.firebase.**
# --- Tink (crypto z flutter_secure_storage) ---
-keep class com.google.crypto.tink.** { *; }
-dontwarn com.google.crypto.tink.**
# --- UnifiedPush ---
-keep class org.unifiedpush.** { *; }
# Zachovej nativní metody (JNI vazby)
-keepclasseswithmembernames class * {
native <methods>;
}