Skip to content

Conversation

@Robert27
Copy link
Contributor

@Robert27 Robert27 commented Aug 14, 2024

MacOS makes it possible to run iPad apps on Mac with M chip. This means that React Native still returns Platform iOS and isPad true. For analytics, however, it would be helpful to know the number of MacOS users.
To cover this scenario, I have added the isiOSAppOnMac check to the Swift module so that the right operating system is logged.

ProcessInfo.processInfo.operatingSystemVersion: 17.6.0 --> The version of the emulated iPad and not of the Mac

Option 1 could lead to confusion, as MacOS is specified as the operating system.

It would probably be the best to rename the operating system value to "MacOS (designed for iPad)", but the dashboard does currently not show the proper icon. The other option would be to add a note before the version, such as "iPadOS 14.6.0".

I would appreciate feedback and further opinions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant