utils/crdt_sync_flutter/pubspec.yaml
Krzysztof kuhy Rudnicki 79130a6dd7
Some checks are pending
file length / file-length (push) Waiting to run
palette drift / palette (push) Waiting to run
Require desktopClientId rather than defaulting it to empty
An optional '' default reads as "this parameter is usually irrelevant", and
it made `avoid_redundant_argument_values` fire in the first app to pass ''
explicitly -- pushing that app toward deleting the argument, which is exactly
the line that must stay for when the Desktop client id arrives.

Requiring it forces each app to state which halves it configured. Passing ''
still means "not configured"; it just has to be said out loud.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CFSGeWxHPY5rHUGrPqhcmG
2026-08-22 18:47:10 +02:00

38 lines
1.1 KiB
YAML

name: crdt_sync_flutter
description: >-
The Flutter half of crdt_sync: keystore-backed Firebase credentials, a
persisted per-install device id, and a one-call bootstrap. Removes the
~150 lines of firebase_backend.dart every consuming app was copying.
publish_to: 'none'
version: 0.2.1
environment:
sdk: ^3.12.2
dependencies:
crdt_sync:
git:
url: https://github.com/kuhyx/utils
ref: crdt_sync_dart-v0.11.0
path: crdt_sync_dart
crypto: ^3.0.6
flutter:
sdk: flutter
flutter_secure_storage: ^10.3.1
# A real dependency, not a dev one: lib/testing/ ships the keystore fake so
# consuming apps can test their own sync wiring without rebuilding it.
flutter_test:
sdk: flutter
# The one-tap Google plugin. Android/iOS/web only -- there is no Linux
# implementation -- so desktop reaches Google through the loopback flow in
# google_desktop_sign_in.dart instead. See google_platform.dart.
google_sign_in: ^7.2.0
http: ^1.6.0
shared_preferences: ^2.5.3
# Opens the system browser for the desktop loopback sign-in.
url_launcher: ^6.3.1
uuid: ^4.5.1
dev_dependencies:
very_good_analysis: ^10.2.0