paytabscom / paytabs-ios-library-sample

This repository contains latest static framework (.framework), resources bundle (.bundle), sample apps for both Objective-C and Swift, and documentation to get SDK integrated in the Xcode projects.
MIT License
12 stars 11 forks source link

iOS 13 full screen present not working , How to disable swipe down gesture #3

Closed ArvindDangarOpenxcell closed 4 years ago

ArvindDangarOpenxcell commented 4 years ago

How to disable swipe down gesture

ArvindDangarOpenxcell commented 4 years ago

Hello,

We are implementing the payment integration in Android/iOS with your PayTabs mobile SDK into one of our app.

As we try with the test cards information and we found that the card "without authentication" is worked only with "USD" and "SAR" currency but not working with "EGP" and getting technical error message with response code : 800.

So may I know how to make successful transactions with "EGP" (Egypt)?.

Thank you

Ahmed-Masoud commented 4 years ago

did you find any solution for presentation problem ?

cogtea commented 4 years ago

@Ahmed-Masoud @DangarOpenxcell Instead of using (As per example)

self.view.addSubview(initialSetupViewController.view)
self.addChildViewController(initialSetupViewController)
initialSetupViewController.didMove(toParentViewController: self)

You can use

self.modalPresentationStyle = .fullScreen
self.present(self.initialSetupViewController, animated: false)

Please check https://stackoverflow.com/a/56435511

Ahmed-Masoud commented 4 years ago

This is not working tried it before the reason is (and i am guessing since it’s a closed source) that they are using container view controllers and children components actually the problem is with the creditcardview which is on top of initial vc even if you tried the vc that presented the initial sdk vc will disparate magically 😅 Anyways i used the rest api instead of sdk and is working perfectly

cogtea commented 4 years ago

@Ahmed-Masoud We are working on fixing this issue, will back to you soon.

cogtea commented 4 years ago

@Ahmed-Masoud @DangarOpenxcell we disabled presentationModel behaviour with IOS 13, please update SDK to v4.0.2 ios_sdk-v4.0.2-lite.zip

ArvindDangarOpenxcell commented 4 years ago

Thank for support