Comments (5)
Ohh sure I will try that. Thanks. for the help. I will close the issue for now, but if I figure it out, will post it for reference.
from cordova-plugin-apkupdater.
This is what it looks like for me when I download from Github. After the download an info of the downloaded apk should appear.
await ApkUpdater.download("https://raw.githubusercontent.com/kolbasa/cordova-plugin-apkupdater-demo/master/Demo.apk", {onDownloadProgress: console.log});
Are you downloading an apk file or a zip file?
from cordova-plugin-apkupdater.
The error message is somewhat misleading. It does not mean that there is nothing in the download folder, but that no "*.apk" file was found. Therefore, it would be interesting to know what exactly is being downloaded.
(I should improve this behavior :D).
from cordova-plugin-apkupdater.
Thanks a lot. Indeed, my github url was wrong. Instead of raw content url, I had given the actual blob url which was the issue. Now I am able to see the alert to install the update, but it ends up saying 'App not installed'.
The version, version code everything is incremented. Its a newly genereated APK with same keys used.
from cordova-plugin-apkupdater.
Try to install the update manually with adb install update.apk
.
This should tell you why the update could not be installed. Often it is a problem with a changed signature.
Unfortunately, the plugin itself cannot catch the error so easily.
from cordova-plugin-apkupdater.
Related Issues (20)
- failed to parse package HOT 6
- Kiosk Mode + plugin apkUpdater V2.0.2 HOT 9
- isDeviceRooted not working correctly HOT 5
- Cannot update versioning HOT 4
- Authorization headers always sent HOT 3
- XAPK install support? HOT 8
- Issue with Progress percentage ,it is always returns 0 HOT 2
- Set device owner for Android TV HOT 3
- support for ionic 5 HOT 1
- is it possible to update an application without user intervention/without using root? HOT 38
- Downloading fails with "No valid update found in download directory" HOT 2
- Cannot read properties of undefined (reading 'getInstalledVersion') HOT 7
- Plugin not working with ionic's capacitor HOT 6
- Got an "Invalid page file" error with capacitor project HOT 4
- Couldn't find meta-data for provider with authority org.app.app.apkupdater.provider HOT 12
- Great, thank you for your work. I solved it
- Cordova error HOT 3
- Trust anchor for certification path not found HOT 4
- Allow custom headers or at least Bearer authentication HOT 2
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-apkupdater.