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

Password saving popup for iOS

Open SruthiStk opened this issue 3 years ago • 4 comments

I used react-native-keychain library for password saving option in iOS (react native) then,

called onpress Login

const credentials= await Keychain.setGenericPassword(email, password)

on successful login

Keychain.getGenericPassword().then(res => console.log("Keychain saved credentials", res)).catch(err => console.log(err))

then it returns

Keychain saved credentials", {username: "[email protected]", password: "xxxxxx", storage: "keychain", service: "xxx.xyz.vvv"}

But the problem is that it doesn't ask to save the password popup after submitting the credentials on an iOS phone. Does anyone have any idea about this?

SruthiStk avatar Dec 02 '22 07:12 SruthiStk

@SruthiStk maybe you can try this : https://reactnative.dev/docs/0.70/textinput#textcontenttype-ios

ruofanwei avatar Feb 20 '23 05:02 ruofanwei

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

BraveEvidence avatar Feb 25 '23 14:02 BraveEvidence