Scheduling several alarms at a time is slow
Opened this issue · 5 comments
Thank you very much for this plugin.
I was wondering if there was a way to speed up alarm scheduling. My app schedules several alarms on startup. It manages periodicity and scheduling. It just uses the plugin to actually schedule the alarms on the platform and handle callbacks. However, I noticed that it takes almost a sec for each alarm to be scheduled. To avoid the wait at startup, I simply do not await this operation, but was wondering if this could be improved.
I do not have any recent knowledge of native iOS/Android development, so cannot really tell reading the source without further research.
Thank you
Hi @younesouhbi
Thanks for your interest in the plugin.
Yes I'm sure there are ways to reduce this delay. I will definitely take a look at it when I find the time. I'm mostly alone working on this plugin so don't hesitate to contribute if you have the time. The source code is not that complicated and I'm here to answer your questions.
I spent the better part of yesterday reading the plugin source code. I might have something to contribute at some point, but before that, I need to understand more :)
Thank you!
Hi @younesouhbi
Are you still using the plugin ? Are you still interested in contributing to the project ?
Hi there!
I have been away from this project for a while but I am coming back to it.
The plugin was used in an app that is published currently on Play Store and I am working on an iOS version in order to optimize battery consumption. I'm modifying the Flutter iOS / Swift sides of the plugin since a couple of days ago.
I would like to contribute to the project, but I changed the plugin too much for any potential PR. I'm happy to share the changes I made, just not sure in what form.
Hi there!
Great to hear your app is published on the Play Store! If you’re interested, I created a thread where you can share your work: #170.
I’m also working on optimizing battery consumption on iOS. It would be great to share our findings; it might be helpful for both of us.
Could you share your fork with all your changes? I’ll take a look and see what could be integrated into the plugin.