Cannot press key search (enter) in katalon 6.2.1 appium 1.8.1

I have problem
i can’t presskey button ‘SEARCH’ (replace ‘ENTER’) from keyboard on mobile testing

i try use

AndroidDriver<?> driver = MobileDriverFactory.getDriver()
driver.pressKeyCode(AndroidKeyCode.KEYCODE_SEARCH)
and
appiumDriver<?> driver = MobileDriverFactory.getDriver()
driver.pressKey(new KeyEvent(AndroidKey.SEARCH))
and
AndroidDriver<?> driver = MobileDriverFactory.getDriver()
driver.pressKey(new KeyEvent(AndroidKey.SEARCH)
.withFlag(KeyEventFlag.SOFT_KEYBOARD)
.withFlag(KeyEventFlag.KEEP_TOUCH_MODE)
.withFlag(KeyEventFlag.EDITOR_ACTION))
and
AndroidDriver<?> driver = MobileDriverFactory.getDriver()
driver.pressKey(new KeyEvent(AndroidKey.ENTER)
.withFlag(KeyEventFlag.SOFT_KEYBOARD)
.withFlag(KeyEventFlag.KEEP_TOUCH_MODE)
.withFlag(KeyEventFlag.EDITOR_ACTION))

but not works
thanks if anyone helps me

SOLUTION (but needs Katalon 6.2.0+ and Appium 1.12.1)

AppiumDriver driver = MobileDriverFactory.getDriver()

driver.executeScript(“mobile: performEditorAction”, ImmutableMap.of(“action”, “search”))

hi qsbetatest

thank you for your help,
after I try and update my Appium to version 1.12.1 function ‘Search’ success work!!
btw i have question, we must use Appium 1.12.+?
why if use previous version (ext 1.8.1) is not work? and if i must use Appium 1.8.1 my katalon must be use which version ?

Regrads,
Putra