Skip to content

Providing a method to close the payment UI from outside AdyenCheckout #454

@RyanLinXiang

Description

@RyanLinXiang

Describe the bug
When I finish a PayPal / Klarna / ... payment and get redirected back to the app, in case I want to do a checkout again, the drop in does not open and Xcode reports the following:

Attempt to present <Adyen.DropInNavigationController: 0x109ae9c00> on <RNSScreen: 0x10912cc00> (from <RNSScreen: 0x10912cc00>) whose view is not in the window hierarchy.

This happened in version 2.0.0-rc1 when I updated from version 1, including react-native-screens, updating from 3.18.2 to 3.27.0

Only a app restart (kill the app and restart) helps.

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestv3This breaks public API and will be addressed in v3

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions