Commit Graph

24 Commits

Author SHA1 Message Date
Riley Testut
3bee6ce642 [AltWidget] Fixes ActiveAppsWidget compiler error when deployment target < iOS 17 2023-09-08 15:08:16 -05:00
Riley Testut
547c1f97a6 [AltWidget] Replaces legacy PreviewProvider previews with #Preview macro 2023-09-05 13:12:58 -05:00
Riley Testut
b41b5361e5 [AltWidget] Updates Lock Screen widgets to adopt containerBackground() on iOS 17 2023-09-05 13:12:58 -05:00
Riley Testut
ce3b032dc1 [AltWidget] Refactors previous widgets to use AppsTimelineProvider 2023-09-05 13:12:30 -05:00
Riley Testut
21c2f8d5ce [AltWidget] Adds interactive Active Apps widget to view + refresh all active apps (iOS 17+) 2023-09-05 13:11:21 -05:00
Riley Testut
c7932bf7b1 [AltWidget] Refactors widgets into separate files 2023-09-05 13:11:21 -05:00
Riley Testut
1940fbd60f [AltWidget] Supports refreshing apps directly from home screen 2023-08-18 19:30:16 -05:00
Riley Testut
ff3fb64277 [AltWidget] Adopts containerBackground(for:) on iOS 17 2023-08-18 19:30:16 -05:00
Riley Testut
e6b0c90c7a [AltWidget] Fixes incorrect home screen widget margins on iOS 17 2023-08-18 19:29:33 -05:00
Riley Testut
fe5fc07f9e Updates app version to 2.0b1 🎉 2023-04-04 18:53:18 -05:00
Riley Testut
61ad385fbd [AltWidget] Updates version to match AltStore
Fixes “App extension CFBundleShortVersionString must match parent app” warning
2023-03-01 16:38:49 -06:00
Riley Testut
6eeb0ca19f [AltWidget] Adds “icon” style lock screen widget 2022-09-14 19:04:36 -07:00
Riley Testut
ddcc7eee61 [AltWidget] Replaces ProgressRing with SwiftUI.Gauge 2022-09-14 19:01:43 -07:00
Riley Testut
c9d522fad5 Adds iOS 16 Lock Screen widget 2022-08-17 15:33:13 -05:00
Riley Testut
c2bda2241c [AltWidget] Fixes not updating when app is near/past expiration 2021-10-12 12:10:45 -07:00
Riley Testut
337d432fdd [AltWidget] Improves layout on smaller devices
Shrinking app icon to 40% width allows whitespace between the app name and the "Expires in" text on smaller devices, such as the iPhone 12/13 mini.
2021-10-12 11:37:36 -07:00
Riley Testut
00b2e25b01 Revert "[AltWidget] Waits until the following day to reload timeline if an error occurs"
iOS automatically determines how often to refresh widgets based on user's behavior, so we should rely on that instead of artificially delaying timeline reloads until the next day if an error occurs.

This reverts commit 5997ac5424.
2021-10-06 12:21:01 -07:00
Riley Testut
5997ac5424 [AltWidget] Waits until the following day to reload timeline if an error occurs 2021-10-04 18:41:50 -07:00
Riley Testut
b4f97aadf1 [AltWidget] Fixes app name appearing very small on iOS 15
Also improves layout on smaller devices, such as the iPhone 12/13 mini.
2021-10-04 17:59:41 -07:00
Riley Testut
b7caaeb788 [AltWidget] Fixes incorrect days until expiration
Previously, we used Date() to calculate the number of days until apps expired. This meant all calculations were based on when the widget extension was run — not when it was actually displayed. As a result, this made it seem like the widget never updated since all timeline entries were calculated from the same date.

Now, we instead calculate remaining days from AppEntry.date. This means the widget’s remaining days are relative to the current timeline entry’s date, matching what is displayed in AltStore.
2021-10-04 17:51:14 -07:00
Riley Testut
de174db1bc [AltWidget] Fixes green tinting for sideloaded apps
Changes fallback tint color from AltStore-green to gray, which is more neutral.
2020-09-22 10:48:43 -07:00
Riley Testut
e54d309f39 [AltWidget] Preserves layout if app icon is missing 2020-09-22 10:45:13 -07:00
Riley Testut
aaaf6ed38d [AltWidget] Fixes crash when featured app is expired 2020-09-15 15:22:10 -07:00
Riley Testut
5abf7a5a11 [AltWidget] Initial version 2020-09-15 14:27:22 -07:00