react-native-mmkv-storage: [Bug] Android Review Rejected Unsafe Cipher Mode
Hello all,
I’m not sure if this but is 100% related to this library, but it’s the only place where i found the code that is causing the issue. So if it’s not, I apologize in advance.
I’ve used this library before on another application a while back and it was accepted and listed on the Android store. Since then I believe Android updated it’s security requirements.
Apparently Android doesn’t accept getInstance("AES");
and the only place I was able to find this in my code is in this library within SecureKeystore.java file.
The screenshot attached is from the Android Play Console, and the link mentioned on the screenshot is https://support.google.com/faqs/answer/10046138
I’m using react 0.66 and the library version installed is 0.6.6
- Has anybody seen this lately?
- Could changing this to
getInstance(Constants.AES_ALGORITHM);
fix the problem?
If any additional information needed please let me know. Till then I will be testing changing the code as mentioned on the second point and will update this if it works.
Regards,
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 2
- Comments: 20 (6 by maintainers)
@ammarahm-ed Looks like it’s good to go. No security error was reported in the pre-launch report details.
I’ve just uploaded a new version to Internal Testing with a small change, let’s see if it fixes the issue or not. I’ll report the updates here.