Repository navigation
v2.5.6: Fix Android 14+ Alarm Crash (#85), Dose Undo Confirmation and Per-Dose Notes #86
saad2134
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
v2.5.6: Fix Android 14+ Alarm Crash (#85), Dose Undo Confirmation and Per-Dose Notes
v2.5.6📱 Patient App (Android)
IllegalArgumentException: pendingIntentBackgroundActivityStartMode must not be set when creating a PendingIntentinMedicineAlarmReceiver. Switched tosetPendingIntentCreatorBackgroundActivityStartMode(MODE_BACKGROUND_ACTIVITY_START_ALLOWED)when building the full-screenPendingIntent, ensuring alarms and notifications fire reliably on modern Android versions.MedicineAlarmReceiverwith nested error isolation around fallback audio playback and notification dispatch, preventing unhandled coroutine worker exceptions from killing the application process.Dose Trackingto enable/disable dose undo (default disabled to prevent accidental reversals and inventory distortions). When enabled, reverting a dose from the card or snackbar requires confirmation before changing status and restoring stock.AddMedScreenandEditMedScreento use the sharedTopBarcomponent, ensuring bottom-left and bottom-right curved corners and border strokes match the main pages across all subscreens.🌐 Documentation & Architecture
ActivityOptions.setPendingIntentCreatorBackgroundActivityStartModeon Android 14+ indocs/AlarmSystem.md.Full Changelog: v2.5.5...v2.5.6
This discussion was created from the release v2.5.6: Fix Android 14+ Alarm Crash (#85), Dose Undo Confirmation and Per-Dose Notes.
All reactions