I am having a text-input in react-native and I want to apply my custom keyboard on input field and hide the soft keyboard on focus. I tried by setting the showSoftInputOnFocus to false, but this prop is available only on Android. How can I achieve this?
My textinput looks something like this
<Text style={styles.symbol}>$</Text>
<TextInput
onFocus={() => onFocus('salesPrice')}
value={tabDetails.salesPrice}
onChangeText={value => onStateChange('salesPrice', value)}
placeholderTextColor={colors.placeholderColor}
placeholder={constants.common.zeroPlaceholder}
showSoftInputOnFocus={false}
style={styles.textInput}
onEndEditing={event =>
onEndEditing('salesPrice', event.nativeEvent.text)
}
/>