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

Shorebird-compatible OTA check/events protocol types for Meta Code Push

ota_protocol #

Shorebird-compatible OTA check/events protocol types for Meta Code Push.

Shared Dart models for patch check requests/responses, patch lifecycle events, and admin records used by Meta OTA tooling and services.

Usage #

import 'package:ota_protocol/ota_protocol.dart';

final request = PatchCheckRequest(
  appId: 'my-app',
  channel: 'stable',
  releaseVersion: '1.0.0+1',
  platform: 'android',
  arch: 'aarch64',
  clientId: 'device-id',
);

final json = request.toJson();
final parsed = PatchCheckRequest.fromJson(json);

License #

Apache License 2.0

0
likes
110
points
94
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Shorebird-compatible OTA check/events protocol types for Meta Code Push

License

unknown (license)

Dependencies

json_annotation

More

Packages that depend on ota_protocol