Home › Forums › General Questions › “Click here to enable iOS VR mode”
- This topic has 17 replies, 4 voices, and was last updated 3 years ago by Emma.
-
AuthorPosts
-
2020-10-05 at 3:20 pm #33834johngrigniCustomer
I’m trying to create an AR version of an app, and I think I’ve copied it over correctly from the ‘Augmented Reality’ sample, but it doesn’t work. I’m trying it on iOS. I have a button that’s supposed to show up if AR mode is available, but it doesn’t show (see attachment). Since everything depends on that button being clicked, nothing happens. Even in XRViewer, I just get a red bar at the top that says “Click here to enable iOS VR mode”
I’ve hosted it here:
https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:d4c42d0559/applications/Gridscape-AR/index.htmlAttachments:
You must be logged in to view attached files.2020-10-05 at 4:49 pm #33840Alexander KovelenovStaffHi,
This module is shown because you activated VR compatibility module for your app. It will try to initialize the required iOS features for cardboard devices. To remove it simply delete webxr-polyfill.js file from you app and remove the following 2 lines from your app’s html file:<script src="webxr-polyfill.js"></script> <script>var polyfill = new WebXRPolyfill();</script>
2020-10-05 at 5:04 pm #33842johngrigniCustomerThank you!
But the ARButtons collection still doesn’t show up.
2020-10-06 at 5:47 am #33852Alexander KovelenovStaff2020-10-06 at 11:29 am #33893johngrigniCustomerYes, nothing happens.
The buttons don’t show up. In fact, I remade the puzzle so they should show up, but get hidden if AR is unavailable. In other words, they are visible in the blender file, and only hidden by the puzzle. The first ‘show ARButtons’ is redundant.
It works with the ‘Augmented Reality’ file with the same app on my phone.
Attachments:
You must be logged in to view attached files.2020-10-06 at 1:14 pm #33909Alexander KovelenovStaff2020-10-06 at 1:16 pm #33910johngrigniCustomerIt is hosted on your server:
https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:d4c42d0559/applications/Gridscape-AR/index.html2020-10-06 at 2:12 pm #33914Alexander KovelenovStaff2020-10-06 at 2:18 pm #33916johngrigniCustomer<removed link>
2020-10-06 at 4:36 pm #33919Alexander KovelenovStaff2020-10-06 at 4:40 pm #33921johngrigniCustomerI’m using iPhone 8 Plus, using iOS 13.7. Do I need to upgrade to 14?
2020-10-06 at 7:12 pm #33923johngrigniCustomerI just upgraded to 14, no change
2020-10-07 at 6:43 am #33933Alexander KovelenovStaffPlease check out the following link. I’ve uploaded your app to our network directory:
https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:2cda667dca/applications/abc/Gridscape-AR.html2020-10-07 at 7:13 am #33934Alexander KovelenovStaff2020-10-07 at 11:00 am #33942johngrigniCustomerThank you very much! That was driving me crazy!
I happen to notice that Apple had an AR demo running as an easter egg for their October event, running in Safari on iOS. Do you know if they plan to make ARKit available to verge3D users? Or is it an issue of licensing fees?
PS – I’m removing the link to the source code from this thread.
-
AuthorPosts
- You must be logged in to reply to this topic.