You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The iOS apps published in the Apple App Store can be also available on Apple Silicon Macs.
Because some functionality may not work the same as on iOS (e.g. sharing intents, screen sizes, etc), it is useful to have a way to detect when iOS app is running on the Apple Silicon Mac.
Proposal
The device_info_plus is already using the NSProcessInfo and it would be great to pull the iOSAppOnMac value from there (iOS 13+).
I wasn't been able to find information on how to identify Mac model and MacOS version when iOSAppOnMac is true. Not sure if there is a way.
Plugin
device_info_plus
Use case
The iOS apps published in the Apple App Store can be also available on Apple Silicon Macs.
Because some functionality may not work the same as on iOS (e.g. sharing intents, screen sizes, etc), it is useful to have a way to detect when iOS app is running on the Apple Silicon Mac.
Proposal
The
device_info_plus
is already using theNSProcessInfo
and it would be great to pull the iOSAppOnMac value from there (iOS 13+).I wasn't been able to find information on how to identify Mac model and MacOS version when
iOSAppOnMac
is true. Not sure if there is a way.https://github.com/fluttercommunity/plus_plugins/blob/main/packages/device_info_plus/device_info_plus/ios/device_info_plus/Sources/device_info_plus/FPPDeviceInfoPlusPlugin.m#L24-L32
The text was updated successfully, but these errors were encountered: