-
Notifications
You must be signed in to change notification settings - Fork 25k
Add iOS 12 textContentType options #21079
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
Conversation
| | 'username' | ||
| | 'password' | ||
| | 'newPassword' | ||
| | 'oneTimeCode' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no-trailing-spaces: Trailing spaces not allowed.
0f5eeb8 to
250da76
Compare
facebook-github-bot
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TheSavior is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
|
@ultramiraculous merged commit 644fc57 into Once this commit is added to a release, you will see the corresponding version tag below the description at 644fc57. If the commit has a single |
Summary: Adding the new `textContentType` options from iOS 12. `newPassword` helps the OS know to put a password field into the keychain, and `oneTimeCode` hints that the field will take input from an SMS one time code. Pull Request resolved: facebook#21079 Differential Revision: D9813328 Pulled By: TheSavior fbshipit-source-id: d2c04b41121b32f185af38ea4c642924e261a043
Summary: Adding the new `textContentType` options from iOS 12. `newPassword` helps the OS know to put a password field into the keychain, and `oneTimeCode` hints that the field will take input from an SMS one time code. Pull Request resolved: #21079 Differential Revision: D9813328 Pulled By: TheSavior fbshipit-source-id: d2c04b41121b32f185af38ea4c642924e261a043
Summary: Adding the new `textContentType` options from iOS 12. `newPassword` helps the OS know to put a password field into the keychain, and `oneTimeCode` hints that the field will take input from an SMS one time code. Pull Request resolved: facebook#21079 Differential Revision: D9813328 Pulled By: TheSavior fbshipit-source-id: d2c04b41121b32f185af38ea4c642924e261a043
Adding the new
textContentTypeoptions from iOS 12.newPasswordhelps the OS know to put a password field into the keychain, andoneTimeCodehints that the field will take input from an SMS one time code.Test Plan:
The flow-typing for the new types should work like the others. Functionally there shouldn't be much to break because the API on the iOS side is taking a string and doesn't break if you give it new input.
Release Notes:
[IOS] [ENHANCEMENT] [ReactNative] - Add iOS 12
textContentTypeoptions forTextInput