flutter_ota_kit_core 0.1.0 copy "flutter_ota_kit_core: ^0.1.0" to clipboard
flutter_ota_kit_core: ^0.1.0 copied to clipboard

Core data model, rollout cohorts, and shared utilities for flutter_ota_kit — Dart translation of hot-updater's packages/core.

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.

0
likes
0
points
199
downloads

Documentation

Documentation

Publisher

unverified uploader

Weekly Downloads

Core data model, rollout cohorts, and shared utilities for flutter_ota_kit — Dart translation of hot-updater's packages/core.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on flutter_ota_kit_core