fix: Fix ExtensionsManager abstract method crash by adding ProGuard rule (#466)

This commit is contained in:
Marc Rousavy 2021-09-29 10:38:49 +02:00 committed by GitHub
parent e1dafe05fe
commit 8f65427391
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -88,6 +88,7 @@ android {
defaultConfig { defaultConfig {
minSdkVersion 21 minSdkVersion 21
targetSdkVersion getExtOrIntegerDefault('targetSdkVersion') targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
consumerProguardFiles 'proguard-rules.pro'
externalNativeBuild { externalNativeBuild {
cmake { cmake {

2
android/proguard-rules.pro vendored Normal file
View File

@ -0,0 +1,2 @@
# VisionCamera (CameraX)
-keep class androidx.camera.extensions.** { *; }