Always asks to upgrade on launch of app


#1

It is always asking to update on app load.

Deploy: Debug

A Newer version of this app is available on this device.
Would you like to update or stay on the bundled version?
(This warning appears in debug builds)

Ignore update

I click update and close the app, reopen it asks again.


#2

I only managed it by setting version in config.xml from 0.0.1 to 0.0.2. But maybe a bug since 0.0.1 is not newer than 0.0.1. :wink:

Andreas


#3

It does not work for me. Although I set the version to a higher number, it still asks every time


#4

Did you solved it? I have the same problem


#5

Could you figure this out?


#6

I changed 0.0.1 to 0.0.2, 0.0.3, 0.0.4, 1.1 but still get that popup on second launch.
On first launch, it appears good. On subsequent launches, I get the popup and when I update, it switches back to old version. Very annoying now :frowning:


#7

Guys I found the solution. It was Ionic Live Deploy that was fetching the old code. Hope this helps.


#8

Where can I tell Ionic Live Deploy to stop fetching old code??


#9

Go to your package.json and change this

"UPDATE_METHOD": "background" to "UPDATE_METHOD": "none"

and do npm install.