Adyen / adyen-react-native

Adyen React Native
https://docs.adyen.com/checkout
MIT License
43 stars 32 forks source link

Android build issue: Kotlin version #357

Closed gunnartorfis closed 5 months ago

gunnartorfis commented 5 months ago

Describe the bug When building our Expo SDK 50 (RN 0.73) app on Android, we get the following error: xx/node_modules/@adyen/react-native/android/src/main/java/com/adyenreactnativesdk/component/base/ComponentEvent.kt:12:5 The feature "data objects" is only available since language version 1.9

To Reproduce Steps to reproduce the behavior: Install and build a React Native app (0.73)

Expected behavior It should build without issues.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

descorp commented 5 months ago

Hey @gunnartorfis

Thank you for checking BETA release 💚

This is known issue, but we was not aware it will effect consumers of the library.

gunnartorfis commented 5 months ago

Np @descorp - we actually need the standalone action handler from 2.0 😄

Feel free to check out the PR I attached with the issue. I'm not sure if it has any implications, removing the data attribute.