Files
FarmaFinder/android/app/proguard-rules.pro
Ichitux c3f0f3c35c
Build & Push Docker Images / test-backend (push) Successful in 53s
Build & Push Docker Images / test-frontend (push) Successful in 58s
Build & Push Docker Images / build-backend (push) Successful in 1m4s
Build & Push Docker Images / build-frontend (push) Failing after 56s
Add iOS & Android build + frontend fixes for desktop
2026-05-26 19:12:31 +02:00

46 lines
1.6 KiB
Prolog

# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
# --- Capacitor 6 ---
# Plugins are discovered + invoked by reflection from the JS bridge.
-keep class com.getcapacitor.** { *; }
-keep @com.getcapacitor.annotation.CapacitorPlugin class * { *; }
-keepclassmembers class * extends com.getcapacitor.Plugin {
@com.getcapacitor.PluginMethod public *;
}
-keepclassmembers @com.getcapacitor.annotation.CapacitorPlugin class * {
@com.getcapacitor.PluginMethod public *;
}
# --- Cordova compatibility layer (capacitor-cordova-android-plugins) ---
-keep class org.apache.cordova.** { *; }
-keep public class * extends org.apache.cordova.CordovaPlugin
# --- WebView JS interface ---
-keepclassmembers class * {
@android.webkit.JavascriptInterface <methods>;
}
# Helpful stack traces from release builds.
-keepattributes SourceFile,LineNumberTable
-renamesourcefileattribute SourceFile