software-mansion / software-mansion/react-native-screens
Android - TextInput Autofill not working
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.7k
- Forks
- 714
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 71
Description
"react-native": "0.61.4"
"react-native-screens: "2.0.0-alpha.5"
It seems that the library blocks the native autofill suggestions view. Also, there is no save password dialog after a successful login. (This dialog is auto popped-up by the Android framework).
<TextInput
placeholder={'Username'}
autoCompleteType={'email'}
/>
<TextInput
placeholder={'Password'}
autoCompleteType={'password'}
secureTextEntry={true}
/>
Setting those props should be enough to trigger the autofill mechanism.
What we tried and did not work:
- Update to a library version after the PR from #205 was merged.
- Set the TextInput width to 99% on first render and then to 100%, as suggested
- Set the TextInput editable prop to false on first render and then on true, as suggested
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is identified. Start by reproducing the provided React Native TextInput example on Android with the listed versions, then verify whether native autofill suggestions and the post-login save-password dialog appear; done means both Android behaviors work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100