cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jcesarmobile (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CB-12410) The Device on the ionic.org website differs from the repository.
Date Tue, 31 Jan 2017 23:08:51 GMT

     [ https://issues.apache.org/jira/browse/CB-12410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

jcesarmobile closed CB-12410.
-----------------------------
    Resolution: Not A Problem
      Assignee: jcesarmobile

I don't know how Ionic 2 works, but it probably wraps the cordova device plugin somehow. Both
documentations can be good.
If you use Ionic 2 then follow Ionic 2 docs, you don't have to worry about how the cordova
plugin works.

> The Device on the ionic.org website differs from the repository.
> ----------------------------------------------------------------
>
>                 Key: CB-12410
>                 URL: https://issues.apache.org/jira/browse/CB-12410
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Device
>    Affects Versions: 2.2.0
>         Environment: MAC OSx
>            Reporter: Ronald Kevin Burton
>            Assignee: jcesarmobile
>              Labels: documentation, features
>
> 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. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message