Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
2.2.0
-
None
-
MAC OSx
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.