78 lines
2.1 KiB
TypeScript
78 lines
2.1 KiB
TypeScript
// Metro module 1843 (f1844).
|
|
import Logger from "../debug/Logger";
|
|
import { isIOS } from "../../_bundle/Module501";
|
|
let c1555_2 = new Logger("KeyboardStateDebugging");
|
|
const r22 = {
|
|
channelSafeAreaBottomLayoutHeightChanged: (a0) => {
|
|
if (!isIOS()) {
|
|
c1555_2.info("ChannelSafeAreaBottom layout height changed.", {
|
|
layoutHeight: a0
|
|
});
|
|
}
|
|
},
|
|
channelSafeAreaBottomLayoutHeightMismatch: (a0, a1) => {
|
|
if (!isIOS()) {
|
|
c1555_2.warn("ChannelSafeAreaBottom layout height mismatch.", {
|
|
layoutHeight: a0,
|
|
reportedKeyboardHeight: a1
|
|
});
|
|
}
|
|
},
|
|
keyboardControllerKeyboardWillShow: (a0) => {
|
|
if (!isIOS()) {
|
|
c1555_2.info("KeyboardController keyboardWillShow.", {
|
|
height: a0
|
|
});
|
|
}
|
|
},
|
|
keyboardControllerKeyboardDidShow: function keyboardControllerKeyboardDidShow(a0, rootProvider = false) {
|
|
if (!isIOS()) {
|
|
c1555_2.info("KeyboardController keyboardDidShow.", {
|
|
height: a0,
|
|
rootProvider
|
|
});
|
|
}
|
|
},
|
|
keyboardControllerWorkletEvent: function keyboardControllerWorkletEvent(a0, a1, rootProvider = false) {
|
|
if (!isIOS()) {
|
|
c1555_2.info(`KeyboardController worklet ${a0}.`, {
|
|
height: a1,
|
|
rootProvider
|
|
});
|
|
}
|
|
},
|
|
keyboardControllerKeyboardWillHide: () => {
|
|
if (!isIOS()) {
|
|
c1555_2.info("KeyboardController keyboardWillHide.");
|
|
}
|
|
},
|
|
keyboardControllerKeyboardDidHide: function keyboardControllerKeyboardDidHide(rootProvider = false) {
|
|
if (!isIOS()) {
|
|
c1555_2.info("KeyboardController keyboardDidHide.", {
|
|
rootProvider
|
|
});
|
|
}
|
|
},
|
|
reactNativeKeyboardDidShow: (a0, a1) => {
|
|
if (!isIOS()) {
|
|
c1555_2.info("ReactNativeKeyboard didShow.", {
|
|
height: a0,
|
|
location: a1
|
|
});
|
|
}
|
|
},
|
|
reactNativeKeyboardDidHide: (a0) => {
|
|
if (!isIOS()) {
|
|
c1555_2.info("ReactNativeKeyboard didHide.", {
|
|
location: a0
|
|
});
|
|
}
|
|
},
|
|
markPotentialBadState: () => {
|
|
if (!isIOS()) {
|
|
c1555_2.warn("Marking potential bad state from user, check logs above.");
|
|
}
|
|
}
|
|
};
|
|
export default r22;
|