Arham Awan
Arham Awan
Here is a simple hack, use onLayout prop and autoPlay prop both of LottieView and play it like this, ``` const animationRef = useRef(null); animationRef.current?.play()} source={YourAnimation} autoPlay loop style={{ ..yourStyles...
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 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 resolve this issue by using following configuration , `android/build.gradle` ``` dependencies { ... classpath("com.android.tools.build:gradle:7.2.2") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.10") ... } ``` `android/app/build.gradle` ``` dependencies { ... implementation 'com.google.android.material:material:1.6.0' ... } ``` NOTE:...