Files
m8chat-app2/pubspec.yaml
T
help4bisandClaude Sonnet 5 7c9e730cf0 fix(analytics): resolve sessionId before assigning trackScreen state (v1.12.1+17)
The sessionId getter mints a fresh session on cold start or after a
30-min lapse, and as a side effect nulls _currentScreenName/_currentStepUid.
trackScreen() set those fields before calling the sessionId getter, so the
mint-on-cold-start side effect could immediately null the fields it had
just set, breaking the same-screen idempotency check and firing a
duplicate session_enter right after cold start.

Fix: resolve visitorId and sessionId into local variables before
assigning _currentScreenName/_currentStepUid, and use the locals in the
_enqueue() payload.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-25 14:58:56 +10:00

71 lines
1.3 KiB
YAML

name: m8chat_app
description: "M8Chat — Matrix chat client for Android, iOS, and Web."
publish_to: 'none'
version: 1.12.1+17
environment:
sdk: '>=3.11.0 <4.0.0'
dependencies:
flutter:
sdk: flutter
# Matrix SDK
matrix: ^0.33.0
olm: ^2.0.4
# State management
flutter_riverpod: ^3.0.0
riverpod_annotation: ^3.0.0
# Navigation
go_router: ^15.0.0
# Storage
drift: ^2.22.0
drift_flutter: ^0.2.0
flutter_secure_storage: ^9.0.0
# Serialisation
freezed_annotation: ^3.0.0
json_annotation: ^4.9.0
# Video/Voice (MatrixRTC + LiveKit) — Phase 2 active use; wired in Phase 1
livekit_client: ^2.4.0
flutter_webrtc: ^0.12.0
# HTTP client (used directly in LiveKit JWT fetch)
http: ^1.0.0
# Media upload
file_picker: ^8.0.0
# Emoji reactions
emoji_picker_flutter: ^4.0.0
# Web platform (required for dart:js_interop DOM access)
web: ^1.1.0
# UI
cached_network_image: ^3.4.0
timeago: ^3.7.0
intl: ^0.20.0
flutter_svg: ^2.2.4
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^5.0.0
build_runner: ^2.4.0
riverpod_generator: ^3.0.0
freezed: ^3.0.0
json_serializable: ^6.9.0
drift_dev: ^2.22.0
flutter:
uses-material-design: true
assets:
- assets/images/
- assets/icons/