diff --git a/android/build.gradle b/android/build.gradle index c8a58ce..be2a00a 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -88,6 +88,7 @@ android { defaultConfig { minSdkVersion 21 targetSdkVersion getExtOrIntegerDefault('targetSdkVersion') + consumerProguardFiles 'proguard-rules.pro' externalNativeBuild { cmake { diff --git a/android/proguard-rules.pro b/android/proguard-rules.pro new file mode 100644 index 0000000..c8c9ed4 --- /dev/null +++ b/android/proguard-rules.pro @@ -0,0 +1,2 @@ +# VisionCamera (CameraX) +-keep class androidx.camera.extensions.** { *; }