You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Braden Shepherdson (JIRA)" <ji...@apache.org> on 2012/09/07 16:10:07 UTC

[jira] [Created] (CB-1390) Add reset() to plugin API on iOS

Braden Shepherdson created CB-1390:
--------------------------------------

             Summary: Add reset() to plugin API on iOS
                 Key: CB-1390
                 URL: https://issues.apache.org/jira/browse/CB-1390
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 2.0.0
            Reporter: Braden Shepherdson
            Assignee: Shazron Abdullah
             Fix For: 2.2.0


Add a reset() function to the plugin API which is called on top-level navigation or refresh, so that plugins can know to cancel any long-running requests and reinitialize themselves.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (CB-1390) Add reset() to plugin API on iOS

Posted by "Andrew Grieve (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Grieve reassigned CB-1390:
---------------------------------

    Assignee: Braden Shepherdson  (was: Shazron Abdullah)
    
> Add reset() to plugin API on iOS
> --------------------------------
>
>                 Key: CB-1390
>                 URL: https://issues.apache.org/jira/browse/CB-1390
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: iOS
>    Affects Versions: 2.0.0
>            Reporter: Braden Shepherdson
>            Assignee: Braden Shepherdson
>             Fix For: 2.2.0
>
>
> Add a reset() function to the plugin API which is called on top-level navigation or refresh, so that plugins can know to cancel any long-running requests and reinitialize themselves.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1390) Add reset() to plugin API on iOS

Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509397#comment-13509397 ] 

Shazron Abdullah commented on CB-1390:
--------------------------------------

CDVPlugin: https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;a=commit;h=4fe0e8b291c2bae6509f7c5df4c1b5900b1c8894
Sample of plugin use: https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;a=commit;h=bdcf8e47f990189d041a9a8166e3f80678798bed
                
> Add reset() to plugin API on iOS
> --------------------------------
>
>                 Key: CB-1390
>                 URL: https://issues.apache.org/jira/browse/CB-1390
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: iOS
>    Affects Versions: 2.0.0
>            Reporter: Braden Shepherdson
>            Assignee: Braden Shepherdson
>             Fix For: 2.2.0
>
>
> Add a reset() function to the plugin API which is called on top-level navigation or refresh, so that plugins can know to cancel any long-running requests and reinitialize themselves.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1390) Add reset() to plugin API on iOS

Posted by "Jesse MacFadyen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509358#comment-13509358 ] 

Jesse MacFadyen commented on CB-1390:
-------------------------------------

Can you point to an example of where you implemented this, or a commit hash please?
                
> Add reset() to plugin API on iOS
> --------------------------------
>
>                 Key: CB-1390
>                 URL: https://issues.apache.org/jira/browse/CB-1390
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: iOS
>    Affects Versions: 2.0.0
>            Reporter: Braden Shepherdson
>            Assignee: Braden Shepherdson
>             Fix For: 2.2.0
>
>
> Add a reset() function to the plugin API which is called on top-level navigation or refresh, so that plugins can know to cancel any long-running requests and reinitialize themselves.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CB-1390) Add reset() to plugin API on iOS

Posted by "Braden Shepherdson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Braden Shepherdson updated CB-1390:
-----------------------------------

    Issue Type: Sub-task  (was: Bug)
        Parent: CB-1388
    
> Add reset() to plugin API on iOS
> --------------------------------
>
>                 Key: CB-1390
>                 URL: https://issues.apache.org/jira/browse/CB-1390
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: iOS
>    Affects Versions: 2.0.0
>            Reporter: Braden Shepherdson
>            Assignee: Shazron Abdullah
>             Fix For: 2.2.0
>
>
> Add a reset() function to the plugin API which is called on top-level navigation or refresh, so that plugins can know to cancel any long-running requests and reinitialize themselves.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CB-1390) Add reset() to plugin API on iOS

Posted by "Braden Shepherdson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Braden Shepherdson resolved CB-1390.
------------------------------------

    Resolution: Fixed

This has been implemented, and all core plugins that have listeners or long-running tasks have been updated to use it.
                
> Add reset() to plugin API on iOS
> --------------------------------
>
>                 Key: CB-1390
>                 URL: https://issues.apache.org/jira/browse/CB-1390
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: iOS
>    Affects Versions: 2.0.0
>            Reporter: Braden Shepherdson
>            Assignee: Braden Shepherdson
>             Fix For: 2.2.0
>
>
> Add a reset() function to the plugin API which is called on top-level navigation or refresh, so that plugins can know to cancel any long-running requests and reinitialize themselves.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira