[ 
https://issues.apache.org/jira/browse/CB-7767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14368192#comment-14368192
 ] 

ASF subversion and git services commented on CB-7767:
-----------------------------------------------------

Commit 4f1ccbe55bef4c36cc2ea746ca405b39fa5ec07a in cordova-ios's branch 
refs/heads/4.0.x from [~shazron]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=4f1ccbe ]

CB-7767 - Remove usage of NSData+Base64


> [iOS] Remove usage of NSData+Base64 
> ------------------------------------
>
>                 Key: CB-7767
>                 URL: https://issues.apache.org/jira/browse/CB-7767
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>             Fix For: 4.0.0
>
>
> There is built in support since iOS 7. Once we drop iOS 6, we can do this.
> https://developer.apple.com/library/ios/documentation/Cocoa/Reference/Foundation/Classes/NSData_Class/index.html#//apple_ref/doc/uid/20000172-SW36
> 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. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to