Skip to content

Colota - Android GPS Location tracker

1.2 KB
Raw Blame
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
#   http://developer.android.com/guide/developing/tools/proguard.html

# React Native basic rules
-keep class com.facebook.react.bridge.** { *; }
-keep class com.facebook.react.modules.core.DeviceEventManagerModule$RCTDeviceEventEmitter { *; }

# Keep classes accessed via React Native bridge and reflection
-keep class com.Colota.bridge.** { *; }
-keep class com.Colota.MainApplication { *; }
-keep class com.Colota.MainActivity { *; }

# Keep Google Play Services Location (only present in gms flavor)
-keep class com.google.android.gms.location.** { *; }
-dontwarn com.google.android.gms.**

# Keep location provider abstraction
-keep class com.Colota.location.** { *; }

# Keep WorkManager worker (instantiated by class name)
-keep class com.Colota.export.AutoExportWorker { *; }

# Standard optimization settings
-dontwarn com.facebook.react.**
-keepattributes Signature