[
https://issues.apache.org/jira/browse/CB-10645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15152447#comment-15152447
]
ASF GitHub Bot commented on CB-10645:
-------------------------------------
GitHub user aaront opened a pull request:
https://github.com/apache/cordova-plugin-battery-status/pull/31
CB-10645 The battery status handler doesn't reinitialize on Android after
window.location.reload()
Instead of throwing an error, rather remove the status handler and
re-initialize.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Geotab/cordova-plugin-battery-status
CB-10645cordova-plugin-battery-status
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-battery-status/pull/31.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 #31
----
commit cddf8daefc07471a13405e4ff2b8fed4e1b378f8
Author: Aaron Toth <[email protected]>
Date: 2016-02-18T15:23:47Z
The battery status handler doesn't reinitialize on Android after
window.reload(). Instead of throwing an error, rather remove the status handler
and re-initialize.
----
> The battery status handler doesn't reinitialize on Android after
> window.location.reload()
> -----------------------------------------------------------------------------------------
>
> Key: CB-10645
> URL: https://issues.apache.org/jira/browse/CB-10645
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Battery Status
> Environment: Android
> Reporter: Aaron Toth
> Priority: Minor
> Labels: android, reload
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Instead of throwing an error, rather remove the status handler and
> re-initialize.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]