User Operating System

Hi,

Does anybody know if there is someway to detect a Users OS (Android, iOS, Windows, MacOS, etc.)?

This is so that certian controls can be pushed. Like I am trying to enable GPS Capture for Employee Check In and I want users to login through their Mobile Phone so that their GPS Coordinates can be captured.

So if I can detect that the user has come in on Windows or Ubuntu or MacOS, I can throw a message: “You need to login on your Mobile Device to register your Check In/Out”.

Thanks

Jay

Hi, Please try this.

1 Like

Since ERPNext serves an appropriate UI depending on the screen, we are trying to use the Screen Detection for now. I think that’s not foolproof as users can choose the Screen on their Browser settings, but we will begin with this for now.

@rk_root: Thank you for your suggestion. It seems more robust and we will try that soon and post back here how that worked out.

Thanks

Jay

1 Like