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

Device core plugin - device.platform should return "iOS"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • cordova-ios
    • None

    Description

      Currently if you ask for device.platform you will get several different
      responses on iOS. You'll get iPhone, iPad, iPod Touch, etc. This seems
      backwards. All of these should return 'iOS'.

      What device.platform returns now should really be what device.name returns.

      Attachments

        Activity

          People

            shazron Shazron Abdullah
            shazron Shazron Abdullah
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: