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

'kotlin-android-extensions' not supported anymore #326

Open
hackaprende opened this issue Jan 30, 2023 · 5 comments
Open

'kotlin-android-extensions' not supported anymore #326

hackaprende opened this issue Jan 30, 2023 · 5 comments

Comments

@hackaprende
Copy link

kotlin-android-extensions is not supported anymore for new Kotlin/Gradle versions, instead should use kotlin-parcelize

@lewisd1996
Copy link

+1

@lefoy
Copy link

lefoy commented Dec 6, 2023

any news on this?

@arham1999
Copy link

arham1999 commented Jan 10, 2024

go to node_modules/react-native-background-upload/android/build.gradle and make following changes:

kotlinVersion = '1.6.0' to kotlinVersion = '1.7.0'

apply plugin: 'kotlin-android-extensions' to apply plugin: 'kotlin-parcelize'

@tasmto
Copy link

tasmto commented Jan 24, 2024

@arham1999 thank you so so so much! Minor correction (you had misspelled kotlin):

kotlinVersion = '1.6.0' to kotlinVersion = '1.7.0'
apply plugin: 'kotlin-android-extensions' to apply plugin: 'kotlin-parcelize'

I just went and used patch-package since I can't easily replace this package in my project.

@arham1999
Copy link

@arham1999 thank you so so so much! Minor correction (you had misspelled kotlin):

kotlinVersion = '1.6.0' to kotlinVersion = '1.7.0' apply plugin: 'kotlin-android-extensions' to apply plugin: 'kotlin-parcelize'

I just went and used patch-package since I can't easily replace this package in my project.

thanks 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants