react-native-background-upload icon indicating copy to clipboard operation
react-native-background-upload copied to clipboard

'kotlin-android-extensions' not supported anymore

Open hackaprende opened this issue 2 years ago • 5 comments

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

hackaprende avatar Jan 30 '23 16:01 hackaprende

+1

lewisd1996 avatar Jun 27 '23 13:06 lewisd1996

any news on this?

lefoy avatar Dec 06 '23 14:12 lefoy

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'

arham1999 avatar Jan 10 '24 00:01 arham1999

@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.

tasmto avatar Jan 24 '24 14:01 tasmto

@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 🙂

arham1999 avatar Jan 24 '24 15:01 arham1999