vaenow / cordova-plugin-app-update

App updater for Cordova/PhoneGap
MIT License
299 stars 147 forks source link

my app continuosly ask for "upadate available even though is updated once in ionic 3" #130

Open rohananarse opened 5 years ago

3lywa commented 5 years ago

I'm running into the same issue as well. The app keeps asking to download update even though it was already downloaded and installed.

rohananarse commented 5 years ago

Hi, It's something to do with the code 202 which checks if the app I already updated but still confused how to implement. It in ionic 3 app 🤔🤔

On Fri, Apr 19, 2019, 7:52 AM Ali Al-Munayer notifications@github.com wrote:

I'm running into the same issue as well. The app keeps asking to download update even though it was already downloaded and installed.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vaenow/cordova-plugin-app-update/issues/130#issuecomment-484747182, or mute the thread https://github.com/notifications/unsubscribe-auth/AGCSVGNLTY7DTEAI6NQ2DFDPREUGTANCNFSM4HFP5OPA .

rohananarse commented 5 years ago

I'm running into the same issue as well. The app keeps asking to download update even though it was already downloaded and installed.

hi did you get any solution for continuous app update even if its updated...??

smout74 commented 5 years ago

Are you sure your version numbers match ?

For example:

in ionic config.xml : version="1.0.19" in update.xml : 10019

3lywa commented 5 years ago

To solve just make sure that update.xml on the server <version>2</version> matches the android-versionCode defined in config.xml

<widget android-versionCode="2" version="1.0.1" .... />