flutter_ota_kit_core

Pure-Dart core of the flutter_ota_kit OTA toolkit. It has no Flutter dependency and is shared by every other package (client, plugin-core, and all four backends).

What's inside

  • Data modelBundle, PatchInfo, AppUpdateInfo, and the Platform / UpdateStrategy / status enums that describe an over-the-air update.
  • Rollout math — deterministic staged-rollout cohort helpers (rollout.dart).
  • SemversemverSatisfies(target, range) for matching a device's app version against a bundle's rollout rule.
  • Identifiersuuidv7 generation plus a NIL sentinel (uuid.dart).
  • Bundle artifacts — helpers to describe and address content-addressed patch artifacts.

Usage

import 'package:flutter_ota_kit_core/flutter_ota_kit_core.dart';

final ok = semverSatisfies('1.0.0', '>=1.0.0 <2.0.0'); // true

License

MIT — see the project LICENSE.

Libraries

flutter_ota_kit_core
flutter_ota_kit core — Dart translation of hot-updater's packages/core.