Open FredrikHa opened 7 years ago
Well... That's an interesting one. I'm going to have to run some tests but I won't be able to help you on this one for a few days: I'm on vacation, away from my work computer.
Anyway, normally, to "relaunch" a previously hidden world, you should call Ionicitude.show()
rather than lauching it again.
Did you understand this issue? I also have an issue with the Ionicitude.close() function. It does not respond.
Ionicitude.hide() works!
Console says so:
2016-10-19 13:25:12.957826 LEVENT[20190:5972772] architectsdk://close [object Object]
2016-10-19 13:25:12.957877 LEVENT[20190:5972772] Error in Success callbackId: WikitudePlugin1532793119 : Function required as first argument!
I have the same issues when using Ionicitude.close()
I get "Function required as first argument!" at file: lib/ionic/js/ionic.bundle.js (26794)
and when I call show() after hide() nothing happens
Hi!
Could you give me a little more detail regarding the context of your Ionicitude.close()
call?
This method of the service does nothing more than calling the Wikitude's native close()
function.
So in all honesty, I have no idea what's causing this issue ^^
Especially with an error message like the one you have, since close()
doesn't require any argument.
Mh not really funny thing is when I call WikitudePlugin.close() it works not sure whats the problem here
Do you call Ionicitude.close ()
inside an action, like this?
Ionicitude.addAction (myAction);
function myAction () {
Ionicitude.close ();
}
If it's the case, try using the service
argument instead, that is passed to an action when it is called:
Ionicitude.addAction (myAction);
function myAction (service) {
service.close ();
}
Gonna try it on monday thank You very much
Did You already Experiment with the wikitude Plugin API?
Hum... not sure to understand what you mean by that.
It's me again! After calling 'Ionicitude.hide();', it won't open the Ar-world. This is only happening on Android.
When I run the command 'launcAr('world')' this is the console in android studio: D/ViewRootImpl: ViewPostImeInputStage processPointer 0 D/ViewRootImpl: ViewPostImeInputStage processPointer 1 I/chromium: [INFO:CONSOLE(340)] "launch", source: file:///android_asset/www/lib/ionicitude/dist/ionicitude.js (340)
First launch is running perfectly!