Giter Site home page Giter Site logo

Comments (9)

jenly1314 avatar jenly1314 commented on May 20, 2024

app-dialog你使用1.0.5吧。1.0.6版本不小心改错了一句代码导致没拦截,后续发布新版本修复。

from appupdater.

bannerkun avatar bannerkun commented on May 20, 2024

老哥,为什么安装完,不删除本地已下载的文件,mFile.delete这句不会走,

from appupdater.

jenly1314 avatar jenly1314 commented on May 20, 2024

没太听懂你的意思,是想安装后删除文件吗?

from appupdater.

bannerkun avatar bannerkun commented on May 20, 2024

是的,我这边有出现一个清空,本地有apk,versioncode都不一样,还是吊起安装,导致下载不了最新版本。

from appupdater.

bannerkun avatar bannerkun commented on May 20, 2024

我想安装新版本后删除下载的安装包,这样就不会出问题了

from appupdater.

jenly1314 avatar jenly1314 commented on May 20, 2024

你应该是用了优先缓存机制吧,也就是:setVersionCode(int versionCode);中设置的versionCode需要与最新的apk版本一致。

from appupdater.

bannerkun avatar bannerkun commented on May 20, 2024

setVersionCode的值是从服务器拿的,是最新apk的versionCode值。这样填写对吗?

from appupdater.

bannerkun avatar bannerkun commented on May 20, 2024

我以前没设置versionCode对比 ,最近新版才加入的,会对就版本有影响吗?

from appupdater.

jenly1314 avatar jenly1314 commented on May 20, 2024

没影响,设置了 versionCode 只是增加优先取缓存机制,相同版本的apk只下载一次,减少重复下载的动作。当本地存在与versionCode相同的apk时,就不会再重新去下载。

from appupdater.

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.