This is the structure of my project
I use Firebase Realtime Database and Firebase Phone Auth. The app works fine but when i set
minifyEnabled true
Firebase not send to me the SMS code for the auth. I used this proguard-rules
-keepattributes Signature
-keepattributes *Annotation*
-keep class persistence.** {
*;
}
-keep class com.firebase.** { *; }
-keep class org.apache.** { *; }
-keepnames class com.fasterxml.jackson.** { *; }
-keepnames class javax.servlet.** { *; }
-keepnames class org.ietf.jgss.** { *; }
-dontwarn org.apache.**
-dontwarn org.w3c.dom.**
-keep class com.google.android.gms.** { *; }
-dontwarn com.google.android.gms.**
-dontwarn com.squareup.okhttp.**
-dontwarn org.w3c.dom.bootstrap.DOMImplementationRegistry
what did I do wrong?
This is my gradle
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'),
'proguard-rules.pro'
}
}