我已经试图将
react-native
props提供给用户名和密码textInput
Https://reaectnative.dev/docs/textinput#autocosteteautoComplete
如果我使用 <TextInput
autoComplete="username"
importantForAutofill='yes'
...
/>
<TextInput
autoComplete="password"
importantForAutofill='yes'
...
/>
props。 我错过了Android侧设置的东西?成功显示Google Manager,并在成功登录后保存密码功能
确保您使用的是AutoComplete Prop而不是TextContentType,这仅是iOS。 AutoComplete专门用于处理iOS和Android的React Native中的自动填充。 如果使用两者,它将落后于TextContentType,以使其向后兼容。
Https://reaectnative.dev/docs/0.75/textinput#textconttype-ios