fix: show correct device info for ios app runs on M1 mac (#379)
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.

amplitude/Amplitude-iOS,amplitude/Amplitude-iOS,amplitude/Amplitude-iOS,amplitude/Amplitude-iOS