[
https://issues.apache.org/jira/browse/CB-11466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15355586#comment-15355586
]
Stephen Warren commented on CB-11466:
-------------------------------------
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: [email protected]
For additional commands, e-mail: [email protected]