Hi,
I have problems with:
public static Action<bool, int> OnKeyboardAction = delegate { };
it does not trigger even when I subscribe with MobileInput.OnKeyboardAction += OnKeyboardAction; in Awake() fce. Do I need to subscribe to instances of MobileInputField? Or somehow set the Action to MobileInput? The Action itself is public...
You are using
const string KEYBOARD_ACTION = "KEYBOARD";
and
switch (action) {
case KEYBOARD_ACTION:
bool isShow = response["show"];
int height = response["height"];
OnKeyboardAction(isShow, height);
return;
Tested on iOS, iphone 16.
In the meantime I have implemented my own keyboard detection logic outside UMI. Just reporting it is not working as expected.
Hi,
I have problems with:
public static Action<bool, int> OnKeyboardAction = delegate { };it does not trigger even when I subscribe with
MobileInput.OnKeyboardAction += OnKeyboardAction;in Awake() fce. Do I need to subscribe to instances of MobileInputField? Or somehow set the Action to MobileInput? The Action itself is public...You are using
const string KEYBOARD_ACTION = "KEYBOARD";and
Tested on iOS, iphone 16.
In the meantime I have implemented my own keyboard detection logic outside UMI. Just reporting it is not working as expected.