question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The device info os defaults to mac on iOS devices

See original GitHub issue

Hi,

I noticed the os variable in the device info is set to mac on iOS devices.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

3reactions
dlaundoncommented, Nov 13, 2018

Can this be reopened or shall I post another issue?

Safari on my iPhone is being incorrectly reported as mac. The user agent is:

Mozilla/5.0 (iPhone; CPU iPhone OS 12_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Mobile/15E148 Safari/604.1

The iOS regular expression is matching, but so is the Mac one due to the presence of “like Mac OS X”, and it seems to be winning.

2reactions
AhsanAyazcommented, Nov 13, 2018

Thanks for reporting this @dlaundon. I’ll re-open this one and will get on to it as soon as I got some space.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change Devices settings for your Apple ID on Mac
To view the information for a trusted device, choose Apple menu > System Settings, click [your name] at the top of the sidebar,...
Read more >
Apply settings for iOS devices - Google Workspace Admin Help
Allows users to turn document and data syncing of their iOS devices to iCloud on or off. When allowed, data from the user's...
Read more >
macOS device compliance settings in Microsoft Intune
This article lists and describes the different compliance settings you can configure on macOS devices in Intune. As part of your mobile device...
Read more >
Apple iOS privacy settings to change now
We've assembled all the settings you can change on your iPhone and iPad to make the devices as private as possible. These instructions...
Read more >
iOS - Wikipedia
iOS (formerly iPhone OS) is a mobile operating system created and developed by Apple Inc. exclusively for its hardware. It is the operating...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found