invertase / notifee

⚛️ A feature rich notifications library for React Native.
https://notifee.app
Apache License 2.0
1.88k stars 228 forks source link

AlarmManager can only be used for exact alarms. #976

Closed wansiklee closed 5 months ago

wansiklee commented 10 months ago

I want to use inexact alarms in the Notifee library's timestamp trigger.

I would like to use set or setAndAllowWhileIdle options similar to the URL https://developer.android.com/develop/background-work/services/alarms/schedule#inexact. However, the current AlarmManager options in Notifee appear to strictly enforce the use of exact alarms.

Although there are AlarmType options such as set and setAndAllowWhileIdle, based on the code, it seems that these options are effective only when using exact alarms.

So, starting from Android 12, even if you set the alarm as inexact, it won't ring unless you allow 'Alarm & reminder'.

MichaelRando commented 10 months ago

same

github-actions[bot] commented 9 months ago

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.

wansiklee commented 9 months ago

Not stale.

github-actions[bot] commented 8 months ago

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.

wansiklee commented 8 months ago

Not stale.

github-actions[bot] commented 7 months ago

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.

wansiklee commented 7 months ago

Not stale

github-actions[bot] commented 6 months ago

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.

wansiklee commented 6 months ago

Not stale