-
-
Notifications
You must be signed in to change notification settings - Fork 521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Android] setGenericPassword not working on Samsung devices: "Attempt to invoke virtual method 'getPublicKey()' on a null object reference" #403
Comments
Hi, |
Seeing it also |
Hi @AlexD10S, did you find any solution to this? |
I have eventually removed this library from my project and moved to Expo's SecureStore and LocalAuthentication libraries. I would love to come back to this library once this is fixed tho. |
Thanks @SocialBrothersDEV! |
I have the same problem on Huawei |
I have the same problem with Nokia (API Level 29) |
Any updates for this problem? Did anyone solved it? |
Same here. Samsung... Android 10, One UI 2.0 |
Same for Samsung Galaxy S20 (Android 11), Samsung Galaxy S10 (Android 11), Samsung Galaxy A71 (Android 11), Samsung Galaxy S7 edge (Android 8), Nokia 7.2 (Android 10) |
I'm following this issue as it appears to be critical. It is NOT happening on real device Samsung A50 with Android 10 OneUI2.5. At least when using setGenericPassword/getGenericPassword. Does it happen when you call it normally with no options at all? Just the service option, username and password? |
Hey guys! Got similar problem. In my app's flow, I was initially using Through trial and errors I found out, that in that case I had to previously use If this is your case, you may give this workaround a try. |
Hi I had the problem with setInternetCredentials. But I changed setInternetCredentials to setGenericPassword and the problem disappeared. |
Any updates????? it works for several days, but fail now on my xiaomi device(android11). |
Any update? I followed @aleksterm advice, but still, get this error log sometimes. |
Same issue Android. Nothing helped |
The same issue on Andorid.
|
Any updates on this, guys? |
Hi guys, I solved this issue by calling set/get/reset GenericPassword with the same service and making sure to reset before setting a new GenericPassword. |
First of all, thanks for this library. It has helped me a lot already.
However, i am running into an issue on Samsung devices when calling
setGenericPassword()
.I am currently invoking the method like this:
However when i do this i am getting this error on Android:
Please let me know how i can fix this, my app is going to production soon.
The text was updated successfully, but these errors were encountered: