Fix form keyboard issues and sticky footers in agent screens
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import ReactNativeHapticFeedback from 'react-native-haptic-feedback';
|
||||
|
||||
const options = {
|
||||
enableVibrateFallback: true,
|
||||
ignoreAndroidSystemSettings: false,
|
||||
};
|
||||
|
||||
export const haptics = {
|
||||
success() {
|
||||
ReactNativeHapticFeedback.trigger('notificationSuccess', options);
|
||||
},
|
||||
error() {
|
||||
ReactNativeHapticFeedback.trigger('notificationError', options);
|
||||
},
|
||||
selection() {
|
||||
ReactNativeHapticFeedback.trigger('selection', options);
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user