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

getCurrentHeading method calls the error handler with unexpected error object if device does not support compass.

    XMLWordPrintableJSON

Details

    Description

      Using the Device orientation plugin api, if you call getCurrentHeading on a WP8 device that does not have hardware support for compass, the error handler is called with unexpected error object:
      {
      "code":

      { "code" : 20 }

      }

      Attachments

        Activity

          People

            purplecabbage Jesse MacFadyen
            kris_bg Kristian Dimitrov Dimitrov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: