React-native-keychain: method encrypt in class Cipher Storage KeystorE cannot be applied to given types; return encrypt(service, username, password);'

Created on 13 Feb 2019  路  7Comments  路  Source: oblador/react-native-keychain

Started getting this error on android(DeviceAvailability.java) with latest update that happened like 3 hours ago.

I had to go back to use earlier version 3.0.0 for my app to work
ERROR
node_modules/react-native-keychain/android/src/main/java/com/oblador/keychain/cipherStorage/CipherStorageKeystoreAESCBC.java:111: error: method encrypt in class CipherStorageKeystoreAESCBC cannot be applied to given types;
return encrypt(service, username, password);
^
required: String,String,String,SecurityLevel
found: String,String,String
reason: actual and formal argument lists differ in length

Most helpful comment

All 7 comments

i was just about to report this. thanks

trying 3.1.1 now

ok looks like it worked thanks!

fixed

Was this page helpful?
0 / 5 - 0 ratings