iOS 13 gyroscope changes

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

Re: iOS 13 gyroscope changes

Post by Jmondo » Sun Oct 06, 2019 12:58 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: 9496
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: iOS 13 gyroscope changes

Post by Hopki » Tue Oct 08, 2019 5:24 pm

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

Jmondo
Posts: 32
Joined: Thu Nov 16, 2017 11:10 am

Re: iOS 13 gyroscope changes

Post by Jmondo » Wed Oct 09, 2019 2:59 pm

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: 9496
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: iOS 13 gyroscope changes

Post by Hopki » Thu Oct 10, 2019 11:42 pm

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

Post Reply

Who is online

Users browsing this forum: Google [Bot], Sergey Burov and 11 guests