Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

ios: specify the correct keyboard type and content

Dominik Wagner48a58f8dae4b
diff --git a/react/features/settings/components/native/SettingsView.js b/react/features/settings/components/native/SettingsView.js
index c5decf726b..2a7a6d50a9 100644
--- a/react/features/settings/components/native/SettingsView.js
+++ b/react/features/settings/components/native/SettingsView.js
@@ -160,6 +160,7 @@ class SettingsView extends AbstractSettingsView<Props, State> {
autoCorrect = { false }
onChangeText = { this._onChangeDisplayName }
placeholder = 'John Doe'
+ textContentType = { 'name' } // iOS only
value = { displayName } />
</FormRow>
<FormRow
@@ -171,6 +172,7 @@ class SettingsView extends AbstractSettingsView<Props, State> {
keyboardType = { 'email-address' }
onChangeText = { this._onChangeEmail }
placeholder = '[email protected]'
+ textContentType = { 'emailAddress' } // iOS only
value = { email } />
</FormRow>
<FormSectionHeader
@@ -183,9 +185,11 @@ class SettingsView extends AbstractSettingsView<Props, State> {
autoCapitalize = 'none'
autoCorrect = { false }
editable = { this.props._serverURLChangeEnabled }
+ keyboardType = { 'url' }
onBlur = { this._onBlurServerURL }
onChangeText = { this._onChangeServerURL }
placeholder = { this.props._serverURL }
+ textContentType = { 'URL' } // iOS only
value = { serverURL } />
</FormRow>
<FormRow
@@ -205,12 +209,12 @@ class SettingsView extends AbstractSettingsView<Props, State> {
<FormRow
label = 'settingsView.version'>
<Text>
- { `${AppInfo.version} build ${AppInfo.buildNumber}` }
+ {`${AppInfo.version} build ${AppInfo.buildNumber}`}
</Text>
</FormRow>
<FormSectionHeader
label = 'settingsView.advanced' />
- { this._renderAdvancedSettings() }
+ {this._renderAdvancedSettings()}
</ScrollView>
</JitsiModal>
);