[ https://issues.apache.org/jira/browse/CB-8831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14487153#comment-14487153 ]
ASF GitHub Bot commented on CB-8831: ------------------------------------ GitHub user vladimir-kotikov opened a pull request: https://github.com/apache/cordova-plugin-battery-status/pull/23 CB-8831 Adds extra check for available API on Windows * This adds check for Phone device to avoid calling missing API (since it is supported on Phone devices only). * It also removes excess references to winMD assembly from Windows8 and Windows8.1 projects due to the same reason. You can merge this pull request into a Git repository by running: $ git pull https://github.com/MSOpenTech/cordova-plugin-battery-status CB-8831 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-battery-status/pull/23.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #23 ---- commit 65e6ee8fe4c4c8d22f72a00b8640c8a6b4eb5bf1 Author: Vladimir Kotikov <v-vlk...@microsoft.com> Date: 2015-04-09T10:56:51Z CB-8831 Adds extra check for available API on Windows ---- > Battery plugin is not getting correctly registered on Windows platform > ---------------------------------------------------------------------- > > Key: CB-8831 > URL: https://issues.apache.org/jira/browse/CB-8831 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Battery Status > Environment: Windows 8.1 (desktop) > Reporter: Vladimir Kotikov > Assignee: Vladimir Kotikov > Priority: Minor > > Repro steps: > -Latest cordova > -createmobilespec testapp --windows > -run auto tests > Battery plugin will fail to register correcty: > {noformat} > Exception calling native with command :: Battery :: stop > ::exception=WinRTError: The text associated with this error code could not be > found > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org