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

Android build fails in combination with Expo 52 and Adyen SDK 2.5.0 - 'onNewIntent' overrides nothing #570

Closed
vanGalilea opened this issue Jan 10, 2025 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@vanGalilea
Copy link

Describe the bug
Building Android fails due to the following error:

> Task :app:compileDebugKotlin FAILED
e: file:///Users/xxx/Code/myProject/android/app/src/main/java/nl/mywheels/app/MainActivity.kt:69:3 'onNewIntent' overrides nothing
e: file:///Users/xxx/Code/myProject/android/app/src/main/java/nl/mywheels/app/MainActivity.kt:70:23 Type mismatch: inferred type is Intent? but Intent was expected

FAILURE: Build failed with an exception.

To Reproduce
Steps to reproduce the behavior:
In a similar Expo project where Expo v52 is installed in combination with Adyen's SDK v4.5.0

  1. Run yarn
  2. Run npx expo prebuild --clean
  3. Run expo run:android
  4. See error

Expected behavior
Android builds with no issues

Additional context
I suspect the Adyen's Expo plugin that injects the onNewIntent in setKotlinMainActivity.ts

@vanGalilea vanGalilea added the bug report when a bug report is created label Jan 10, 2025
@descorp descorp added duplicate This issue or pull request already exists and removed bug report when a bug report is created labels Jan 13, 2025
@descorp
Copy link
Contributor

descorp commented Jan 13, 2025

Hey @vanGalilea

Thanks for reaching out 💚

We have PR for this #564
I am closing this issue.

@descorp descorp closed this as completed Jan 13, 2025
@descorp descorp changed the title Android build fails in combination with Expo 52 and Adyen SDK 4.5.0 - 'onNewIntent' overrides nothing Android build fails in combination with Expo 52 and Adyen SDK 2.5.0 - 'onNewIntent' overrides nothing Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants