Keychain setGenericPassword doesn't work on some android devices es (oppo, xiaomi redmi 9c)
when I call Keychain setGenericPassword with my credentials I get the following error.
Attempt to invoke virtual method 'void com.oblador.keychain.cipherStorage.CipherStorageFacebookConceal.throwIfInsufficientLevel(com.oblador.keychain.SecurityLevel)' on a null object reference
This issue appeard out of nothing. I get exactly the same issue on every device I test. I tried to trace back git changes but I can't find reason for this behaviour. @fadime-ozdemir were you able to fix it?
@vonovak do you have idea by any chance?
I couldn't fix it. Have you managed to fix it?? Do you have any suggestions?
@fadime-ozdemir sadly not. It's really strange issue. This problem suddenly show up without any reason. I have tried to clear the build cache and yarn cache but it didn't fix the problem. On IOS everything works fine without any single problem. One of my collegues installed new version and somehow it works on his device, on mine it does not nether on device nor emulator.
It looks like some Bridge problem.
I'm hoping anyone knows whats going on. Otherwise i'll probably switch to expo secure storage.
@fondue-tech this problem didn't happen when my friend build the same app on her pc with my phone. Maybe we did something wrong with the installation of java or android studio or react native. I still can't make it work with my PC's build.
@fondue-tech I solved this problem, here this one worked for me. link
@fadime-ozdemir wow! This was unexpected, it seems as if they added it recently. Thank you so much ! This also fixed problem in my application
Unlucky not
Il gio 12 mag 2022, 11:19 fondue-tech @.***> ha scritto:
This issue appeard out of nothing. I get exactly the same issue on every device I test. I tried to trace back git changes but I can't find reason for this behaviour. @fadime-ozdemir https://github.com/fadime-ozdemir were you able to fix it?
— Reply to this email directly, view it on GitHub https://github.com/oblador/react-native-keychain/issues/537#issuecomment-1124676182, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC7OEJPXVSFB3JBP44NCQRTVJS5IJANCNFSM5UODJRSQ . You are receiving this because you were mentioned.Message ID: @.***>
This will help https://www.youtube.com/watch?v=J0OSn7s9YiA&list=PLQhQEGkwKZUrempLnmxjt7ZCZJu1W3p2i&index=15