Start a new topic
Solved

Failed to load architect.js

Hi,


When I load my index.html file I get the following:


 If I use https://www.wikitude.com/libs/architect.js and meta tag

“<meta http-equiv="Content-Security-Policy" content="default-src * gap://ready file:; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'">”

I get “Refused to load the script 'https://www.wikitude.com/libs/architect.js' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline' 'unsafe-eval'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.”


1. If I use https://www.wikitude.com/libs/architect.js and meta tag

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

I get “architect.js:1 Failed to load resource: the server responded with a status of 404 ()”.



What can I do? Also, I don't know if I can have access to the architect.js file. That would be great.


Hi!

I was able to run the app I was building using the Wiitude Cordova Plugin successfully. I already marked this post as solved, but than for the attention.

The only pitty I have is that the plugin is too damn expensive. Could n't you make a less expensive pack?

Kind regards,

Andi

Hello,


Could you please provide further details on the issue:

  • Which version of the SDK are you using?
  • Are you using the JS API?
  • Are you using any of our Extensions (Titanium, Cordova, Xamarin, Unity)? If yes, which version are you using?


Could you please also refer to the below forum posts and see if you can solve your issue?


Thank you,

Eva

Login or Signup to post a comment