Background Fetch Android problem

In the Background Fetch plugin page it is stated that it works only for iOs, but looking on the git hub page it is stated that it works also for android.

So I tried to implement it, I did exactly the steps in the ionic page for this tutorial, but it seems that it has come problem with the gradle version.

I’ll put down here the error that I’m getting

(node:5822) UnhandledPromiseRejectionWarning: Error: /Users/zeno/Desktop/Bachelor/Ionic/ticaccio/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
What went wrong:
Could not resolve all files for configuration ‘:app:debugCompileClasspath’.
Could not find any matches for com.transistorsoft:tsbackgroundfetch:+ as no versions of com.transistorsoft:tsbackgroundfetch are available.
Searched in the following locations:
file:/Users/zeno/Library/Android/sdk/extras/m2repository/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml
file:/Users/zeno/Library/Android/sdk/extras/m2repository/com/transistorsoft/tsbackgroundfetch/
file:/Users/zeno/Library/Android/sdk/extras/google/m2repository/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml
file:/Users/zeno/Library/Android/sdk/extras/google/m2repository/com/transistorsoft/tsbackgroundfetch/
file:/Users/zeno/Library/Android/sdk/extras/android/m2repository/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml
file:/Users/zeno/Library/Android/sdk/extras/android/m2repository/com/transistorsoft/tsbackgroundfetch/
https://jcenter.bintray.com/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml
https://jcenter.bintray.com/com/transistorsoft/tsbackgroundfetch/
https://maven.google.com/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml
https://maven.google.com/com/transistorsoft/tsbackgroundfetch/
https://repo1.maven.org/maven2/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml
https://repo1.maven.org/maven2/com/transistorsoft/tsbackgroundfetch/
file:/Users/zeno/Desktop/Bachelor/Ionic/ticaccio/platforms/android/app/src/android/libs/com/transistorsoft/tsbackgroundfetch/maven-metadata.xml
file:/Users/zeno/Desktop/Bachelor/Ionic/ticaccio/platforms/android/app/src/android/libs/com/transistorsoft/tsbackgroundfetch/
Required by:
project :app

Edit1:
The problem seems to be in this lines:

dependencies {
     compile(group: 'com.transistorsoft', name:'tsbackgroundfetch', version: '+')
}

inside the platform/android/cordova-plugin-background-fetch

UP, sorry for that but I need to solve this problem :slight_smile:

Did you solve the problem?

I actually used the geolocation plugin and a simple check to see if 30 minuts have passed and done my activity there…
I was not able to fix the problem, but to be fair, I have not tried to much