loopandlearn / LoopFollow

A general Follow app for parents of T1D Loop Users
GNU Affero General Public License v3.0
99 stars 494 forks source link

Notification of new version, blacklisted version and build expiration #296

Closed bjorkert closed 1 month ago

bjorkert commented 1 month ago

This pull request introduces improved notifications for version updates, blacklisting, and build expiration, aiming to enhance user experience by keeping them informed about essential updates and app validity.

Version and Blacklist Notifications: The application now checks for new versions and blacklisting status each time it becomes active. Notifications for new versions are shown biweekly, while blacklist notifications are shown daily if applicable. Utilizes caching to reduce network calls. Cache validity is tied to the app version, ensuring data relevance.

Build Expiration Notification: Alerts users if the app will expire within a week, with daily notifications to prompt action. Useful for TestFlight builds or other distributions with set expiration dates. Caching Enhancements:

Introduces cachedForVersion to manage cache validity per app version, refreshing cache data upon new version launches.

bjorkert commented 1 month ago

image image image