You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2013/02/15 20:09:13 UTC

[jira] [Resolved] (CB-2443) Add a pluginInitialize method to plugins and document designated initializer.

     [ https://issues.apache.org/jira/browse/CB-2443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Grieve resolved CB-2443.
-------------------------------

    Resolution: Fixed

Commits per-task:
1.
https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;a=commit;h=b55609eff66667ba498b67dbe8d59dca4ecce4d8
2.
https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;a=commit;h=fadf267c093d264bcfd9ba667934d5833ce453a3
3.
https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;a=commit;h=3099f36dfb0afb2bb522c0eac35e9c002ac328ac
                
> Add a pluginInitialize method to plugins and document designated initializer.
> -----------------------------------------------------------------------------
>
>                 Key: CB-2443
>                 URL: https://issues.apache.org/jira/browse/CB-2443
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Andrew Grieve
>            Assignee: Andrew Grieve
>            Priority: Minor
>             Fix For: 2.5.0
>
>
> CDVPlugin's designated initializer is not documented and can't really be used by plugins since some properties are assigned afterwards rather than passed into init. 
> There's also a classSettings parameter that has been broken since the refactor to config.xml (and wasn't used anyways... hopefully...). This initializer should be deprecated.
> Three tasks here:
> 1. Deprecate classSettings initializer
> 2. Add a pluginInitialize method for plugins to override
> 3. Add documentation to plugin guide.
> ML thread: http://callback.markmail.org/thread/z5hlwzf65tw3tuyd

--
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