2
3
Fork
You've already forked PsyLog-android
7

add live activity notification + home screen widget #3

Merged
folf merged 6 commits from vmx/PsyLog-android:main into main 2026年02月13日 12:54:52 +01:00
Member
Copy link

ongoing notification and glance widget that surface the timeline graph, substance list,
and current phase (onset/comeup/peak/offset/afterglow) during active experiences.

  • foreground service with 30s update loop - starts on ingestion, resumes on app launch,
    stops after 12h inactivity
  • collapsed notification shows substance summary, expanded shows timeline bitmap +
    dose/route/phase per ingestion
  • chronometer in status bar pill counts elapsed time from first ingestion
  • visible on lock screen
  • home screen widget with same timeline + substance data
  • requests POST_NOTIFICATIONS permission on Android 13+

image

ongoing notification and glance widget that surface the timeline graph, substance list, and current phase (onset/comeup/peak/offset/afterglow) during active experiences. - foreground service with 30s update loop - starts on ingestion, resumes on app launch, stops after 12h inactivity - collapsed notification shows substance summary, expanded shows timeline bitmap + dose/route/phase per ingestion - chronometer in status bar pill counts elapsed time from first ingestion - visible on lock screen - home screen widget with same timeline + substance data - requests POST_NOTIFICATIONS permission on Android 13+ ![image](/attachments/e8f3238a-fb9e-45cf-993b-1f8d54f2f249)
foreground service with 30s update loop - shows timeline graph,
substance list with doses/routes, and current phase in the notification
shade and lock screen. chronometer in status bar pill counts from first
ingestion. auto-starts on new ingestion, resumes on app launch, stops
when no active experience (12h window).
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
PsyLog/PsyLog-android!3
Reference in a new issue
PsyLog/PsyLog-android
No description provided.
Delete branch "vmx/PsyLog-android:main"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?