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:
Required by:
project :app

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