Device detection

I am trying to add a device detector that can identify the OS the user is on and then use that information to show or hide elements based on if the user is on Android or iOS. A lot of plugins will display the OS’s name, but I haven’t figured out how to do anything with it. I’ve tried putting the value of the element as an input box and text but I still can’t change anything based on that value.

Any help would be appreciated! TIA!

Hi,
what plugin do you use?
could you maybe provide some screenshots?
You could use “conditions” for example to show/hide elements depending on the user’s current os. (if PLUGIN’s OS-Version CONTAINS “15.0” … then show/hide elements.
Better way to set a custom state (text) on page level and after page isloaded (workflow) set this custom state to the plugin’s OS-Version. Then you are able to use the custom state for managing your conditions.

best,
jupxi

I’ve created this using Device Info. I created a database and tested on different devices and also include page width, to help detect if Mobile, Tablet or Desktop

Thanks for your reply! Since I use Natively to build mobile apps, I used their plugin to do the device detection. I figured it out!