Skip to content

Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.

Animation packs details: the pack's status only from iOS 26.4, where it exists

Duarte Santosd253daf9b83b
diff --git a/frontend/ios/App/App/AnimationPacksPlugin.swift b/frontend/ios/App/App/AnimationPacksPlugin.swift
index 12fc23514..4ff06ba02 100644
--- a/frontend/ios/App/App/AnimationPacksPlugin.swift
+++ b/frontend/ios/App/App/AnimationPacksPlugin.swift
@@ -145,7 +145,9 @@ public class AnimationPacksPlugin: CAPPlugin, CAPBridgedPlugin {
Task {
let manager = AssetPackManager.shared
out["readable"] = AnimationPacksPlugin.readable(id, probe)
- out["status"] = AnimationPacksPlugin.describe(await manager.localStatus(ofAssetPackWithID: id))
+ if #available(iOS 26.4, *) {
+ out["status"] = AnimationPacksPlugin.describe(await manager.localStatus(ofAssetPackWithID: id))
+ }
do {
let data = try manager.contents(at: FilePath("\(id)/\(probe).webp"), searchingInAssetPackWithID: id, options: .mappedIfSafe)
out["probeBytes"] = data.count