// Add to build.gradle (android)
allprojects {
repositories {
....
maven { url "$rootDir/../node_modules/@transistorsoft/capacitor-background-fetch/android/libs" }
// If you also have the same problem with capacitor-background-geolocation
maven { url "$rootDir/../node_modules/@transistorsoft/capacitor-background-geolocation/android/libs" }
}
}