Abhinav2903 opened a new issue #147:
URL: https://github.com/apache/cordova-plugin-device/issues/147
# Bug Report
## Problem
iPhone/ipad simulator model number not accurate
### What is expected to happen?
While using the plugin we should get the exact mode number but getting 1 or
2 higher than the model present with some extra string number also
Like for iphone 8 plus getting iphone10,5
For iphone se getting iphone 12,3
So it is giving me wrong info everytime
### What does actually happen?
It should give the exact device number
## Information
<!-- Include all relevant information that might help understand and
reproduce the problem -->
Use Cordova plugin device
### Command or Code
<!-- What command or code is needed to reproduce the problem? -->
Import {Device} from "@ionic-native/device/ngx"
..
Private deviceInfo: Device
..
Console.log(this.deviceInfo.model)
### Environment, Platform, Device
<!-- In what environment, on what platform or on which device are you
experiencing the issue? -->
Every iphone/ipad simulator
### Version information
<!--
What are relevant versions you are using?
For example:
Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins
Other Frameworks: Ionic Framework and CLI version
Operating System, Android Studio, Xcode etc.
-->
Xcode 13.0
Ionic and capacitor with angular
iPhone/ipad simulator
## Checklist
<!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
- [x ] I searched for existing GitHub issues
- [ x] I updated all Cordova tooling to most recent version
- [x ] I included all the necessary information above
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]