Vendored
+32
@@ -0,0 +1,32 @@
|
||||
# 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
|
||||
|
||||
# Add any project specific keep options here:
|
||||
# --- React Native Camera & ML Kit keep rules ---
|
||||
|
||||
# ML Kit barcode scanning
|
||||
-keep class com.google.mlkit.vision.barcode.** { *; }
|
||||
-dontwarn com.google.mlkit.vision.barcode.**
|
||||
|
||||
# ML Kit vision common
|
||||
-keep class com.google.mlkit.vision.common.** { *; }
|
||||
-dontwarn com.google.mlkit.vision.common.**
|
||||
|
||||
# ML Kit text recognition
|
||||
-keep class com.google.mlkit.vision.text.** { *; }
|
||||
-dontwarn com.google.mlkit.vision.text.**
|
||||
|
||||
# React Native Camera (ya jo bhi tum use kar rahe ho jisme BarcodeDetectorAsyncTask hai)
|
||||
-keep class org.reactnative.camera.** { *; }
|
||||
-dontwarn org.reactnative.camera.**
|
||||
|
||||
# Kabhi-kabhi internal detector classes bhi zaroori hote hain:
|
||||
-keep class com.google.mlkit.vision.** { *; }
|
||||
-dontwarn com.google.mlkit.vision.**
|
||||
|
||||
Reference in New Issue
Block a user