Skip to content

Commit

Permalink
base64 -> string
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Mariño committed Oct 7, 2019
1 parent 8c40aaf commit 32748d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Video/RCTVideo.m
Original file line number Diff line number Diff line change
Expand Up @@ -1737,7 +1737,7 @@ - (BOOL)loadingRequestHandling:(AVAssetResourceLoadingRequest *)loadingRequest {
self->_requestingCertificate = YES;
self.onGetLicense(@{@"spc": spcStr,
@"contentId": contentId,
@"spcBase64": [[NSData alloc] initWithBase64EncodedData:certificateData options:NSDataBase64DecodingIgnoreUnknownCharacters],
@"spcBase64": [[[NSData alloc] initWithBase64EncodedData:certificateData options:NSDataBase64DecodingIgnoreUnknownCharacters] base64EncodedStringWithOptions:0],
@"target": self.reactTag});
} else if(licenseServer != nil) {
NSMutableURLRequest *request = [[NSMutableURLRequest alloc] init];
Expand Down

0 comments on commit 32748d5

Please sign in to comment.