I purchased the plugin and am experiencing your plugin, but I can not go back in the list of examples after they are entered in a page of world. I would like to add a button to make me go back to the list. How can I do. You could insert a back button in your examples . Thanks
A
Andreas Schacherbauer
said
over 5 years ago
Hi Marco, I guess you're talking about the Wikitude iOS Cordova Plugin? The Plugin implements the standard iOS functionality 'swipe from the left edge into the screen' back gesture. So simply swipe from the left edge of the screen into the middle of the screen and the plugin will close itself. You can add a button in your architect world which then uses the architectsdk:// protocol to communicate with the Cordova application where you then can close the Plugin programatically. There is also knowledge base article available, which describes the mentioned communication in more detail.
Best regards
Andreas
M
Marco Cecchini
said
over 5 years ago
Hello, thank for reply. But I just read all documentation and forum an your link without success. I have app for Android and IOS
My application as a base your example ... and when they are active on the screen with the camera I want to go back to to list of example with a button in header . >. I want uniform UI for all platform and in header I but button for back to list.
On the 'world /6_BrowsingPois_5_..../ index.html' of your example. I tried without success:
.....
<div id ="header-status" data-role="header" data-position="fixed" data-theme="b">
function closeWikitudePlugin(){ document.location = 'architectsdk://actionButton?action=close'; document.location.href = '../../index.html'
} NOT WORK ......
function closeWikitudePlugin(){ app.WikitudePlugin.close; document.location.href = '../../index.html' } NOT WORK ....... function closeWikitudePlugin(){ window.history.back(); } NOT WORK </script>
Marco Cecchini
1 person has this problem