Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
https://github.com/apache/cordova-ios/blob/0bf656c3bccbe85813964bcf13c6705e0da37192/CordovaLib/Classes/CDVPlugin.h#L61-L66
// 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.
Also, CDVPluginResult corresponding methods should be removed as well:
https://github.com/apache/cordova-ios/blob/0bf656c3bccbe85813964bcf13c6705e0da37192/CordovaLib/Classes/CDVPluginResult.h#L63-L66
Attachments
Issue Links
- is a clone of
-
CB-6997 Deprecate obsolete CDVPlugin methods
- Closed