You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add ProGuard rules to Android installation documentation
- Add ProGuard section to WalletKit Android installation guide
- Add ProGuard section to AppKit Android installation guide
- Include JNA and uniffi rules required for SDK minification
- Consistent formatting across both documentation files
- Rules placed after gradle dependencies for logical flow
Co-Authored-By: jakub@reown.com <jakubwitczak6@gmail.com>
If you encounter issues with minification, add the below rules to your application:
26
+
27
+
```
28
+
-keepattributes *Annotation*
29
+
30
+
-keep class com.sun.jna.** { *; }
31
+
-keepclassmembers class com.sun.jna.** {
32
+
native <methods>;
33
+
*;
34
+
}
35
+
36
+
-keep class uniffi.** { *; }
37
+
38
+
# Preserve all public and protected fields and methods
39
+
-keepclassmembers class ** {
40
+
public *;
41
+
protected *;
42
+
}
43
+
44
+
-dontwarn uniffi.**
45
+
-dontwarn com.sun.jna.**
46
+
```
47
+
23
48
## Next Steps
24
49
25
50
Now that you've installed WalletKit, you're ready to start integrating it. The next section will walk you through the process of setting up your project to use the SDK.
0 commit comments