"Is Mobile" doesn't apear to work

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
mbb
Posts: 276
Joined: Mon Oct 19, 2009 11:42 pm

P2VR v.6 b2, Win10

Working on making my tour responsive and it appears "Is Mobile" has no effect in triggering my alternate values in logic blocks. At least not on my Android phone (Nexus 6P) which I certainly would expect to be seen as "Is Mobile". Just what is "Is Mobile" using for determining if a device is mobile?
User avatar
Hopki
Gnome
Posts: 13024
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
The "Is Mobile" is looking for iOS, Android and MS Mobile user agents.
So this should work!
I ha iPhone, iPad, Galaxy S7 and Nexus 9 (HTC) all work.
I have used a text box with Is Mobile to change colour of background and text, so Is Mobile invert the colours.
Also used the Is Mobile in the Visible Logic block.

I also use Chrome developer mode, it has the emulation for:

Screen Shot 2018-05-10 at 19.19.50.png
Screen Shot 2018-05-10 at 19.19.50.png (204.61 KiB) Viewed 2107 times

All work apart from:
Kindle Fire HDX
BlackBerry Z30
BlackBerry PlayBook
And the Laptops

The Nexus 6p also worked but have learnt not to trust this completely.
I will attach my project that I used just encase you have something else that is braking it in yours.
If you do can you post your skin.
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/
mbb
Posts: 276
Joined: Mon Oct 19, 2009 11:42 pm

I am using "Is Mobile" to set different sizes in size logic blocks. Perhaps it may be similar issue as the "Visited" problems with certain logic blocks discussed earlier?
User avatar
Hopki
Gnome
Posts: 13024
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Yeah thats what I was thinking but I have used a Galaxy S7 and the HTC Nexus 9, both Android devices and the Is Mobile is working:
I have used Is Mobile for position, size, Angle, Visible, Alpha, background colour and border colour in a rectangle.
All working.

Which element are you using?
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/
mbb
Posts: 276
Joined: Mon Oct 19, 2009 11:42 pm

well crap, I have it working now. I had it set on the *container* of elements instead of the individual elements. Keep forgetting that containers don't always act as "groups" with certain operations. Sorry!
User avatar
Hopki
Gnome
Posts: 13024
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

No worries, Id rather test something that is not broke then not test something that is :wink:
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/
Post Reply