feat(crash): add app version and device info to crash reports

Issue reports now include:
- App version (from package_info_plus)
- OS name and version (non-personal, from dart:io Platform)
- Error and stack trace wrapped in triple-backtick code blocks
  so Codeberg renders them as preformatted text

Closes #59

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Thomas SharedInbox
2026-05-14 20:52:40 +02:00
co-authored by Claude Sonnet 4.6
parent 6f030213a7
commit 26a9a5e6f3
3 changed files with 37 additions and 11 deletions
+3
View File
@@ -49,6 +49,9 @@ dependencies:
flutter_local_notifications: ^18.0.1
workmanager: ^0.9.0
# App version metadata for crash reports
package_info_plus: ^8.0.0
dev_dependencies:
flutter_test:
sdk: flutter