Skip to content

inkeliz/gioismobile

Repository files navigation

IsMobile()

A simple function to detect if the user is using a mobile device.


It have two functions:

  • IsMobile(): Returns true if the user is using a mobile device, false otherwise.
  • OS(): Returns the name of the operating system of the user (Android, iOS, MacOS, Windows).

Support for Linux and other operating systems will not be added, as the function is intended to be used in web development, where the vast majority of users use Android, iOS, MacOS or Windows.

About

IsMobile() ? Small tool to check if the current Go/Gio app is running on mobile device, primary intended for JS/WASM.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors