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

Require a file or variants found for asset: packages/alarm/assets/not_blank.mp3. #115

Closed KetutKusuma closed 11 months ago

KetutKusuma commented 11 months ago

Alarm plugin version ex: 3.0.0-dev.4

Describe the bug after finish add the package when i run again my app, that can not run because this error "No file or variants found for asset: packages/alarm/assets/not_blank.mp3", i don't know if that is my fault the error is show up, please fix bug or if it is not a bug please tell me how to fix it sir

To Reproduce Steps to reproduce the behavior:

  1. ...

Expected behavior A clear and concise description of what you expected to happen.

Screenshots

image

Device info Provide device info (Manufacturer, OS version, ...) POCO M3

Additional context Add any other context about the problem here.

gdelataillade commented 11 months ago

Hi @KetutKusuma

My bad, it looks like I made a mistake in the latest dev release. I'll publish version 3.0.0-dev.5 with a fix today or tomorrow. I'll keep you updated.

gdelataillade commented 11 months ago

I just release version 3.0.0-dev.5, let me know if it fixes your issue.

KetutKusuma commented 11 months ago

Yeah it works very well, you did great job bro. Now i can use this package to help me, thank you bro👍

gdelataillade commented 11 months ago

Awesome !

KetutKusuma commented 11 months ago

hei can i ask something, if i have two page which i want to show ring alarm screen, how i can do that? i was try use listener on those page but that not working. sorry i don't explane very well

gdelataillade commented 11 months ago

Hi, sorry I didn't understand your question...

You can listen to Alarm.ringStream to know when alarm starts to ring and navigate to your ring page in the callback. Checkout the example app if you need to see the code.