check if keyboard is focused

maybe I’m just not researching right but is there a way to check if the native keyboard is currently visible/focused?

not a big deal if not but I would like to avoid static vars.

help appreciated

Hi Roman,

For this, I believe you’ll need to store the value in a variable, setting it true when you display the keyboard and false when hiding it. The “native.setKeyboardFocus()” API is set-only, not read.

Best regards,

Brent Sorrentino

Hi Brent,

Thanks for the answer!

Best regards,

Roman

Hi Roman,

For this, I believe you’ll need to store the value in a variable, setting it true when you display the keyboard and false when hiding it. The “native.setKeyboardFocus()” API is set-only, not read.

Best regards,

Brent Sorrentino

Hi Brent,

Thanks for the answer!

Best regards,

Roman