Skip to content

Commit

Permalink
iOS13 presentation style updated
Browse files Browse the repository at this point in the history
  • Loading branch information
RajvinderPayU committed Dec 4, 2019
1 parent 7063974 commit d4e17c3
Show file tree
Hide file tree
Showing 45 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions PayUmoney_PnP.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
Pod::Spec.new do |s|

s.name = "PayUmoney_PnP"
s.version = "2.5.0"
s.version = "2.5.1"
s.summary = "Native iOS integration & easy to integrate and use library."
s.description = "Provides a ready to use, drop in set of User Screens to enable payments with iOS Apps. Provide an end to end payment experience with all the features offered by the Citrus SDK. Reduces integration friction as merchants do not have to worry about designing the checkout screen, bank assets, or deal with complexity required to handle different payments methods."

s.homepage = "https://github.com/payu-intrepos/PayUMoney-IOS-SDK"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Umang Arya" => "[email protected]" }
s.source = { :git => "https://github.com/payu-intrepos/PayUMoney-IOS-SDK.git", :tag => "PayUmoney_PnP.2.5.0" }
s.source = { :git => "https://github.com/payu-intrepos/PayUMoney-IOS-SDK.git", :tag => "PayUmoney_PnP.2.5.1" }

s.ios.deployment_target = '8.0'
s.requires_arc = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -552,17 +552,17 @@ -(NSString*)getHashForPaymentParams:(PUMTxnParam*)txnParam {

- (NSString*) createSHA512:(NSString *)source {

const char *s = [source cStringUsingEncoding:NSASCIIStringEncoding];

NSData *keyData = [NSData dataWithBytes:s length:strlen(s)];

uint8_t digest[CC_SHA512_DIGEST_LENGTH] = {0};

CC_SHA512(keyData.bytes, (CC_LONG)keyData.length, digest);
const char *cstr = [source cStringUsingEncoding:NSUTF8StringEncoding];
NSData *data = [NSData dataWithBytes:cstr length:source.length];
uint8_t digest[CC_SHA512_DIGEST_LENGTH];
CC_SHA512(data.bytes, (CC_LONG)data.length, digest);
NSMutableString* output = [NSMutableString stringWithCapacity:CC_SHA512_DIGEST_LENGTH * 2];

for(int i = 0; i < CC_SHA512_DIGEST_LENGTH; i++)
[output appendFormat:@"%02x", digest[i]];

NSData *output = [NSData dataWithBytes:digest length:CC_SHA512_DIGEST_LENGTH];
NSLog(@"Hash output --------- %@",output);
NSString *hash = [[[[output description]stringByReplacingOccurrencesOfString:@"<" withString:@""]stringByReplacingOccurrencesOfString:@">" withString:@""]stringByReplacingOccurrencesOfString:@" " withString:@""];
NSString *hash = [[[output stringByReplacingOccurrencesOfString:@"<" withString:@""]stringByReplacingOccurrencesOfString:@">" withString:@""]stringByReplacingOccurrencesOfString:@" " withString:@""];

return hash;
}

Expand Down
Binary file modified PlugNPlay/PlugNPlay.framework/Assets.car
Binary file not shown.
Binary file modified PlugNPlay/PlugNPlay.framework/Info.plist
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified PlugNPlay/PlugNPlay.framework/Plug-N-Play.storyboardc/Info.plist
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified PlugNPlay/PlugNPlay.framework/PlugNPlay
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit d4e17c3

Please sign in to comment.