Ionic deploy is telling me an update is available for my app even though the app's current commit is more recent than the snapshot. How do I prevent this?

Desired behavior:

When the application’s commit is behind/before that of the most recent snapshot, I want to notify the user and automatically update their app. When the application commit is the same as the most recent deploy, or more recent, I want to do nothing.

Actual behavior:

deploy.check says an update is available even if the app itself is ahead of the commit in the deploy.

How can I ensure that deploy only updates the app if the snapshot it finds is more recent than the app itself?

1 Like