react-native-keychain: Encrypt and decrypt failing on latest Samsung OS
This might not be related to this library, but I am opening a issue to discuss, in case it is or others are facing the same problem.
Description
From the latest OS update on Samsung phones (October 2023), a lot of devices has started failing encrypting and decrypting with the library. It is only Samsung phones on the newest OS, and it fails every time.
Versions
RN: 0.72.5 React-native-keychain: 8.1.2
Error
Could not decrypt data with alias:
and
Could not encrypt data with alias:
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 14
- Comments: 18
We have started to see this issue again with Samsung Galaxy S24 Ultra devices. Are others experiencing the same problem?
Suspect that this is the reason: https://www.sammobile.com/news/galaxy-s24-june-2024-security-update-europe
Hi, I’m using react-native-keychain@8.2.0 and all my users that have a Samsung S25, Keychain Storage is not working correctly for them. Asked them for a screenshot and they have the latest software update and security patch installed.
I just received feedback from a customer stating that the latest update from Samsung has made our app work again. https://doc.samsungmobile.com/SM-G988B/DBT/doc.html
Hi again!
We’re once more experiencing issues specifically with Samsung devices. Are others also seeing this?
Based on what I’m seeing, affected users have the
"osBuild": "TP1A.220624.014.G986BXXSMHXJ2". The timing of when these errors started occurring aligns with the release date of this patch. https://www.sammobile.com/samsung/firmware/SM-G986B/#SM-G986BJust got this on my S24 as well, shortly after installing the June security update. Tested on my S21 after installing the June security update and was not able to reproduce it.