Coder Social home page Coder Social logo

Comments (5)

VigneshVaidyanathan avatar VigneshVaidyanathan commented on July 27, 2024 1

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.

kolbasa avatar kolbasa commented on July 27, 2024

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});

image

Are you downloading an apk file or a zip file?

from cordova-plugin-apkupdater.

kolbasa avatar kolbasa commented on July 27, 2024

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.

VigneshVaidyanathan avatar VigneshVaidyanathan commented on July 27, 2024

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.

kolbasa avatar kolbasa commented on July 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.