cordova-plugin-fetch
cordova-plugin-fetch copied to clipboard
Can't compile
I'm at v11 of Cordova and Android platform and this plugin can't compile. It complains about compile
in dependencies.gradle.
I fixed the issue by changing the word to implementation
, but I'm not sure whether it's correct. Anyway, the full file is now:
apply plugin: 'maven-publish'
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
implementation 'com.squareup.okhttp3:okhttp:4.9.0'
}
To clarify: The code above compiles and the result seems to work fine. But needs to be reviewed by someone with more knowledge of Android development.