rn-linkrunner 2.5.1 → 2.5.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.
@@ -74,7 +74,6 @@ android {
74
74
  targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
75
75
  versionCode 1
76
76
  versionName "1.0"
77
- consumerProguardFiles "consumer-rules.pro"
78
77
  }
79
78
 
80
79
  buildTypes {
@@ -109,7 +108,6 @@ repositories {
109
108
  }
110
109
  google()
111
110
  mavenCentral()
112
- jcenter()
113
111
  maven { url 'https://www.jitpack.io' }
114
112
  }
115
113
 
@@ -118,7 +116,7 @@ dependencies {
118
116
  implementation 'com.facebook.react:react-android:0.80.0'
119
117
 
120
118
  // Linkrunner SDK
121
- implementation "io.linkrunner:android-sdk:3.3.2"
119
+ implementation "io.linkrunner:android-sdk:3.3.1"
122
120
 
123
121
  // Kotlin standard libraries - use stable versions
124
122
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rn-linkrunner",
3
- "version": "2.5.1",
3
+ "version": "2.5.2",
4
4
  "description": "React Native Package for linkrunner",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -1,101 +0,0 @@
1
- # Keep all classes in the io.linkrunner package
2
- -keep class io.linkrunner.** { *; }
3
-
4
- # Keep all field and method names for proper SDK functionality
5
- -keepclassmembernames class io.linkrunner.sdk.** { *; }
6
-
7
- # Keep all interfaces in the io.linkrunner package
8
- -keep interface io.linkrunner.** { *; }
9
-
10
- # Keep all enums in the io.linkrunner package
11
- -keep enum io.linkrunner.** { *; }
12
-
13
- # Keep enum methods for proper serialization (required for SDK enums)
14
- -keepclassmembers enum io.linkrunner.sdk.** {
15
- public static **[] values();
16
- public static ** valueOf(java.lang.String);
17
- }
18
-
19
- # Keep all annotations in the io.linkrunner package
20
- -keep @interface io.linkrunner.** { *; }
21
-
22
- # Keep all public and protected methods and fields
23
- -keepclassmembers class io.linkrunner.** {
24
- public *;
25
- protected *;
26
- }
27
-
28
- # Keep all native methods
29
- -keepclasseswithmembernames class * {
30
- native <methods>;
31
- }
32
-
33
- # Keep all React Native module methods (those with @ReactMethod annotation)
34
- -keepclassmembers class * {
35
- @com.facebook.react.bridge.ReactMethod *;
36
- }
37
-
38
- # Keep all Parcelable implementations
39
- -keep class * implements android.os.Parcelable {
40
- public static final android.os.Parcelable$Creator *;
41
- }
42
-
43
- # Keep all Serializable implementations
44
- -keep class * implements java.io.Serializable {
45
- private static final java.io.ObjectStreamField[] serialPersistentFields;
46
- private void writeObject(java.io.ObjectOutputStream);
47
- private void readObject(java.io.ObjectInputStream);
48
- java.lang.Object writeReplace();
49
- java.lang.Object readResolve();
50
- }
51
-
52
- # Keep R8 rules for SDK consumers
53
- -keep class io.linkrunner.R$* {
54
- public static <fields>;
55
- }
56
-
57
- # Keep BuildConfig
58
- -keep class io.linkrunner.BuildConfig { *; }
59
-
60
- # Keep all model classes
61
- -keep class io.linkrunner.sdk.models.** { *; }
62
-
63
- # Keep all utils classes
64
- -keep class io.linkrunner.utils.** { *; }
65
-
66
- # ===========================================
67
- # GSON SERIALIZATION SUPPORT
68
- # ===========================================
69
-
70
- # Keep essential attributes for JSON serialization
71
- -keepattributes Signature
72
- -keepattributes *Annotation*
73
- -keepattributes EnclosingMethod
74
- -keepattributes InnerClasses
75
-
76
- # Gson specific classes - required for TypeToken to work
77
- # This is critical for the LinkRunner SDK's WorkManager data deserialization
78
- -keep class com.google.gson.reflect.TypeToken { *; }
79
- -keep class * extends com.google.gson.reflect.TypeToken
80
- -keep public class * implements java.lang.reflect.Type
81
-
82
- # Keep Gson internal classes to prevent any serialization issues with R8
83
- -keep class com.google.gson.internal.** { *; }
84
-
85
- # Keep @SerializedName annotated fields (SDK scope only)
86
- -keepclassmembers class io.linkrunner.sdk.** {
87
- @com.google.gson.annotations.SerializedName <fields>;
88
- }
89
-
90
- # ===========================================
91
- # KOTLIN METADATA (SDK-SCOPED ONLY)
92
- # ===========================================
93
-
94
- # Keep Kotlin metadata for SDK classes
95
- -keep class kotlin.Metadata { *; }
96
-
97
- # Keep Kotlin data class methods for SDK classes
98
- -keepclassmembers class io.linkrunner.sdk.** {
99
- public ** component*();
100
- public ** copy(...);
101
- }