How-to check if a user is using a mobile device or a web-browser

With the code below, you set a global variable “glb_MobileDevice” which is true on a Mobile device and false when using a web-browser.

Set(
    glb_MobileDevice,
    If(
        (Location.Altitude <> 0) || (Acceleration.X <> 0),
        true,
        false
    )
)

Leave a Reply

Your email address will not be published. Required fields are marked *