A few more things you can try if the pressKey
functions aren’t working:
Execute an Appium script:
driver.executeScript("mobile:performEditorAction", ImmutableMap.of("action", "done"));
Send a newline character into your current text field:
textFieldElement.sendKeys('\n')
Just hide the keyboard:
driver.hideKeyboard()
– Chris