upgrader icon indicating copy to clipboard operation
upgrader copied to clipboard

Mandatory alert should not close after onUpdate

Open marcorizza opened this issue 1 year ago • 3 comments

Now when I click the update button the alert closes, I want to make sure that it never closes and that the user updates the app compulsorily, how can this be done?

marcorizza avatar Oct 01 '24 17:10 marcorizza

++++

Anilaydinaa avatar Oct 01 '24 18:10 Anilaydinaa

same issue here, can we override isTooSoon and hasAlerted ?

sreeraj-gs avatar Oct 10 '24 06:10 sreeraj-gs

Since Upgrader.isTooSoon() is a public method, it can be overridden and you can customize the behavior as needed. However, _hasAlerted is private and cannot be overridden. Also, UpgradeAlert.onUserUpdated(), which is called when the user taps on the update button, can also be overridden to prevent the pop from happening.

larryaasen avatar Oct 13 '24 12:10 larryaasen