emekalites / react-native-alarm-notification

schedule alarm and local notification in react-native
https://www.npmjs.com/package/react-native-alarm-notification
MIT License
225 stars 95 forks source link

futureRepeatAlarm in example cant be dismissed #111

Closed FurkanOzcelik closed 3 years ago

FurkanOzcelik commented 3 years ago

hi, i ve used your example code and only added alarm sounds from my raw folder, set alarm's dismiss button worked fine but when i wanted to add buttons to repeating alarms, dismiss didnt work and didnt stop sound, so without knowing much i tried to change some source codes and i changed AlarmDismissReceiver.java and AlarmReceiver.java in node_modules/react-native-alarm-notification/.../notification directory, i added alarmUtil.stopAlarmSound() function before alarmUtil cancelAlarm and doCancelAlarm functions and now dismiss function works fine for repeating alarms. I am not sure if i did something right but at least im hoping you could check repeatAlarmNotifData in your example with has_button=true prop

stale[bot] commented 3 years ago

Hola! So here's the deal, between open source and my day job and life and what not, I have a lot to manage, so I use a GitHub bot to automate a few things here and there. This particular GitHub bot is going to mark this as stale because it has not had recent activity for a while. It will be closed if no further activity occurs in a few days. Do not take this personally--seriously--this is a completely automated action. If this is a mistake, just make a comment, DM me, send a carrier pidgeon, or a smoke signal.

stale[bot] commented 3 years ago

Closed due to inactivity. Holler if this is a mistake, and we'll re-open it.