emeraldsanto / react-native-encrypted-storage

React Native wrapper around EncryptedSharedPreferences and Keychain to provide a secure alternative to Async Storage.

Home Page:https://www.npmjs.com/package/react-native-encrypted-storage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fatal Exception: java.lang.NoClassDefFoundError

shridhar52war opened this issue · comments

Facing a lot of crashes on Android in production.
Screenshot 2020-12-07 at 10 47 26 AM

Screenshot 2020-12-07 at 10 19 09 AM

Most of the crashes are happening on Android 5.x.x.
Any solutions?

Facing the same issue on Android 5.x.x devices. Does this library have any minimum Android API requirements?

Yes, due to limitations of the androidx.security:security-crypto dependency, the minSdkVersion is currently set to 23 while Android 5 is 21. I have just finalized testing of #35 which will bring support to >= 21.