Giter VIP home page Giter VIP logo

Comments (6)

mkharibalaji avatar mkharibalaji commented on September 9, 2024

Is this happening only for "Cancelling" Action ?

Possibly removing the DropInRequestCode check should make it work under AdyenPaymentModule.kt in line 564,

if (requestCode == DropIn.DROP_IN_REQUEST_CODE && resultCode == Activity.RESULT_CANCELED)

Let me also run it and update you soon. Just giving a hint on the issue if it is just cancelling action.

from react-native-adyen-payment.

murrple-1 avatar murrple-1 commented on September 9, 2024

On Android, there is not a "Cancel" button like on iOS. You either drag the pop-over off the screen, or you click off it to make it cancel. I have supplied a GIF to show behaviour.

from react-native-adyen-payment.

mkharibalaji avatar mkharibalaji commented on September 9, 2024

I just sticked with the dropIn modal of adyen and had plans for customizing the ui where i thought of adding cancel button.

from react-native-adyen-payment.

mkharibalaji avatar mkharibalaji commented on September 9, 2024

The BottomSheet State needs to be tracked to make the cancelling behaviour work.

from react-native-adyen-payment.

mkharibalaji avatar mkharibalaji commented on September 9, 2024

Issue Fixed. Please test and let me know.

from react-native-adyen-payment.

murrple-1 avatar murrple-1 commented on September 9, 2024

I haven't fully tested this due to some issues around the project in general, but initially this looks good. I will post back with an update further, hopefully soon.

from react-native-adyen-payment.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.