Skip to content

0.0.1

Choose a tag to compare

@Franklyn-R-Silva Franklyn-R-Silva released this 28 Nov 13:06
· 92 commits to main since this release
2768ce1
  • Project scaffold and the Dart ↔ Android ↔ database contract.
  • CI scans every PR for leaked secrets (gitleaks) and grades the repository
    with OpenSSF Scorecard.
  • Dart API: device, start, stop, status, battery exemption,
    notification permission, launchTap and the taps stream.
  • README from setup to the first notification, and an example app that signs
    in, registers the device and starts the service.
  • supabase/realtime_push.sql: device registration, the snapshot, the
    "changed" signal and a ready-made inbox, tested on Postgres 17.
  • Android service that keeps the Realtime connection and shows the snapshot as notifications.
  • openConnectedNotificationSettings() opens the settings of the "connected"
    notification alone, so the user can hide it while the service keeps running.
  • Needs Flutter 3.44 or later: the Android build relies on Flutter applying
    the Kotlin plugin to apps without AGP 9's built-in Kotlin.
  • Reply from the notification: a snapshot entry with "reply": true gets a
    Reply action, the text goes to the new realtime_push_reply, which hands it
    to your realtime_push_reply_for, and a reply that fails says "Not sent" on
    the notification and keeps the text.
  • Notification channels and pictures: start(channels: {...}) declares more
    channels, a snapshot entry picks one with "channel", and "largeIcon"
    shows an https picture, such as the sender's avatar, beside the text.
  • start(foregroundService: false) never shows the "connected" notification:
    without the battery exemption the connection is held while the app is open,
    and with it closed a periodic check reads the snapshot. That check now also
    runs after Android kills the service, so notifications keep arriving, late,
    until the app opens again. The README and the example ask for the
    exemption when notifications are turned on.