upgrader
upgrader copied to clipboard
Mandatory alert should not close after onUpdate
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?
++++
same issue here, can we override isTooSoon and hasAlerted ?
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.