-
-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS App Crash when init Alarm. #209
Comments
Make sure you followed the installation steps in the README. Also you should use the |
I am also having this happen on iOS when doing a hot reload with multiple alarms set, and also in general when multiple alarms are set in succession (with each being |
I still have same issue |
Hi guys, Some recommendations:
|
I am doing all of those things and yet it still causes crashes on iOS. Specifically when scheduling multiple alarms in a row (each of which is awaited). I have been able to reduce the chance of crashes during runtime by putting a delay of 100ms between each scheduled alarm. However it also crashes every time I hot reload |
@North101 You can folk the project and fix the code below. The app is not crash. |
Alarm plugin version
3.1.4
Describe the bug
When I do initialize the Alarm in main() and trying running app on Simulator, it start crashing.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Device info
Simulator iPhone 12 mini.
iOS 17.4
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: