Start a new topic

Interacting in ARview breaks keyboard

Interacting in ARview breaks keyboard


The issue I'm having is essentailly the same one as, but it's not marked as a question so I'm re-posting it.

Say I have a phonegap app with a simple HTML page. The page has a textbox and a button to launch an ARview. If I launch the ARview and interact with it (press a button, etc), and then close the ARview (through the WikitudePlugin.close() command), clicking on the textbox will no longer bring up the soft keyboard. In fact there is nothing I can do to bring the soft/virtual keyboard back without restarting the app.

This problem seems to happen most (but not only) when I launch and close the ARview multiple times, but never happens unless I interact with the ARview. Launching and pressing the back button does not cause this issue.

I am using WikitudeSDK 3.2.1. Any ideas why this is happening?

This is happening on the Nexus 4 and I just confirmed that it still occurs on the Nexus 5, both phones running Android version 4.4.2 KitKat.

We are currently looking into a solution for this. Unfortunately changes made to Android 4.4 and the way we are integrated with Phonegap makes this not easy to pinpoint and fix. Please stay tuned as we are working on a fix.

Hi Wolfgang,

Thanks for your reply. It's good to know that the issue is being looked at. Good luck with your search!

I have updated to the lastest versions of the WikitudeSDK and Phonegap plugin, but I'm still encountering this problem.


I've put together a minimal demo app that displays this behavior here:

Any idea why this is happening?

We will have a look at this. Thanks for providing us with the tools to easily reproduce this.

In the meantime can you check if hiding the keyboard explicitly before launching into the AR View resolves the problem? It might be a workaround until there is a fix available.

Hi Wolfgang,

I've attempted hiding the keyboard both by clicking the close button and removing focus from an input field, and it does not seem to have any effect.

I've also tried using a Phonegap plugin to programatically show and hide the keyboard and have not had success with that either.

For reference, this is being testing on a Nexus 4 and Nexus 5, both running Android 4.4.

okay, thanks. We'll make sure to test on those devices.

Hi Wolfgang,

My colleague was able to modify the WIkitude Phonegap plugin to correct this issue. You can see his pull request here:
Login or Signup to post a comment