Comments (10)
Just a heads up jcenter is back up today so the plugin can build again.
from cordova-plugin-background-upload.
Hello @jrochel
Can you please send us your configs(package.json, ....) and also specify your cordova-android version.
Also send us all the steps that you have done to get this error so that we can reproduce it.
Regards,
Zafir
Spoon Consulting LTD
from cordova-plugin-background-upload.
Here's my package.json (I hope it's the correct one) :
{
"name": "cordova-ophelia",
"version": "0.0.0",
"description": "",
"dependencies": {
"cordova-common": "^4.0.2",
"plist": "^3.0.1"
}
}
root@4804e56ae793:~#
root@4804e56ae793:~# cat ./op/cordova/package.json
{
"name": "com.ophelia.test",
"displayName": "Ophelia Test",
"version": "1.0.0",
"description": "A sample Apache Cordova application that responds to the deviceready event.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"ecosystem:cordova"
],
"author": "Apache Cordova Team",
"license": "Apache-2.0",
"devDependencies": {
"@havesource/cordova-plugin-push": "git+https://github.com/rluong89/cordova-plugin-push.git#change-messagemap-key",
"@spoonconsulting/cordova-plugin-background-upload": "git+https://github.com/spoonconsulting/cordova-plugin-background-upload.git",
"branch-cordova-sdk": "git+https://github.com/ophelia/branch-cordova-sdk.git",
"com.darktalker.cordova.screenshot": "git+https://github.com/aik9508/cordova-screenshot.git",
"cordova-android": "^10.0.1",
"cordova-ophelia": "file:../cordova_plugins/ophelia",
"cordova-hot-code-push-plugin": "git+https://github.com/ophelia/cordova-hot-code-push.git",
"cordova-launch-review": "^4.0.1",
"cordova-plugin-androidx": "^1.0.2",
"cordova-plugin-androidx-adapter": "^1.1.1",
"cordova-plugin-app-launcher": "^0.4.0",
"cordova-plugin-appavailability": "^0.4.2",
"cordova-plugin-background-upload": "https://github.com/jrochel/cordova-plugin-background-upload",
"cordova-plugin-chooser": "^1.3.2",
"cordova-plugin-device": "^2.0.3",
"cordova-plugin-facebook-connect": "^3.2.0",
"cordova-plugin-file": "^6.0.2",
"cordova-plugin-file-opener2": "^3.0.5",
"cordova-plugin-file-transfer": "git+https://github.com/apache/cordova-plugin-file-transfer.git",
"cordova-plugin-firebase-analytics": "^6.0.1",
"cordova-plugin-geolocation": "git+https://github.com/apache/cordova-plugin-geolocation.git",
"cordova-plugin-globalization": "^1.0.9",
"cordova-plugin-googleplus": "^8.5.1",
"cordova-plugin-inappbrowser": "^5.0.0",
"cordova-plugin-intent": "^0.1.2",
"cordova-plugin-keyboard": "git+https://github.com/ophelia/cordova-plugin-keyboard.git",
"cordova-plugin-media-capture": "^3.0.3",
"cordova-plugin-network-information": "^1.2.1",
"cordova-plugin-push": "https://github.com/rluong89/cordova-plugin-push.git#change-messagemap-key",
"cordova-plugin-safariviewcontroller": "^2.0.0",
"cordova-plugin-screen-orientation": "^3.0.2",
"cordova-plugin-sign-in-with-apple": "^0.1.2",
"cordova-plugin-splashscreen": "^6.0.0",
"cordova-plugin-statusbar": "git+https://github.com/ophelia/cordova-plugin-statusbar.git",
"cordova-plugin-x-socialsharing": "^6.0.3",
"cordova-support-android-plugin": "^1.0.2",
"cordova-universal-links-plugin": "git+https://github.com/ophelia/cordova-universal-links-plugin.git",
"es6-promise-plugin": "^4.2.2"
},
"cordova": {
"plugins": {
"cordova-ophelia": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-androidx-adapter": {},
"cordova-plugin-background-upload": {},
"cordova-plugin-chooser": {},
"cordova-launch-review": {
"ANDROID_PLAY_SERVICES_CORE_VERSION": "1.8.0"
},
"cordova-plugin-safariviewcontroller": {},
"cordova-plugin-inappbrowser": {},
"cordova-plugin-device": {},
"cordova-plugin-sign-in-with-apple": {},
"cordova-plugin-facebook-connect": {
"FACEBOOK_AUTO_LOG_APP_EVENTS": "false",
"APP_ID": "556905271127206",
"APP_NAME": "ophelia",
"FACEBOOK_URL_SCHEME_SUFFIX": " ",
"OTHER_APP_SCHEMES": " ",
"FACEBOOK_HYBRID_APP_EVENTS": "false",
"FACEBOOK_ADVERTISER_ID_COLLECTION": "true",
"FACEBOOK_ANDROID_SDK_VERSION": "11.3.0",
"FACEBOOK_IOS_SDK_VERSION": "11.1.0",
"FACEBOOK_BROWSER_SDK_VERSION": "v11.0"
},
"cordova-plugin-network-information": {},
"cordova-plugin-globalization": {},
"cordova-plugin-firebase-analytics": {
"ANALYTICS_COLLECTION_ENABLED": "false",
"AUTOMATIC_SCREEN_REPORTING_ENABLED": "true",
"ANDROID_FIREBASE_ANALYTICS_VERSION": "19.0.+"
},
"cordova-plugin-push": {},
"cordova-plugin-geolocation": {
"GPS_REQUIRED": "true"
},
"cordova-plugin-statusbar": {},
"cordova-plugin-keyboard": {},
"cordova-universal-links-plugin": {},
"cordova-plugin-googleplus": {
"REVERSED_CLIENT_ID": "com.googleusercontent.apps.921269662136-2lq4tp7rpk9anb4go0cnsqld8e67t8b7",
"PLAY_SERVICES_VERSION": "15.0.1"
},
"cordova-plugin-file": {},
"cordova-plugin-file-transfer": {},
"cordova-plugin-media-capture": {},
"cordova-plugin-file-opener2": {
"ANDROID_SUPPORT_V4_VERSION": "27.+"
},
"cordova-plugin-intent": {},
"cordova-plugin-x-socialsharing": {},
"cordova-plugin-appavailability": {},
"cordova-plugin-app-launcher": {},
"cordova-plugin-screen-orientation": {},
"cordova-hot-code-push-plugin": {},
"com.darktalker.cordova.screenshot": {},
"branch-cordova-sdk": {},
"@spoonconsulting/cordova-plugin-background-upload": {},
"@havesource/cordova-plugin-push": {
"ANDROID_SUPPORT_V13_VERSION": "28.0.0",
"FCM_VERSION": "18.+"
},
"com.napolitano.cordova.plugin.intent": {}
},
"platforms": [
"android"
]
},
"dependencies": {}
from cordova-plugin-background-upload.
Also I'm using commandlinetools-linux-7583922_latest.
from cordova-plugin-background-upload.
cordova platform ls
yields
Installed platforms:
android 10.0.1
from cordova-plugin-background-upload.
Hello @jrochel,
Can you please remove these lines:
"cordova-plugin-background-upload": "https://github.com/jrochel/cordova-plugin-background-upload"
"cordova-plugin-background-upload": {}
And also for the line "@spoonconsulting/cordova-plugin-background-upload": "git+https://github.com/spoonconsulting/cordova-plugin-background-upload.git"
, use v2 branch or 2.0.7 version:
"@spoonconsulting/cordova-plugin-background-upload": "git+https://github.com/spoonconsulting/cordova-plugin-background-upload.git#v2"
or"@spoonconsulting/cordova-plugin-background-upload": "2.0.7"
(Recommended)
Regards,
Zafir
Spoon Consulting LTD
from cordova-plugin-background-upload.
Thanks, I have done as you ask, but the problem persists. Just as version 3 version 2.0.7 also references in plugin.xml
the framework com.sromku:simple-storage:1.2.0
, which is no longer available (as jcenter has been retired).
So I'm still getting the error:
Required by:
project :app
> Could not find com.sromku:simple-storage:1.2.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/sromku/simple-storage/1.2.0/simple-storage-1.2.0.pom
- https://repo.maven.apache.org/maven2/com/sromku/simple-storage/1.2.0/simple-storage-1.2.0.pom
Required by:
project :app
From which repository can this framework be downloaded?
from cordova-plugin-background-upload.
Hello @jrochel,
This framework is using JCenter. Have you tried to add jcenter()
in your build.grade. Like this below:
repositories {
jcenter()
}
As for JCenter Deprecration(that may be effective in February 2022 - https://blog.gradle.org/jcenter-shutdown#check), we will be working on a new version for that.
Regards,
Zafir
Spoon Consulting LTD
from cordova-plugin-background-upload.
Hey looks like jcenter
is shutting down:
https://blog.gradle.org/jcenter-shutdown
I have heard rumor they are possibly keeping it up for read only but I can tell you that as of the moment it is 502ing. @zafirskthelifehacker any ideas?
from cordova-plugin-background-upload.
I was able to find that plugin on mavenCentral but there is no 4.0.0 it would appear: https://repo.maven.apache.org/maven2/net/gotev/uploadservice/
from cordova-plugin-background-upload.
Related Issues (20)
- minCompileSDK(31) specified in a dependency's AAR metadata androidx.work:work-runtime:2.7.1 HOT 3
- How to modify FileUploader.m to use basic PUT request (not multipart) HOT 2
- Uploads fail due to multipart/mixed HOT 1
- UPLOADED event fires off when the responseCode is 4xx HOT 6
- Upload fails silently when using cordova-labs-local-webserver on iOS HOT 2
- Upload by 64encoded content not uri path + Background Download HOT 3
- File Upload's don't work if the file has a "space" in the filename. IOS & Android HOT 1
- File not found (Android) HOT 38
- "[email protected]" does not satisfy dependency plugin requirement HOT 7
- Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent HOT 6
- Is there a way to get the list of pending upload tasks? HOT 2
- Supported Android Versions? HOT 1
- Unable to install 2.0.7 HOT 12
- Unable to specify mime type
- error: 'Upload Settings object is missing or has invalid arguments' HOT 1
- this.uploader.on(...) is not a function HOT 3
- File not found since Capacitor 5 HOT 1
- Unable to remove queued upload
- initializing FileTransferManager twice causes callbacks to not be sent
- Errors during init doesn't throw and event for the callback HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-background-upload.