You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/02/18 16:29:18 UTC

[jira] [Commented] (CB-10645) The battery status handler doesn't reinitialize on Android after window.location.reload()

    [ 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 <at...@gmail.com>
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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org