react-native-pure-jwt icon indicating copy to clipboard operation
react-native-pure-jwt copied to clipboard

java.lang.RuntimeException: Could not invoke RNPureJwt.sign Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'n8.e$b n8.e.getterVisibility()' on a null object reference

Open SipNWork opened this issue 1 year ago • 2 comments

Facing this issue in release version of android app. Working fine in debug app.

SipNWork avatar Dec 16 '23 18:12 SipNWork

I have the same problem, and only in production as well. However, it works correctly in debug. I've tried modifying the proguard file, but I haven't had any luck.

gollobo avatar Feb 23 '24 15:02 gollobo

Any solution? @gollobo @SipNWork

Update for you guys:

I solved it after adding the following in proguard rules:

-keepnames class com.fasterxml.jackson.** { *; }
-keepnames interface com.fasterxml.jackson.** {  *; }

Hope it works for you guys too. I finally found this solution almost 3 hours of debugging..

CostasCF avatar Mar 02 '24 22:03 CostasCF