-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onWikitude error – "The URL can’t be shown" #123
Comments
Hi again, was wondering if one of the plugin wikitude maintainers had time to assist with this issue, it is currently a large blocker. Thanks for the help |
Hi, so far, this doesn't ring a bell yet. Do you maybe have something for me to build, run and look at? Preferably a small project that demonstrates the issue. Ideally, I'd like you to reproduce the issue in our Cordova sample app or provide the steps required for me to do so. Daniel |
Thanks for the response @danielguttenberg, I would like to send you the project so you could take a look but unfortunately cannot. I can try to explain how the application is structured and how we are loading the wikitude plugin though. Here is the project structure that concerns how wikitude is being loaded.
cordova is loading the wikitude plugin in Here is the code for those files:
I know this is a lot to read, but if you can take a look at the application structure and have any ideas about where the issue may be arising it would be much appreciated. |
hi @pauwlsky, Another question: Are you using the latest version of the Wikitude Cordova plugin? I'm asking because the error message you mentioned in the title is not a string in any of our repos (according to grep). Best regards, |
Hello @AndreasSchacherbauerWikitude, Thanks for responding to my thread. Haven't tried integrating the plugin with a non react app. But to give you some back story on my situation, I have been put on a project that is now in beta that is a Cordova React app, the majority of the code and functionality is already finished and for the most part the plugin has been working just fine. The issue occurs randomly when loading the AR world, there has been no pattern we can find around when or why this error occurs after closing the Wikitude ARworld and then navigating back to the part of the app that opens it. One method that will usually resolve the bug, is routing the user to to a loading screen after the error, and then setting a timeout to attempt the ARWorld load again. This can sometimes cause a loop of successive errors where the app is unable to load indexAR.html, but the app is always able to eventually load it. This solution is NOT good, to say the least. We are using WikitudePlugin version 6.1.0 with Cordova version 6.5.0 and Cordova ios version 4.4.0. Thanks again |
Hello again, Started making improvements again to the current state of this project and am still working to resolve this issue. I did just update to the latest release of the plugin (7.0.0), but am still getting the same error. On further research I've come across why this error can occur in the apple developer forums: https://forums.developer.apple.com/thread/64841 One of the developers on our team with more swift experience is trying to resolve, but any recommendations your team has on further troubleshooting is appreciated. Thanks |
@AndreasSchacherbauer one issue I realized above, cordova.js is being included in indexAr.js, which I've read could be an issue? We have not been using any cordova functionality in the AR world since you cannot do this, but might loading these scripts cause some issue in loading the AR world? |
@pauwlsky , |
@AndreasSchacherbauer indexAr.js is one of the source files in our project. Basically, this is the react web app and the components that it made up of which are rendered in indexAr.html Please see my explanation above of the project structure. We think that we have solved the issue for the time being by removing cordova.js from indexAr.html, but are continuing to watch for it. |
Hi,
I've recently taken over the work on a react cordova application that uses your plugin. Thanks for all your hard work.
I am getting this error very commonly when calling
loadARchitectWorld
pretty consistently though. This issue resolves when routing to a different view and then rerouting back to the component which mounts the AR World.Haven't been able to find the root of the problem, previously we had conflicts in our project between the cordova file plugin and the wikitude plugin. Could be how our application is structured though.
I've read your docs and am not seeing any major flags in how our application was setup. Any recommendations about how to troubleshoot this would be much appreciated.
Thanks much
The text was updated successfully, but these errors were encountered: