Question

How to handle softkeyboard show/hide events in android and iPhone in a hybrid app uses worklight.

I'm using Worklight 6.1.0.01

Was it helpful?

Solution

The following is working fine in both android and iOS

  document.addEventListener("showkeyboard", function(){
//keyboard is ON
  }, false);
  document.addEventListener("hidekeyboard", function(){ 
//keyboard is OFF
  }, false);

Thank you

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top