diff --git a/android/build.gradle b/android/build.gradle index fb8ebd2de..c1223f592 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -47,6 +47,7 @@ android { defaultConfig { minSdkVersion 21 + consumerProguardFiles 'proguard-rules.pro' } testOptions { diff --git a/android/proguard-rules.pro b/android/proguard-rules.pro new file mode 100644 index 000000000..276e24261 --- /dev/null +++ b/android/proguard-rules.pro @@ -0,0 +1,3 @@ +-keep class com.google.mlkit.* { *; } +-keep class com.google.android.libraries.barhopper.** { *; } +-keep class com.google.photos.* { *; } \ No newline at end of file