Skip to main content

mini_program_contracts 0.3.19 copy "mini_program_contracts: ^0.3.19" to clipboard
mini_program_contracts: ^0.3.19 copied to clipboard

Shared contracts for the portable Flutter mini-program platform.

0.3.19 #

  • Add canonical drawer, sheet, and dialog action names and stable panel availability, foreground, nesting-limit, and cancellation errors.

0.3.18 #

  • Add strict, shared civil-date, 24-hour time, and inclusive date-range value validation. Reject normalized invalid dates, malformed times, and reversed ranges.

0.3.17 #

  • Add known map destination contracts, explicit coordinate systems, driving/walking modes, and stable map action/capability/error names.

0.3.16 #

  • Add canonical clipboard, system haptic, and phone dialer actions, capabilities, errors, and safe ordinary phone number normalization.

0.3.15 #

  • Add microphone.record, microphone.stop, and microphone.cancel, the microphone.record capability, stable recording errors, and bounded AAC/M4A voice-note metadata with opaque app-owned media references.

0.3.14 #

  • Add gallery image-selection metadata, gallery.images, gallery action names, and stable picker errors. Selected photos expose only opaque references and bounded JSON-safe metadata.

0.3.13 #

  • Add the display.brightness capability and stable temporary window- brightness policy, availability, validation, and operation failure codes.

0.3.12 #

  • Add the stable share.open action, share.system capability, chooser-opened result contract, and host-policy, gesture, content, ownership, concurrency, availability, and operation failure codes.

0.3.11 #

  • Add stable streamed audio and inline video action names, playback capability identifiers, normalized status snapshots, and media failure codes.
  • Add audio volume/speed controls, video fullscreen controls, and stable cache, fullscreen, and interruption errors for Media Playback Phase 2.

0.3.10 #

  • Add stable QR scan action and capability identifiers, inert scan-result metadata, and policy, permission, lifecycle, timeout, and result errors.

0.3.9 #

  • Add stable system-camera photo capture and cancellation action names, capability IDs, opaque photo metadata, and camera failure codes.
  • Add stable flashlight control action names, capability IDs, status metadata, and flashlight failure codes.
  • Add the media.release action, media.preview capability, and stable temporary-media ownership, preview, and cleanup errors.

0.3.8 #

  • Add stable file.upload, file.download, and file.cancel action names.
  • Add provider-neutral file transfer progress contracts, capability IDs, and stable policy, picker, storage, transfer, cancellation, and result errors.

0.3.7 #

  • Add provider-neutral one-time approximate location result contracts.
  • Add the location.getCurrent action and location.current capability IDs.
  • Add stable location policy, permission, service, timeout, concurrency, and result-validation error codes.

0.3.6 #

  • Add a host-facing permission reason to Publisher API contracts.
  • Add the stable publisher_api_disabled runtime error code.

0.3.5 #

  • Add stable artifact-local JSON data loading and search error codes.

0.3.4 #

  • Add stable errors for missing scoped actions and recursive or excessive reusable action calls.

0.3.3 #

  • Add the stable condition_invalid_value control-flow error code.

0.3.2 #

  • Add the stable initialize_failed lifecycle error code.

0.3.1 #

  • Add stable state transformation and math runtime error code constants.

0.3.0 #

  • Remove artifact credential and access-mode contract constants.
  • Keep Publisher API Contract V1 as a runtime API contract only.
  • Preserve generic runtime success, error, pagination, and auth-style error envelope fixtures.
0
likes
150
points
252
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Shared contracts for the portable Flutter mini-program platform.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

freezed_annotation, json_annotation, pub_semver

More

Packages that depend on mini_program_contracts