Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-14106

device.model is different on simulator and on real device

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • cordova-ios 4.5.0
    • None
    • cordova-plugin-device
    • None

    Description

      When using e.g. an iPhone X, device.model returns:

      Simulator: "x86_64"

      Real device: "iPhone10,6"

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            cnsdato Daniel Toplak
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment