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
I have attempted to reproduce the issue and include an example project.
General information
@superwall/react-native-superwall version: 2.0.3
React Native version: 0.76.1
Expo version (if applicable): 52.0.37
Platform affected (Android and/or iOS): Android
OS versions affected, e.g. iOS 18.3.1 (if applicable):
Devices/Simulators affected:
Reproducible in the example app? (Yes/No): No
Related issues:
Describe the bug
Assembling a release with proguard enabled fails with
> Task :app:minifyReleaseWithR8
ERROR: Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in .../android/app/build/outputs/mapping/release/missing_rules.txt.
ERROR: R8: Missing class java.awt.Component (referenced from: long com.sun.jna.Native.getWindowHandle0(java.awt.Component))
Ignoring it in proguard leads to the following runtime error:
Rejecting re-init on previously-failed class java.lang.Class<com.sun.jna.Native>: java.lang.UnsatisfiedLinkError: Can't obtain peer field ID for class com.sun.jna.Pointer
Steps to reproduce
enable minification with proguard
assemble release
Other Information
The text was updated successfully, but these errors were encountered:
New issue checklist
README
and documentationGeneral information
@superwall/react-native-superwall
version: 2.0.3Describe the bug
Assembling a release with proguard enabled fails with
JNA is dependency of superwall:
Ignoring it in proguard leads to the following runtime error:
Steps to reproduce
Other Information
The text was updated successfully, but these errors were encountered: