Secure store error: E_SECURESTORE_DECRYPT_ERROR

I’m getting some new error on standalone app.
Works fine in Expo client but when build apk (Android) it shows error below error for getItemAsync

Secure store doesn’t delete the securestore data once the app is uninstalled.
so next time when this code is executed, the key is present along with the data but might be the encryption is changed so it it now able to decrypt now…

try {
    const token = await getToken();
    const language = await SecureStore.getItemAsync('language');
} catch (e) {
    alert(e)
}

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.