I am experiencing an error when building my project with react-native-background-geolocation. The build fails with:
Could not find any matches for com.transistorsoft:tslocationmanager-v21:3.+ as no versions are available.
I have added the recommended repositories to my build.gradle file, but the dependency cannot be resolved. Could you please advise on how to fix this issue, or confirm the correct repository and dependency version?
buildscript {
ext {
appCompatVersion = "1.4.2"
buildToolsVersion = "35.0.0"
minSdkVersion = 23
compileSdkVersion = 35
targetSdkVersion = 35
ndkVersion = "26.1.10909125"
kotlinVersion = "1.9.22"
playServicesLocationVersion = "21.3.0"
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:8.1.1") // add the version
classpath("com.facebook.react:react-native-gradle-plugin")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
classpath("com.google.gms:google-services:4.3.3")
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://transistorsoft.jfrog.io/artifactory/transistorsoft-maven/' }
}
}
I am experiencing an error when building my project with
react-native-background-geolocation. The build fails with:I have added the recommended repositories to my
build.gradlefile, but the dependency cannot be resolved. Could you please advise on how to fix this issue, or confirm the correct repository and dependency version?buildscript {
ext {
appCompatVersion = "1.4.2"
buildToolsVersion = "35.0.0"
minSdkVersion = 23
compileSdkVersion = 35
targetSdkVersion = 35
ndkVersion = "26.1.10909125"
kotlinVersion = "1.9.22"
playServicesLocationVersion = "21.3.0"
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:8.1.1") // add the version
classpath("com.facebook.react:react-native-gradle-plugin")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
classpath("com.google.gms:google-services:4.3.3")
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://transistorsoft.jfrog.io/artifactory/transistorsoft-maven/' }
}
}