react-native-pure-jwt
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
Facing this issue in release version of android app. Working fine in debug app.
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.
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..