cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Warren (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-11466) device plugin does not work
Date Fri, 01 Jul 2016 13:22:11 GMT

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

Stephen Warren edited comment on CB-11466 at 7/1/16 1:21 PM:
-------------------------------------------------------------

I just upgraded the Device plugin from 1.0.1 to 1.1.2.  It still doesn't work.

I was unable to recreate the problem in a new app.

I can't send you a sample of my app where device is broken, as the code is copyrighted.

It's interesting to note that when the app starts up, the global device object is available
from the javascript console.  When the app stops on a 'debugger' line, I type 'device' again
into the console and it says 'undefined'.

In my android project, both the cordova device plugin js file and the java file are in place.
 I'm not sure why this isn't working.


was (Author: swarrenvcc):
I just upgraded the Device plugin from 1.0.1 to 1.1.2.  It still doesn't work.

I tried to recreate the problem in a new app. that didn't work.

I can't send you a sample of my app where device is broken, as the code is copyrighted.

It's interesting to note that when the app starts up, the global device object is available
from the javascript console.  When the app stops on a 'debugger' line, I type 'device' again
into the console and it says 'undefined'.

In my android project, both the cordova device plugin js file and the java file are in place.
 I'm not sure why this isn't working.

> device plugin does not work
> ---------------------------
>
>                 Key: CB-11466
>                 URL: https://issues.apache.org/jira/browse/CB-11466
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Device
>    Affects Versions: 6.1.1
>         Environment: Mac OS X El Capitan
>            Reporter: Stephen Warren
>
> the device plugin does not work.  typing 'device' into javascript window brings back
'undefined'.  Please advise steps to assist in troubleshooting this problem.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message