MAN-3278: правила
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
-include rules/glide.pro
|
||||
-include rules/kaspersky.pro
|
||||
-include rules/appsflyer.pro
|
||||
-include rules/appmetrica.pro
|
||||
-include rules/moshi.pro
|
||||
-include rules/androidx_security.pro
|
||||
-include rules/kotlinx_serialization.pro
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
# AppMetrica SDK (io.appmetrica.analytics:analytics 8.x)
|
||||
# https://appmetrica.yandex.ru/docs/mobile-sdk-dg/android/quickstart.html
|
||||
# https://github.com/appmetrica/appmetrica-sdk-android
|
||||
|
||||
# Сохраняем все классы SDK — внутри активно используется reflection
|
||||
# (генерация ID, сериализация событий, нативные крэш-репорты).
|
||||
-keep class io.appmetrica.analytics.** { *; }
|
||||
-keep interface io.appmetrica.analytics.** { *; }
|
||||
-dontwarn io.appmetrica.analytics.**
|
||||
|
||||
# Старый namespace Yandex.Metrica (до миграции в io.appmetrica).
|
||||
# В transitive-зависимостях ещё может встречаться — держим на всякий случай.
|
||||
-keep class com.yandex.metrica.** { *; }
|
||||
-keep interface com.yandex.metrica.** { *; }
|
||||
-dontwarn com.yandex.metrica.**
|
||||
|
||||
# AppMetrica использует OkHttp internal через свой shaded-вариант, плюс GMS
|
||||
# (Google Advertising ID, Play Install Referrer) — gms-классы могут отсутствовать
|
||||
# в huawei/rustore-flavor'ах.
|
||||
-dontwarn com.google.android.gms.ads.identifier.**
|
||||
-dontwarn com.google.android.gms.common.**
|
||||
-dontwarn com.huawei.hms.ads.identifier.**
|
||||
-dontwarn com.android.installreferrer.**
|
||||
Reference in New Issue
Block a user