You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2014/06/21 01:38:25 UTC

[jira] [Resolved] (CB-6997) Deprecate obsolete CDVPlugin methods

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

Shazron Abdullah resolved CB-6997.
----------------------------------

    Resolution: Fixed

> Deprecate obsolete CDVPlugin methods
> ------------------------------------
>
>                 Key: CB-6997
>                 URL: https://issues.apache.org/jira/browse/CB-6997
>             Project: Apache Cordova
>          Issue Type: Task
>          Components: iOS
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>             Fix For: 3.6.0
>
>
> // Deprecate these in favour of using CDVCommandDelegate directly.
> // - (NSString*)writeJavascript:(NSString*)javascript;
> // - (NSString*)success:(CDVPluginResult*)pluginResult callbackId:(NSString*)callbackId;
> // - (NSString*)error:(CDVPluginResult*)pluginResult callbackId:(NSString*)callbackId;
> These are remnants of how older plugins used pluginResult and are not doc'ed anymore. Time to migrate people.



--
This message was sent by Atlassian JIRA
(v6.2#6252)