CCExtractor / ultimate_alarm_clock

GNU General Public License v2.0
68 stars 124 forks source link

feat: update schedule and cancel all Scheduled alarms to work in iOS #526

Closed AmrAbdElHamed26 closed 3 weeks ago

AmrAbdElHamed26 commented 5 months ago

https://github.com/CCExtractor/ultimate_alarm_clock/assets/86882938/0827f048-be17-4ee1-8954-6b7764340d79

_ video explains working scheduled alarm even application removed from background : https://drive.google.com/file/d/1_iAGnvEsqvPAYwceGd_Hub5abLdL8c-l/view?usp=drivesdk

MarkisDev commented 5 months ago

I'm unable to test for iOS but I do have some follow up questions on this PR.

We have a bunch of functionality that is tied to the Alarm ringing / splash screen which essentially decides if the alarm should ring. The preview seems like the app would not be opening, instead, it would display a notification? Please correct me if I'm wrong.

AmrAbdElHamed26 commented 5 months ago

@MarkisDev yes you are true but i will use UNNotificationServiceExtension instead of opening the application again , this provides me to perform custom logic before showing a notification and decide whether to display the notification or not.