Always asks to upgrade on launch of app

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 Likes

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

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

Did you solved it? I have the same problem

Could you figure this out?

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:

1 Like

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

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

Go to your package.json and change this

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

and do npm install.