Hi Dario, You don't need to/can't `launch` architect://architect.js. This file will be provided by our SDK at runtime. You don't need to worry about this. Please also note that this file is only available withing the web view that is part of our JS SDK (often also referred to as Architect).
Best regards,
Andreas
D
Darioc1981
said
over 7 years ago
Thank tou very much for your support, finally I were able to start the architect world thru loadARchitectWorld call. Apparently there were two WikitudePlugins.js in the platformandroid subfolder structure and I pur the licence key in the wrong one.
In the end I added the licence key everywhere (3 places in total) and now it works.
Still no success in launching architect://architect.js bit this sounds to be a different issue.
I thank you once again for tour help.
Dario
A
Andreas Schacherbauer
said
over 7 years ago
Hi Dario, From your first post, it seems that your .html/.js code might miss some lines in order to make our plugin work. I'm not sure what's behind the js file located at http://192.168.1.4:8080/target/target-script-min.js, but from what I see in your .html script tag, it might not be the key problem.
Can you please refer to our Cordova example application. The .js file does all the steps you need to make in your application to include our Cordova plugin. The key steps are:
* Create an instance of our Cordova plugin: app.wikitudePlugin = cordova.require("com.wikitude.phonegap.WikitudePlugin.WikitudePlugin");
* Load an Architect World: app.wikitudePlugin.loadARchitectWorld(function successFn(loadedURL)
* everything else is optional/depending on your Architect World/For better user feedback
For now I guess you simply missed the first point.
Best regards,
Andreas
D
Darioc1981
said
over 7 years ago
Hello Eva,
thanks for the answer. I am afraid no success,
Following your advice I tried different ways of referencing the path, but no success. Files are reachable, but it is apparently linked to the fact that
<script src="architect://architect.js"></script>
is not leading to the expected result, and it does not open the camera.
Any advice?
Dario
E
Eva
said
over 7 years ago
Hello Dario,
Can you please follow the instructions on these forum posts above and see if they help you fixing your issue?
Darioc1981