Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: show correct device info for ios app runs on M1 mac (#379)
* Fix AMP-41556 device info for app runs on M1 mac Mac with M1 CPU can run ios app, the hw.machine will return iPad platform tag. In the getPlatformString method, added a boolean value isiOSAppOnMac, if it's true and target os is not osx, use hw.model instead of hw.machine.
- Loading branch information