Thank you for the project. I’m curious about how you handle notifying the user when the alarm time arrives. As far as I know, there’s no public API that allows developers to implement a true alarm-like function. While using a notification is an option, it comes with significant limitations, such as reduced reliability and the requirement for the phone to be in ring mode. Could you clarify how you’ve addressed these challenges?
Hi limbikbeyin4826 ✋🏻 First of all, thank you for watching our video. The notificationManager framework is not used in the project. It is only the interface of the alarm project. As for the limitations, we overcome these limitations of Apple by writing extensions or frameworks. If you wish, you can find customized NotificationManager frameworks and projects on Github.
@@SwiftUICodes I am in the middle of working on my abbreviated schedule generator app targeting teachers and can’t figure out how to get the schedule alarms to sound if the phone is in silent mode. Is this possible? I don’t think most teachers would have their silent mode turned off during the school day
Yes, you can play sounds like alarms, notifications, etc. even in silent mode. "try audioSession.setCategory(.playback, mode: .default, options: .duckOthers)"
@@SwiftUICodesI think I’ve finally tried that and the sound now plays if the app is in the foreground but not if the app is in the background or the screen is off :( Is there something else I need to do for that?
Thank you for the project. I’m curious about how you handle notifying the user when the alarm time arrives. As far as I know, there’s no public API that allows developers to implement a true alarm-like function. While using a notification is an option, it comes with significant limitations, such as reduced reliability and the requirement for the phone to be in ring mode. Could you clarify how you’ve addressed these challenges?
Hi limbikbeyin4826 ✋🏻
First of all, thank you for watching our video. The notificationManager framework is not used in the project. It is only the interface of the alarm project. As for the limitations, we overcome these limitations of Apple by writing extensions or frameworks. If you wish, you can find customized NotificationManager frameworks and projects on Github.
@@SwiftUICodes
I am in the middle of working on my abbreviated schedule generator app targeting teachers and can’t figure out how to get the schedule alarms to sound if the phone is in silent mode. Is this possible? I don’t think most teachers would have their silent mode turned off during the school day
Yes, you can play sounds like alarms, notifications, etc. even in silent mode.
"try audioSession.setCategory(.playback, mode: .default, options: .duckOthers)"
@@SwiftUICodesI think I’ve finally tried that and the sound now plays if the app is in the foreground but not if the app is in the background or the screen is off :(
Is there something else I need to do for that?
Our support team provides support through Patreon.
You can contact us via Patreon.
www.patreon.com/SwiftUICodes
Happy Coding 🥳🎉