OneBusAway / onebusaway-android

The official Android app for OneBusAway
http://www.onebusaway.org/
Other
469 stars 288 forks source link

[Bug] - Request Notification Permissions When User Sets a Reminder for Destination (Android 14) #1231

Closed amrhossamdev closed 4 weeks ago

amrhossamdev commented 1 month ago

Summary:

When setting a destination reminder, we should request runtime notification permissions to ensure we can notify the user of the destination. This aligns with Android 14 policies, which require explicit notification permission requests

Steps to reproduce:

Expected behavior:

A dialog requesting notification permissions should appear before setting the reminder on Android 14.

Observed behavior:

The reminder is set, but it doesn't work because notification permissions were not requested.

Device and Android version:

Android 14 >= Version