Skip to content

Use runtime app metadata for version reporting#556

Merged
jjoonleo merged 1 commit into
mainfrom
feature/issue-546-runtime-app-metadata
Jun 28, 2026
Merged

Use runtime app metadata for version reporting#556
jjoonleo merged 1 commit into
mainfrom
feature/issue-546-runtime-app-metadata

Conversation

@jjoonleo

Copy link
Copy Markdown
Contributor

Summary

  • Add an injectable PackageInfo-backed app metadata provider.
  • Use the injected runtime app version for Product Usage Event app_version parameters.
  • Use the same metadata source for AlarmDeviceInfo.appVersion during alarm device registration.
  • Add regression coverage for the metadata provider, analytics event parameters, and alarm device payloads.

Test results

  • dart run build_runner build --delete-conflicting-outputs
  • flutter test test/core/services/app_metadata_service_test.dart test/core/services/product_analytics_service_test.dart test/data/repositories/alarm_repository_impl_test.dart test/presentation/app/cubit/analytics_preference_cubit_test.dart test/presentation/my_page/my_page_screen_test.dart
  • flutter analyze

Closes #546

@jjoonleo jjoonleo marked this pull request as ready for review June 28, 2026 05:25
@jjoonleo jjoonleo merged commit c14f09f into main Jun 28, 2026
3 of 6 checks passed
@jjoonleo jjoonleo deleted the feature/issue-546-runtime-app-metadata branch June 28, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use runtime app metadata for analytics and alarm device registration

1 participant