What problem does it solve?
This Skill generates a production-ready minimum-version enforcement system that prevents users from running unsupported app releases and surfaces configurable update prompts so teams don't have to hand-roll semantic version parsing, network checks, UI, caching, and skip logic.
Core Features & Use Cases
- Multiple version sources: Remote JSON endpoint, App Store lookup API, or Firebase Remote Config options to determine update requirements.
- Hard and soft update flows: Full-screen blocking UI for mandatory updates and a dismissible banner for recommended updates, including skip-per-version and frequency controls.
- Integration and testing: Templates include AppVersion, VersionChecker implementations, UpdateManager, UI components (ForceUpdateView, SoftUpdateBannerView), a ViewModifier for automatic checks, and example unit tests to validate behavior.
- Use Case: Add a daily remote-config check to an iOS app that blocks usage below a minimum version, shows a soft prompt for recommended updates, and integrates with an existing networking layer.
Quick Start
Generate a Swift force update system that checks a remote JSON endpoint, supports hard and soft updates, creates UpdateManager and UI components, and wires a check modifier into the app root view.