I've done some research but, at the time of writing, I cannot find any way of a React Native app integrating with the new iOS 11 password autofilling system.
Do we need to use entitlement certificates (as mentioned here: Password AutoFill for iOS App and https://willowtreeapps.com/ideas/password-autofill-in-ios-11)
The part I'm not sure is how that integrates with React Native?!
Unfortunately this requires React Native's TextInput
to bridge the native UITextContentType
. The good news is that there is an open pull request that will add this functionality:
https://github.com/facebook/react-native/pull/18526
Once merged, you can support the password auto-fill like so:
<TextInput
value={this.state.username}
textContentType="username"
/>
<TextInput
value={this.state.password}
secureTextEntry={true}
textContentType="password"
/>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With