gdelataillade / alarm

A Flutter plugin to easily manage alarms on iOS and Android
https://pub.dev/packages/alarm
MIT License
132 stars 86 forks source link

OVERLAP LOCK SCREEN LIKE A DEFAULT #190

Closed singhcreations closed 5 months ago

singhcreations commented 7 months ago

OVERLAP LOCK SCREEN LIKE A DEFAULT?.

NEED FEATURE OF OVERLAP LOCK SCREEN LIKE A DEFAULT ALARM APP IT OVERIIDE THE LOCKSEEN WHEN ALARM FIRED , AS ON NOW SOMETIMES ALARM SCREEN DIDNT CAME.

MAKE A FEATURE THIS AS WELL IF THE RING SCREEN TONE IS NOT PLAY WITH ANY REASON THEN THERE WILL BE A SECOUNDARY OPTION TO PLAY THE SOUND.

gdelataillade commented 7 months ago

Hi @singhcreations

You can enable the androidFullScreenIntent parameter (enabled by default) to show the alarm on your lock screen. It won't work if your screen is unlocked. There might be other conditions that would make the alarm not show in the lock screen but that would depend on the android device. I think there's nothing else I can do to improve consistency.

Like mentioned in the README, if your android alarm does not ring, it can be because your device rebooted or your app updated. I'll work on the reschedule of the alarms after device reboot very soon.

Any other question ?

singhcreations commented 7 months ago

Thanks for your explanation. But ring screen didn't appear 😕 I have to open the lockscreen and then click on notification then it shows

On Thu, 25 Apr, 2024, 4:59 pm Gautier de Lataillade, < @.***> wrote:

Hi @singhcreations https://github.com/singhcreations

You can enable the androidFullScreenIntent parameter to show the alarm on your lock screen. It won't work if your screen is unlocked. There might be other conditions that would make the alarm now show in the lock screen but that would depend on the android device. I think there's nothing else I can do to improve consistency.

Like mentioned in the README, if your android alarm does not ring, it can be because your device rebooted or your app updated. I'll work on the reschedule of the alarms after device reboot very soon.

Any other question ?

— Reply to this email directly, view it on GitHub https://github.com/gdelataillade/alarm/issues/190#issuecomment-2076965353, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYZUNHOHH4WFMRUD3BPYNODY7DSLFAVCNFSM6AAAAABGYF7FROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZWHE3DKMZVGM . You are receiving this because you were mentioned.Message ID: @.***>

gdelataillade commented 6 months ago

What device do you have ?

gdelataillade commented 6 months ago

To fix this issue, you might need to add auto_start_flutter permission request in your app.

singhcreations commented 6 months ago

Redmi note 11 pro plus using HYPER OS

On Fri, 26 Apr, 2024, 3:03 pm Gautier de Lataillade, < @.***> wrote:

What device do you have ?

— Reply to this email directly, view it on GitHub https://github.com/gdelataillade/alarm/issues/190#issuecomment-2079007233, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYZUNHPPRIM2M6TSDGPNZI3Y7INM5AVCNFSM6AAAAABGYF7FROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZZGAYDOMRTGM . You are receiving this because you were mentioned.Message ID: @.***>

gdelataillade commented 6 months ago

Xiaomi devices may required auto_start_flutter permission for this feature. Let me know if it helps.

singhcreations commented 6 months ago

If I enable show on lockscreen and display pop-up windows after using AndroidIntent then ring screen came. but It might confusion what is the role of Android intent if we get only notification then click on notification to get the ring screen ?

On Fri, 26 Apr, 2024, 3:10 pm Gautier de Lataillade, < @.***> wrote:

Xiaomi devices may required auto_start_flutter https://pub.dev/packages/auto_start_flutter permission for this feature. Let me know if it helps.

— Reply to this email directly, view it on GitHub https://github.com/gdelataillade/alarm/issues/190#issuecomment-2079019961, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYZUNHOCFHAO2UJSRFYZZOLY7IOKRAVCNFSM6AAAAABGYF7FROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZZGAYTSOJWGE . You are receiving this because you were mentioned.Message ID: @.***>

gdelataillade commented 6 months ago

I didn't understand what you said.

You need to instruct your Xiaomi users (and perhaps users of other brands with similar restrictions) to grant the auto_start permission. This permission is crucial for the app to operate correctly in the background and to display full-screen ring notifications, similar to the default alarm app.

singhcreations commented 6 months ago

Ok, I will do that but I am saying that iIf I enable show on lockscreen and display pop-up windows this on my mobile phone then automatically got the ring screen on my device as well.

On Fri, 26 Apr, 2024, 4:49 pm Gautier de Lataillade, < @.***> wrote:

I didn't understand what you said.

You need to instruct your Xiaomi users (and perhaps users of other brands with similar restrictions) to grant the auto_start permission. This permission is crucial for the app to operate correctly in the background and to display full-screen ring notifications, similar to the default alarm app.

— Reply to this email directly, view it on GitHub https://github.com/gdelataillade/alarm/issues/190#issuecomment-2079191109, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYZUNHIHHAPECJOQQKO6FGTY7IZ3TAVCNFSM6AAAAABGYF7FROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZZGE4TCMJQHE . You are receiving this because you were mentioned.Message ID: @.***>