[jira] [Commented] (CB-13605) devicemotion event not fired correclty

2017-12-11 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) commented on CB-13605:
-

What Joe meant is that Cordova only uses what the system offers and has no 
influence what works and what doesn't there.

> devicemotion event not fired correclty
> --
>
> Key: CB-13605
> URL: https://issues.apache.org/jira/browse/CB-13605
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android
>Affects Versions: 7.0.0
> Environment: Issue appears on some Android devices:
>   - Moto Z (Android 7.1.1)
>   - Galaxy S6 (Android 7.0)
>Reporter: Mario Semelka
>Assignee: Joe Bowser
>
> The 'devicemotion' event ist not fired correctly on some Android devices in 
> an Android build. In that cases, the event is fired only once after the 
> listener is registered. This is especially critical for VR development as 
> most VR cameras use this event for controls.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-13605) devicemotion event not fired correclty

2017-12-11 Thread Maximilian Frercksen (JIRA)

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

Maximilian Frercksen commented on CB-13605:
---

[~Sujan12] [~bowserj]

I have prepared a sample project that demonstrates the issue:
https://github.com/maeximus/cordova_device_motion_issue

 I dont think it is a problem with the browser because that code works when 
openning it with your mobile browser. It is the cordova container that brakes 
it. 



> devicemotion event not fired correclty
> --
>
> Key: CB-13605
> URL: https://issues.apache.org/jira/browse/CB-13605
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android
>Affects Versions: 7.0.0
> Environment: Issue appears on some Android devices:
>   - Moto Z (Android 7.1.1)
>   - Galaxy S6 (Android 7.0)
>Reporter: Mario Semelka
>Assignee: Joe Bowser
>
> The 'devicemotion' event ist not fired correctly on some Android devices in 
> an Android build. In that cases, the event is fired only once after the 
> listener is registered. This is especially critical for VR development as 
> most VR cameras use this event for controls.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-13605) devicemotion event not fired correclty

2017-12-09 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) commented on CB-13605:
-

If it works in normal browser, but not the Cordova webview, it may very well be 
an issue Cordova should at least be aware of - especially if the plugin was 
deprecated with the argumentation that it is now available via standards.

> devicemotion event not fired correclty
> --
>
> Key: CB-13605
> URL: https://issues.apache.org/jira/browse/CB-13605
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android
>Affects Versions: 7.0.0
> Environment: Issue appears on some Android devices:
>   - Moto Z (Android 7.1.1)
>   - Galaxy S6 (Android 7.0)
>Reporter: Mario Semelka
>Assignee: Joe Bowser
>
> The 'devicemotion' event ist not fired correctly on some Android devices in 
> an Android build. In that cases, the event is fired only once after the 
> listener is registered. This is especially critical for VR development as 
> most VR cameras use this event for controls.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-13605) devicemotion event not fired correclty

2017-12-09 Thread Joe Bowser (JIRA)

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

Joe Bowser commented on CB-13605:
-

Except that we've deprecated this plugin.  We're not responsible for browser 
issues and we can't fix any of them.

> devicemotion event not fired correclty
> --
>
> Key: CB-13605
> URL: https://issues.apache.org/jira/browse/CB-13605
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android
>Affects Versions: 7.0.0
> Environment: Issue appears on some Android devices:
>   - Moto Z (Android 7.1.1)
>   - Galaxy S6 (Android 7.0)
>Reporter: Mario Semelka
>Assignee: Joe Bowser
>
> The 'devicemotion' event ist not fired correctly on some Android devices in 
> an Android build. In that cases, the event is fired only once after the 
> listener is registered. This is especially critical for VR development as 
> most VR cameras use this event for controls.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-13605) devicemotion event not fired correclty

2017-12-09 Thread Jan Piotrowski (Sujan) (JIRA)

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

Jan Piotrowski (Sujan) commented on CB-13605:
-

Someone please create a minimal reproduction app with a new Cordova app and put 
it on Github, then post the repo URL here. Best include an apk that can 
directly be installed in the repo. Thanks.

> devicemotion event not fired correclty
> --
>
> Key: CB-13605
> URL: https://issues.apache.org/jira/browse/CB-13605
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android
>Affects Versions: 7.0.0
> Environment: Issue appears on some Android devices:
>   - Moto Z (Android 7.1.1)
>   - Galaxy S6 (Android 7.0)
>Reporter: Mario Semelka
>Assignee: Joe Bowser
>
> The 'devicemotion' event ist not fired correctly on some Android devices in 
> an Android build. In that cases, the event is fired only once after the 
> listener is registered. This is especially critical for VR development as 
> most VR cameras use this event for controls.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-13605) devicemotion event not fired correclty

2017-12-09 Thread Daniel Stone (JIRA)

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

Daniel Stone commented on CB-13605:
---

I can confirm this is definitely still an issue. The native devicemotion event 
only fires once with null values on my Android phone. I'm building a tilt based 
game, so this feature is critical to me.

> devicemotion event not fired correclty
> --
>
> Key: CB-13605
> URL: https://issues.apache.org/jira/browse/CB-13605
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android
>Affects Versions: 7.0.0
> Environment: Issue appears on some Android devices:
>   - Moto Z (Android 7.1.1)
>   - Galaxy S6 (Android 7.0)
>Reporter: Mario Semelka
>Assignee: Joe Bowser
>
> The 'devicemotion' event ist not fired correctly on some Android devices in 
> an Android build. In that cases, the event is fired only once after the 
> listener is registered. This is especially critical for VR development as 
> most VR cameras use this event for controls.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (CB-13605) devicemotion event not fired correclty

2017-11-29 Thread Maximilian Frercksen (JIRA)

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

Maximilian Frercksen commented on CB-13605:
---

[~bowserj] The event that is not fired is the built-in browser device motion 
event.

The following JavaScript code, that does not use the cordova plugin, works 
using a browser but does not work when using a cordova app on the device:

window.addEventListener("devicemotion",processEvent, true);

function processEvent(e) {
//exec code
}


> devicemotion event not fired correclty
> --
>
> Key: CB-13605
> URL: https://issues.apache.org/jira/browse/CB-13605
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android
>Affects Versions: 7.0.0
> Environment: Issue appears on some Android devices:
>   - Moto Z (Android 7.1.1)
>   - Galaxy S6 (Android 7.0)
>Reporter: Mario Semelka
>Assignee: Joe Bowser
>
> The 'devicemotion' event ist not fired correctly on some Android devices in 
> an Android build. In that cases, the event is fired only once after the 
> listener is registered. This is especially critical for VR development as 
> most VR cameras use this event for controls.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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