Skip to content

Commit

Permalink
Merge pull request #10 from payu-intrepos/version/5.8.3
Browse files Browse the repository at this point in the history
Updated CB to version 5.8.3. CB is now has a reduced size impact
  • Loading branch information
Vipin Aggarwal committed Aug 31, 2019
2 parents a76d005 + 823c03c commit 8913ab8
Show file tree
Hide file tree
Showing 67 changed files with 3 additions and 53 deletions.
Binary file modified PayUCustomBrowser.framework/Assets.car
Binary file not shown.
2 changes: 1 addition & 1 deletion PayUCustomBrowser.framework/Headers/CBConnection.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#pragma mark - UIWebView delegate

/*!
* This method must be called from UIWebView delegate method from Merchant's App.
* This method must be called from UIWebView delegate method from Merchant's App
*/
- (void)payUwebView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request;

Expand Down
8 changes: 0 additions & 8 deletions PayUCustomBrowser.framework/Headers/CBConstant.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@
#ifndef iOSCustomeBrowser_CBConstant_h
#define iOSCustomeBrowser_CBConstant_h



typedef NS_OPTIONS(NSUInteger, PUCBBankSimulator) {
PUCBDefault = 0,
PUCBBankSimulatorLocal = 1,
PUCBBankSimulatorRemote = 2,
};

//Macros To prevent instantiation of class by standard methods
#define ATTRIBUTE_ALLOC __attribute__((unavailable("alloc not available, call sharedSingletonInstance instead")))
#define ATTRIBUTE_INIT __attribute__((unavailable("init not available, call sharedSingletonInstance instead")))
Expand Down
2 changes: 0 additions & 2 deletions PayUCustomBrowser.framework/Headers/PUCBBaseConnection.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,10 @@
- (instancetype) init ATTRIBUTE_INIT;
- (instancetype) new ATTRIBUTE_NEW;

@property (nonatomic, assign) BOOL isMagicRetry;
@property (nonatomic, copy) NSString *txnID;
@property (nonatomic, copy) NSString *merchantKey;
@property (weak, nonatomic) id <PayUCBWebViewResponseDelegate> cbWebViewResponseDelegate;
@property (nonatomic, assign) BOOL isAutoOTPSelect;
@property (nonatomic, assign) PUCBBankSimulator bankSimulatorType;
@property (nonatomic, strong) PUCBConfiguration *cbConfig;

/*!
Expand Down
3 changes: 0 additions & 3 deletions PayUCustomBrowser.framework/Headers/PUCBConfiguration.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

/*!
* This method returns singleton object. Use this to configure features provided by CB
* @return obj The singleton sintance of PUCBConfiguration class
*/
+(instancetype)getSingletonInstance;

Expand All @@ -29,11 +28,9 @@

@property (nonatomic, strong) NSString *merchantKey;
@property (nonatomic, strong) NSString *transactionId;
@property (nonatomic, assign) BOOL isMagicRetry;
@property (nonatomic, assign) BOOL isAutoOTPSelect;
@property (nonatomic, assign) BOOL shouldShowPayULoader;
@property (nonatomic, assign) BOOL enableWKWebView;
@property (nonatomic, assign) PUCBBankSimulator bankSimulatorType;
@property (nonatomic, strong) PUCBReviewOrderConfig *reviewOrderConfig;
@property (nonatomic, assign) NSUInteger surePayCount;
@property (nonatomic, strong) NSString *paymentURL, *paymentPostParam;
Expand Down
31 changes: 0 additions & 31 deletions PayUCustomBrowser.framework/Headers/PUCBWebVC.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
NS_ENUM(NSInteger) {
PUCBNilArgument = 100,
PUCBInvalidMerchantKey = 101,
PUCBBankSimulatorNotSupported = 102
};


Expand All @@ -22,9 +21,6 @@ NS_ENUM(NSInteger) {
@required
/*!
* This method gets called when transaction is successfull.
* @param response
* Response sent by PayU on successful completion of Payment.
*
* @note Hash inside response should be compared with server calculated hash to rule out possibility of tampering of data.
* This should be done at server's end.
*
Expand All @@ -33,15 +29,11 @@ NS_ENUM(NSInteger) {

/*!
* This method gets called when transaction fails. It logs txn_fail event.
* @param response
* Response sent by PayU when the transaction gets failed
*/
- (void)PayUFailureResponse:(id)response;

/*!
* This method gets called in case of network error
* @param notification
* An NSDictionary containing details about the network error
*/
- (void)PayUConnectionError:(NSDictionary *)notification;

Expand All @@ -53,21 +45,13 @@ NS_ENUM(NSInteger) {
/*!
* If the merchant intentends to receive response from her own server, this method shoudld be implemented.
* This method is called when merchant's Success URL passes data to the custom browser.
* @param payUResponse
* Response sent by PayU on successful completion of Payment.
* @param surlResponse
* Response sent by merchant's server on successful completion of the payment.
*/
- (void)PayUSuccessResponse:(id) payUResponse SURLResponse:(id) surlResponse;


/*!
* If the merchant intentends to receive response from her own server, this method shoudld be implemented.
* This method is called when merchant's Failure URL passes data to the custom browser.
* @param payUResponse
* Response sent by PayU when the transaction gets failed.
* @param furlResponse
* Response sent by merchant's server on failure of the payment.
*/
- (void)PayUFailureResponse:(id) payUResponse FURLResponse:(id) furlResponse;

Expand Down Expand Up @@ -108,15 +92,6 @@ NS_ENUM(NSInteger) {

/*!
* This method is one of the two designated initializer of PUCBWebVC class
* @param postParam
* Post parmamters required by the payment server
* @param url
* This is the payment URL, the first URL which gets loaded in payment journey
* @param key
* This is the merchant key which she gets after onbaording PayU
* @param error
* Error is retured if the other parmaters fails validation checks
@see -initWithNSURLRequest:merchantKey:error
*/

- (instancetype)initWithPostParam:(NSString*)postParam
Expand All @@ -126,12 +101,6 @@ NS_ENUM(NSInteger) {

/*!
* This method is one of the two designated initializer of PUCBWebVC class
* @param request
* This is the NSURLRequest which should ideally contain post params along with the payment URL
* @param key
* This is the merchant key which she gets after onbaording PayU
* @param error
* Error is retured if the other parmaters fails validation checks
*/
- (instancetype)initWithNSURLRequest:(NSURLRequest*)request
merchantKey:(NSString*)key
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,15 @@

/*!
* This method gets called when transaction is successfull.
*
* @note Hash inside response should be compared with server calculated hash to rule out possibility of tampering of data.
* This should be done at server's end.
*/
- (void)PayUSuccessResponse:(id)response;


- (void)PayUFailureResponse:(id)response;

/*!
* @param notification An NSDictionary containing details about the network error
*/
- (void)PayUConnectionError:(NSDictionary *)notification;


@optional
- (void)PayUTxnCancelledWithBackPress;

Expand Down
Binary file modified PayUCustomBrowser.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 modified PayUCustomBrowser.framework/PUCBApproveView~ipad.nib/runtime.nib
Binary file not shown.
Binary file not shown.
Binary file modified PayUCustomBrowser.framework/PUCBApproveView~iphone.nib/runtime.nib
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 PayUCustomBrowser.framework/PUCBFooterView~ipad.nib/runtime.nib
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified PayUCustomBrowser.framework/PUCBHeaderView~ipad.nib/runtime.nib
Binary file not shown.
Binary file not shown.
Binary file modified PayUCustomBrowser.framework/PUCBHeaderView~iphone.nib/runtime.nib
Binary file not shown.
Binary file modified PayUCustomBrowser.framework/PUCBLoader~ipad.nib/objects-8.0+.nib
Binary file not shown.
Binary file modified PayUCustomBrowser.framework/PUCBLoader~ipad.nib/runtime.nib
Binary file not shown.
Binary file not shown.
Binary file modified PayUCustomBrowser.framework/PUCBLoader~iphone.nib/runtime.nib
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 PayUCustomBrowser.framework/PUCBPasswordNB~ipad.nib/runtime.nib
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified PayUCustomBrowser.framework/PUCBROCell~ipad.nib/objects-8.0+.nib
Binary file not shown.
Binary file modified PayUCustomBrowser.framework/PUCBROCell~ipad.nib/runtime.nib
Binary file not shown.
Binary file not shown.
Binary file modified PayUCustomBrowser.framework/PUCBROCell~iphone.nib/runtime.nib
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 PayUCustomBrowser.framework/PUCBSurePay~ipad.nib/objects-8.0+.nib
Binary file not shown.
Binary file modified PayUCustomBrowser.framework/PUCBSurePay~ipad.nib/runtime.nib
Binary file not shown.
Binary file not shown.
Binary file modified PayUCustomBrowser.framework/PUCBSurePay~iphone.nib/runtime.nib
Binary file not shown.
Binary file not shown.
Binary file modified PayUCustomBrowser.framework/PUCBUserIdNB~ipad.nib/runtime.nib
Binary file not shown.
Binary file not shown.
Binary file modified PayUCustomBrowser.framework/PUCBUserIdNB~iphone.nib/runtime.nib
Binary file not shown.
Binary file modified PayUCustomBrowser.framework/PayUCBInfo.plist
Binary file not shown.
Binary file modified PayUCustomBrowser.framework/PayUCustomBrowser
Binary file not shown.
4 changes: 2 additions & 2 deletions PayUIndia-Custom-Browser.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "PayUIndia-Custom-Browser"
s.version = "5.8.2"
s.version = "5.8.3"
s.license = "MIT"
s.homepage = "https://github.com/payu-intrepos/iOS-Custom-Browser"
s.author = { "PayUbiz" => "contact@payu.in" }
Expand All @@ -9,7 +9,7 @@ Pod::Spec.new do |s|
s.description = "iOS custom browser by PayUbiz helps user in payment flow to pay in as few taps as possible. The bank pages are generally not optimised for mobiles. It simplifies the awkward looking bank page on mobiles for user and helps in completing the transaction quickly. iOS custom browser gives custom controls (native UIButtons) to user which work as shortcuts to generate/enter OTP and pin. It helps in increasing the success rate of transactions."

s.source = { :git => "https://github.com/payu-intrepos/iOS-Custom-Browser.git",
:tag => "v5.8.2" }
:tag => "v5.8.3" }
s.documentation_url = "https://github.com/payu-intrepos/Documentations/wiki/9.-iOS-Custom-Browser#si"

s.ios.deployment_target = "8.0"
Expand Down

0 comments on commit 8913ab8

Please sign in to comment.