Add support to URI keyboard type in Android (#31781)

Summary:
Android react-native `TextInput` component does nothing if prop `keyboardType` is `url` value. This PR solves that problem.

## Changelog

[Android] [Added] - Add support to URI keyboard type in Android

Pull Request resolved: https://github.com/facebook/react-native/pull/31781

Test Plan:
Before change:

{F630980679}

After Change:

{F630986399}

Reviewed By: lunaleaps

Differential Revision: D29517822

Pulled By: sshic

fbshipit-source-id: 1bda29584a3799570f34e772b5589b59ac80c524
This commit is contained in:
Adrián Cuesta
2021-07-16 05:13:07 -07:00
committed by Facebook GitHub Bot
parent 2970de9400
commit 1465c8f387
6 changed files with 17 additions and 9 deletions
@@ -136,6 +136,7 @@ module.exports = {
* - `decimal-pad`
* - `email-address`
* - `phone-pad`
* - `url`
*
* *iOS Only*
*
@@ -143,7 +144,6 @@ module.exports = {
*
* - `ascii-capable`
* - `numbers-and-punctuation`
* - `url`
* - `name-phone-pad`
* - `twitter`
* - `web-search`
@@ -162,10 +162,10 @@ module.exports = {
'numeric',
'phone-pad',
'number-pad',
'url',
// iOS-only
'ascii-capable',
'numbers-and-punctuation',
'url',
'name-phone-pad',
'decimal-pad',
'twitter',