hnc-rn-image-overlay 1.0.6 → 1.0.8

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.
@@ -23,6 +23,16 @@ android {
23
23
  defaultConfig {
24
24
  minSdkVersion safeExtGet('minSdkVersion', 21)
25
25
  targetSdkVersion safeExtGet('targetSdkVersion', 34)
26
+ consumerProguardFiles 'proguard-rules.pro'
27
+ }
28
+
29
+ compileOptions {
30
+ sourceCompatibility JavaVersion.VERSION_17
31
+ targetCompatibility JavaVersion.VERSION_17
32
+ }
33
+
34
+ kotlinOptions {
35
+ jvmTarget = "17"
26
36
  }
27
37
  }
28
38
 
@@ -0,0 +1,13 @@
1
+ # Keep ImageOverlayModule and ImageOverlayPackage classes
2
+ -keep class com.imageoverlay.** { *; }
3
+ -keepclassmembers class com.imageoverlay.** { *; }
4
+
5
+ # Keep React Native bridge methods
6
+ -keepclassmembers class * {
7
+ @com.facebook.react.bridge.ReactMethod <methods>;
8
+ }
9
+
10
+ # Keep all native methods
11
+ -keepclasseswithmembernames,includedescriptorclasses class * {
12
+ native <methods>;
13
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hnc-rn-image-overlay",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "Native module to add overlay and text watermark to images for React Native",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",