react-native-keychain icon indicating copy to clipboard operation
react-native-keychain copied to clipboard

Keychain setGenericPassword doesn't work on some android devices es (oppo, xiaomi redmi 9c)

Open fadime-ozdemir opened this issue 3 years ago • 8 comments

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

fadime-ozdemir avatar Apr 27 '22 07:04 fadime-ozdemir

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?

fondue-tech avatar May 12 '22 08:05 fondue-tech

I couldn't fix it. Have you managed to fix it?? Do you have any suggestions?

fadime-ozdemir avatar May 13 '22 15:05 fadime-ozdemir

@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 avatar May 13 '22 15:05 fondue-tech

@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.

fadime-ozdemir avatar May 16 '22 05:05 fadime-ozdemir

@fondue-tech I solved this problem, here this one worked for me. link

fadime-ozdemir avatar May 17 '22 05:05 fadime-ozdemir

@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

fondue-tech avatar May 17 '22 09:05 fondue-tech

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: @.***>

fadime-ozdemir avatar Oct 11 '22 07:10 fadime-ozdemir

This will help https://www.youtube.com/watch?v=J0OSn7s9YiA&list=PLQhQEGkwKZUrempLnmxjt7ZCZJu1W3p2i&index=15

BraveEvidence avatar Feb 25 '23 14:02 BraveEvidence