Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash: Android after AdyenAction.handle #369

Closed
gunnartorfis opened this issue Feb 12, 2024 · 2 comments
Closed

Crash: Android after AdyenAction.handle #369

gunnartorfis opened this issue Feb 12, 2024 · 2 comments
Labels
bug report when a bug report is created

Comments

@gunnartorfis
Copy link
Contributor

Describe the bug
When attempting to handle an action for a stored card (tried both 3ds & frictionless), our Android app crashes.
I'm using the V2 beta 2 version.

To Reproduce
Steps to reproduce the behavior:

  1. Pay with any card and save/store the card
  2. Attempt to pay with the stored card, get the error and have the AdyenAction.handle handle it
  3. App crashes

Expected behavior
The action should be handled.

Screenshots
Photo Feb

Smartphone (please complete the following information):

  • Device: Pixel Emulator
  • OS: Android
  • Version Version 32.1.14.0

** Sentry error **
Screenshot 2024-02-12 at 13 15 12

@gunnartorfis gunnartorfis added the bug report when a bug report is created label Feb 12, 2024
@gunnartorfis
Copy link
Contributor Author

Possible duplicate of #163

@gunnartorfis
Copy link
Contributor Author

Fixed by updating the AppTheme as suggested in #163
Here's an Expo Config Plugin to change that if anyone's interested:

config.modResults.resources.style = config.modResults.resources.style.map(s => {
      if (s['$'] && s['$'].name === 'AppTheme') {
        return {
          ...s,
          ['$']: {
            name: 'AppTheme',
            parent: 'Theme.MaterialComponents.DayNight.NoActionBar',
          },
        };
      }
      return s;
    });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report when a bug report is created
Projects
None yet
Development

No branches or pull requests

1 participant