@walletconnect/react-native-compat 2.26.1-canary-1 → 2.26.1-canary-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.
@@ -59,6 +59,7 @@ android {
59
59
  minSdkVersion getExtOrIntegerDefault("minSdkVersion")
60
60
  targetSdkVersion getExtOrIntegerDefault("targetSdkVersion")
61
61
  buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
62
+ consumerProguardFiles "consumer-rules.pro"
62
63
 
63
64
  }
64
65
 
@@ -0,0 +1,19 @@
1
+ # Consumer ProGuard/R8 rules, applied automatically to apps that minify
2
+ # (Expo SDK 58+ enables R8 for release builds by default).
3
+
4
+ # JNA backs the yttrium (WalletConnect Pay) uniffi bindings. It references
5
+ # desktop-only AWT classes that don't exist on Android, and it binds native
6
+ # functions, Structure fields and Callback methods by reflection.
7
+ -dontwarn java.awt.**
8
+ -keep class com.sun.jna.** { *; }
9
+ -keepclassmembers class * extends com.sun.jna.** { public *; }
10
+
11
+ # yttrium-wcpay's uniffi-generated Kotlin bindings, called from native code
12
+ # through JNA. Scoped to yttrium's packages (not uniffi.**) so other uniffi
13
+ # libraries in the app can still be shrunk. If yttrium moves its bindings to
14
+ # a different package, update these rules to match.
15
+ -keep class uniffi.yttrium_wcpay.** { *; }
16
+ -keep class uniffi.uniffi_yttrium_wcpay.** { *; }
17
+
18
+ # This module's own classes, which drive the bindings above.
19
+ -keep class com.walletconnect.reactnativemodule.** { *; }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@walletconnect/react-native-compat",
3
3
  "description": "Native modules and shims for WalletConnect Protocol in React Native Projects",
4
- "version": "2.26.1-canary-1",
4
+ "version": "2.26.1-canary-2",
5
5
  "author": "WalletConnect, Inc. <walletconnect.com>",
6
6
  "homepage": "https://github.com/walletconnect/walletconnect-monorepo/",
7
7
  "license": "SEE LICENSE IN LICENSE.md",