@capawesome/capacitor-android-edge-to-edge-support 8.0.1 → 8.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,21 @@
1
+ # Capacitor Plugin ProGuard Rules
2
+ # These rules ensure the plugin works correctly when the consumer app uses minification
3
+
4
+ # Keep all plugin classes
5
+ -keep class io.capawesome.capacitorjs.plugins.androidedgetoedgesupport.** { *; }
6
+
7
+ # Keep Capacitor annotations (needed for reflection-based plugin loading)
8
+ -keep @com.getcapacitor.annotation.CapacitorPlugin class * { *; }
9
+ -keep @com.getcapacitor.PluginMethod class * { *; }
10
+ -keepclassmembers class * {
11
+ @com.getcapacitor.PluginMethod *;
12
+ }
13
+
14
+ # Keep CoordinatorLayout.LayoutParams (used via reflection in EdgeToEdge.java)
15
+ -keep class androidx.coordinatorlayout.widget.CoordinatorLayout$LayoutParams { *; }
16
+
17
+ # Keep AndroidX classes used by the plugin
18
+ -keep class androidx.core.view.ViewCompat { *; }
19
+ -keep class androidx.core.view.WindowInsetsCompat { *; }
20
+ -keep class androidx.core.view.WindowInsetsCompat$Type { *; }
21
+ -keep class androidx.core.graphics.Insets { *; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capawesome/capacitor-android-edge-to-edge-support",
3
- "version": "8.0.1",
3
+ "version": "8.0.2",
4
4
  "description": "Capacitor plugin to support edge-to-edge display on Android.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -9,6 +9,7 @@
9
9
  "files": [
10
10
  "android/src/main/",
11
11
  "android/build.gradle",
12
+ "android/consumer-rules.pro",
12
13
  "dist/"
13
14
  ],
14
15
  "author": "Robin Genz <mail@robingenz.dev>",