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/07/14 21:16:06 UTC

[jira] [Updated] (CB-7000) Remove deprecated CDVPlugin methods

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

Shazron Abdullah updated CB-7000:
---------------------------------

    Description: 
// 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 since 3.x (it was in 2.x). Time to migrate people.

  was:
// 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.


> Remove deprecated CDVPlugin methods
> -----------------------------------
>
>                 Key: CB-7000
>                 URL: https://issues.apache.org/jira/browse/CB-7000
>             Project: Apache Cordova
>          Issue Type: Task
>          Components: iOS
>            Reporter: Shazron Abdullah
>
> // 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 since 3.x (it was in 2.x). Time to migrate people.



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