iOS 13 gyroscope changes

Q&A about the latest versions
Jmondo
Posts: 73
Joined: Thu Nov 16, 2017 11:10 am

Hi Hopki,

I'm having trouble creating an object (an image with iOS 13 specific gyro instruction) that is visible only for ios 13 users who first come to the site, but that isn't visible when the same user comes back to the site and has already allowed access to the gyro. I've tried so many iterations and I just can't figure it out.

I am able to make the object appear for only ios13 users, but I can't make it not appear when I refresh the page after access is allowed. Here is how I'm making it appear: The object is not visible when loaded, and has the following logic block... trigger>operating system iOS AND gyro available = True THEN visible: true

I have to specify "gyro available = true", because I have a separate object for iOS 12 users that requires a different logic block with "gyro available = false"

Can you advise?

Thanks!
Jesse
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Jesse,
The magic for iOS 13 is built into the player.
So on first visit and activation, you will see the dialogue box.
After this, you will not see it again.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Jmondo
Posts: 73
Joined: Thu Nov 16, 2017 11:10 am

Hi Hopki, thanks for your response. I understand that the iOS dialogue box only appears once (until you clear history or close out safari).

I'm referring to a graphic created in the skin that only appears if the iOS 13 user has not yet allowed motion and orientation. For example, I would like to have instruction for a first time iOS 13 user that says "to enable your gyroscope, please click 'allow' on the following dialogue box". But I would like that instruction to NOT appear when the user returns to the site. Is that possible?

Also:
Instead of having a button to trigger the iOS dialogue box, I would prefer to trigger it when the page first loads with the "Enable Gyro" action using Source: Start (which is attached to my load bar), but that doesn't work...

It seems to require a Mouse Click to call the iOS dialogue box.

Is the necessity of a "mouse click" dictated by the operating system, or is there another way to trigger the dialogue box on Start?

Thanks,
Jesse
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Jesse,
I will have to speak to the developers, sadly this new way reports that the gyro is available even though you can not use it!
I would have thought as the gyro is not working, iOS would report that the gyro is not available until you to allow it.
But sadly this is not the case so I can not see a way to get the logic blocks to do as you want.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
LProbert
Posts: 92
Joined: Thu May 21, 2020 11:53 am

I'm running Pano2VR 6.1.8 and I don't get prompted for the Motion permissions, even after clearing my settings. Has there been a change?
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Is your project on line anywhere so we can have a look?
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
LProbert
Posts: 92
Joined: Thu May 21, 2020 11:53 am

The domain is not secure (https) and you can see a warning in the Web Developer Tools on Safari. It would be great if the player provided an event that we could handle to hide the gyro button or show an alert.
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi LProbert,
I hear what you're saying, but if you know it's not going to be hosted on a server with no secure connection (https) then deselect the gyro button and disable VR.
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply