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
)
)