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

[ios] Alarm not being added when in loop, and "tag" not being added to alarm details #96

Closed ElChawich closed 3 years ago

ElChawich commented 3 years ago

I'm working on RN 0.59.5, basically I'm adding 10 alarms using a for loop, and its working perfectly on android. But on iOS, even though its giving success for the 10 alarms, its only adding the last alarm in the loop...

and another issue on iOS is not giving details for the alarm as much as on android when getScheduledAlarms() function is called, even though I'm giving a tag for the alarm, its not showing it, and its only showing the main info regarding the alarm, which are alarm time and date and its id.

rmn183 commented 3 years ago

Yes @ElChawich right, when we add multiple sound_names in react-native iOS only and set the alarm for any time. It only throws the default tone but not the added sound_names, not even the loop is in working mode, but for single sound_name it is going well. I went through the package library of react-native-alarm-notifications and found that there is no such option of sound_names in AppDelegate.m file. Pls, add any possible solution to play the sounds in the loop after the stipulated time.

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.