Vydia / react-native-background-upload

Upload files in your React Native app even while it's backgrounded. Supports Android and iOS, including camera roll assets.
MIT License
720 stars 325 forks source link

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

Open hackaprende opened 1 year ago

hackaprende commented 1 year ago

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

lewisd1996 commented 1 year ago

+1

lefoy commented 7 months ago

any news on this?

arham1999 commented 6 months ago

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 commented 5 months ago

@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 commented 5 months ago

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