I am making use of the Phonegap plugin provided by Wikitude in my project. I need to have a close button the AR view, i.e. on the camera so that I can return back to the original page from where the event was fired.
I was able to add a button in the data-role header and even get the corressponding action mapped to it, but it won't close the AR view and return.
over 7 years ago
I initially had the same problem as you but I finally managed to get it work.