upgrader icon indicating copy to clipboard operation
upgrader copied to clipboard

Add callback when no updates are available or previously ignored or marked for remind later

Open ajilo297 opened this issue 4 years ago • 1 comments

I am trying to add an additional callback for when no updates are available. This will be very handy for a few scenarios. For example, I would like to check if there are updates available when my app is launched. The best way to do this would be to do it in the Splash screen, and navigate to my inner pages if no updates are found.

Let me know your thoughts on this @larryaasen

ajilo297 avatar Oct 06 '21 19:10 ajilo297

Codecov Report

Merging #130 (5bb774d) into master (98ba530) will increase coverage by 0.04%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #130      +/-   ##
==========================================
+ Coverage   90.60%   90.65%   +0.04%     
==========================================
  Files           9        9              
  Lines         777      781       +4     
==========================================
+ Hits          704      708       +4     
  Misses         73       73              
Impacted Files Coverage Δ
lib/src/upgrade_alert.dart 100.00% <ø> (ø)
lib/src/upgrade_card.dart 100.00% <ø> (ø)
lib/src/upgrade_base.dart 66.66% <100.00%> (+1.44%) :arrow_up:
lib/src/upgrader.dart 87.33% <100.00%> (+0.08%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 98ba530...5bb774d. Read the comment docs.

codecov[bot] avatar Oct 06 '21 19:10 codecov[bot]