feat(android): add error handling for Kotlin version (#4018)

* feat(android): add error handling for Kotlin version mismatch

* fix: lint error

* refactor: use variables from gradle file

* chore: downgrade required Kotlin version

* refactor: check Kotlin version

* refactor: kotlin variables in build.gradle

* refactor: kotlin variables in build.gradle

* chore(doc): update document

* chore: add dependency to build.gradle for a specific version of react-native

* fix: remove additional dependency
This commit is contained in:
Seyed Mostafa Hasani
2024-07-24 11:37:19 +03:30
committed by GitHub
parent adbd06e2df
commit 6189080c9a
4 changed files with 33 additions and 11 deletions

View File

@@ -57,12 +57,14 @@ $RNVideoUseGoogleIMA=true
## Android
From version >= 6.0.0, your application needs to have kotlin version >= 1.7.0
From version >= 6.0.0, your application needs to have kotlin version >= 1.8.0
```:
buildscript {
...
ext.kotlinVersion = '1.7.0'
ext.kotlinVersion = '1.8.0',
ext.compileSdkVersion = 34
ext.targetSdkVersion = 34
...
}
```