ArtSabintsev / Siren

Notify users when a new version of your app is available and prompt them to upgrade.
http://sabintsev.com/
MIT License
4.24k stars 407 forks source link

Update notification keeps showing regardless you have latest version installed #376

Closed gargDigrt closed 3 years ago

gargDigrt commented 3 years ago

Using the latest version of Siren. Update dialogue is visible even app gets installed directly from the App store.

//My Code

Siren.shared.wail(performCheck: .onDemand) { results in switch results { case .success(let updateResults): print("AlertAction ", updateResults.alertAction) print("Localization ", updateResults.localization) print("Model ", updateResults.model) print("UpdateType ", updateResults.updateType) case .failure(let error): print(error.localizedDescription) } }

ArtSabintsev commented 3 years ago

Why are you using .onDemand?

Ideally, choose an option that's listed in the Sample project that works best for your scenario.

gargDigrt commented 3 years ago

@ArtSabintsev OK, I'll try this.