The only way this would be possible for cordova without modifying the WikitudePlugin.java is to add the tab bar to the AR-experience and then use the connection between cordova-wikitude to change the active view on click.
You could also modify the line in WikitudePlugin.java:922 to achieve a non-full-screen ARView. (This is not an ideal solution since you would need to modify it again after an SDK update).
Ah okay thanks, I'll give it a shot!
Will the modifications to the java file affect android only? If so, what would I have to modify for ios?
Somebody from Wikitude please respond... I need this for a project that's due very soon.
For iOS you need to modify the 'WTARViewController.m' that is part of the Wikitude Cordova plugin. Within this file we define that the 'WTArchitectView' is displayed fullscreen.
Simply modify line 81 '[self.architectView setFrame:self.view.bounds]' to use an frame that fits your needs e.g. 'CGRectMake(50, 50, 100, 100)'. You also need to set 'self.view.alpha = 1.0' so that you see the Cordova web view in the background.
Launching it behind Cordova would be perfect... I completely forgot that that's how the maps plugin works.
Is there a way to do this Andreas?
I'm on the same page as Michal... My lack of knowledge in Java and Objective-C prevented me from getting this to work.
Some more detailed help would be greatly appreciated.
You could put the Wikitude SDK behind the cordova web view, but this would be something you need to impl. yourself in the Wikitude Cordova plugin code. The Wikitude WTArchitectView is a standard UIView subview with which you can do whatever you want within the possibilities of Apple's iOS SDK. Per default we present the WTArchitectView within a new new view controller that we present modally on top of Cordova's default view controller (which contains the default web view).
WTARViewController.h/.m and WTWikitudePlugin.h/.m are the files you need to change.
Still haven't heard back from you... This is one of the last problems on my list of todos and it's really holding me back.
I do not completely understand your issue, please elaborate further.
Do you want to have the ARView in full size but with a navigation partially in front of it?
Do you want to have the navigation/tab bar side by side with the ARView?