mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
flutter_mailer has no Linux implementation (throws MissingPluginException) and on other platforms required users to have a configured mail client. Vanishingly few error reports ever reached anyone. The 'Send' button on the error popup was effectively a no-op. Replaced with a url_launcher call that opens a prefilled GitHub issue at github.com/Such-Software/hash-wallet/issues/new with the error trace inlined into the body (truncated to ~6.5KB to stay under GitHub's URL length cap; full log path is shown in the body for users who want to attach it manually). Adds a 'bug,from-app' label and a short prompt asking the user to describe what they were doing. Downsides: people without a GitHub account will get nothing useful when they hit 'Send' — they'll see GitHub's sign-up page. Net still better than the silent no-op we had. Adding a real reporting endpoint (Cloudflare Worker) is the obvious follow-up if low report volume turns out to matter. Also removed flutter_mailer from pubspec.yaml — was only used here.