You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Trevor May (JIRA)" <ji...@apache.org> on 2018/02/22 04:31:00 UTC

[jira] [Commented] (CB-12728) Device Orientation - SUNSET

    [ https://issues.apache.org/jira/browse/CB-12728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16372392#comment-16372392 ] 

Trevor May commented on CB-12728:
---------------------------------

It seems to me there is still advantage to using a Cordova plugin to get a devices orientation? Some native code might have better performance than a browser function?

But the plugin allowed for options, like "frequency" which was very useful, the addEventListener spews out results at a very high rate, we used the frequency to only have samples every 300ms.

> Device Orientation - SUNSET
> ---------------------------
>
>                 Key: CB-12728
>                 URL: https://issues.apache.org/jira/browse/CB-12728
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: cordova-plugin-device-orientation (DEPRECATED)
>            Reporter: Shazron Abdullah
>            Assignee: Simon MacDonald
>            Priority: Major
>
> See parent issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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