ultimate_alarm_clock icon indicating copy to clipboard operation
ultimate_alarm_clock copied to clipboard

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

Open AmrAbdElHamed26 opened this issue 1 year ago • 2 comments

  • Add cancelAllScheduledAlarms and scheduleAlarm for ios with native code .

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

AmrAbdElHamed26 avatar Mar 24 '24 23:03 AmrAbdElHamed26

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.

MarkisDev avatar Mar 26 '24 14:03 MarkisDev

@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.

AmrAbdElHamed26 avatar Mar 26 '24 14:03 AmrAbdElHamed26