Matthias Nott
3 days ago cda5ac96c4802f7c33f8f0099a8c9c34423dde4a
refs
author Matthias Nott <mnott@mnsoft.org>
Saturday, April 11, 2026 09:27 +0200
committer Matthias Nott <mnott@mnsoft.org>
Saturday, April 11, 2026 09:27 +0200
commitcda5ac96c4802f7c33f8f0099a8c9c34423dde4a
tree d145ea4a6a02169cc721ad3df9971badcac2ccfa tree | zip | gz
parent 489419f3b133c4725d1ffdf5fb320898a55e9544 view | diff
feat: PDF and document file viewing support

- Add mimeType field to Message model, persisted through JSON
- Pass mimeType from MQTT handler through to message bubbles
- Non-image files (PDF, CSV, Office docs) render as file cards
with type icon, size info, and tap-to-share via iOS share sheet
- Fix "image decode error" when receiving PDFs via pailot_send_file
- Reconnect backoff: only reset attempt counter after 10s stability
4 files modified
changed files
lib/models/message.dart diff | view | blame | history
lib/screens/chat_screen.dart diff | view | blame | history
lib/services/mqtt_service.dart diff | view | blame | history
lib/widgets/message_bubble.dart diff | view | blame | history