Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
There is built in support since iOS 7. Once we drop iOS 6, we can do this.
Lines:
1. https://github.com/apache/cordova-ios/blob/1a44a4eed9f22024cc0480733a4c21af63f92ab5/CordovaLib/Classes/CDVInvokedUrlCommand.m#L88
2. https://github.com/apache/cordova-ios/blob/1a44a4eed9f22024cc0480733a4c21af63f92ab5/CordovaLib/Classes/CDVPluginResult.m#L40
Replace with:
1. [[NSData alloc] initWithBase64EncodedString:data options:0]
2. [data base64EncodedStringWithOptions:0]
Test mobilespec bridge benchmark before this change and after, then report the results.
Attachments
Issue Links
- depends upon
-
CB-8643 Drop iOS 6 support, minimum iOS 7
- Closed