Sdk hub
Koder Hub SDK
- *rea:*Developer Platform
- *ath:*
engines/sdk/store - *ind:*Flutter SDK — in-app update checking and download for Koder apps
Role in the stack
engines/sdk/store is the Flutter client library that gives any Koder app automatic self-update awareness. Apps embed it, call KoderHubUpdater.check(slug, currentVersion), and get back an UpdateInfo object if a newer version is available on the Koder Hub. The SDK also ships an optional UpdateDialog widget for a standardized update prompt UI.
The API backend is apps/store at hub.koder.dev/api/v1/apps/{slug}. The SDK caches dismissed version numbers in shared_preferences so users are not re-prompted for updates they already skipped.
Primary couplings
| Module | Relationship |
|---|---|
apps/store |
Provides the catalog REST API the SDK queries |
| Any Koder Flutter app | Consumer — call KoderHubUpdater.check() at startup |
Interfaces
KoderHubUpdater.check(slug, currentVersion)→Future<UpdateInfo?>UpdateInfo.hasUpdate— bool comparison via semverUpdateDialogwidget — standard in-app update prompt