We use appium<1.2.4> with java/node, we need to click on soft keyboards "Done" Action. is there any way to achive this?

I also faced the same issue with sign up button, but it got resolved for me as below.
driver.finByElement(By.xpath(“signup button property”).sendKeyes(Keys.RETURN);
driver.finByElement(By.xpath(“signup button property”).click();