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

The Device on the ionic.org website differs from the repository.

    XMLWordPrintableJSON

    Details

      Description

      The documentation at https://ionicframework.com/docs/v2/native/device/ indicates that the properties of Device are static. But the repository (https://github.com/apache/cordova-plugin-device) mentions a global variable 'device'. First, there is a need to address the discrepancy. Second, when developing an Ionic 2 application with TypeScript I am not sure how to address the global variable and how to ensure that it has been populated.

        Attachments

          Activity

            People

            • Assignee:
              jcesarmobile jcesarmobile
              Reporter:
              rkb Ronald Kevin Burton
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: