is there an ANE around that can produce a system Alarm and Notification on mobile?
I was asked to do some kind of advanced alarm clock / timer and I am frankly not sure if this is possible with Air due to the background activity restrictions...
Thanks for all info!
Yes, it's possible, it's not Air that manage Alarm but the system, the alarm launch the app or a notification.
can you elaborate on that? Which Ane, or which other technology is necessary?
I use distriqt's ane for local notifications. Does all the job
There's also the Android Alarm Manager implementation:
iOS is a bit harder and better addressed with notifications, creating a reliable alarm clock app on iOS is quite difficult and I wouldn't recommend attempting it.
Attempting it with Air or in general?
The options would be to give Flutter or Haxe a shot or do it in Swift / Xcode. WHich would suck because of having to do the Android version seperately.
In general not just with AIR, there are tricks to get it working but it's not as simple as you'd hope.
I second that. I have worked with timers, alarm clocks, etc for Android, WearOS and iOS. Did one in Swift a while back, and I had to go a through a lot of hops to get it working at its best.
That is interesting, thanks.
Is Apple doing some kind of exclusive magic with their timers?
If it is really hard then the whole app-idea might be in question...
Yeah Apple don't apply the same development restrictions in their apps as we have.
They do not even obey their own review guidelines, particularly around subscriptions and purchase promotions so don't even try to replicate an Apple app.
Bad news, indeed.
What are you trying to do?
I would need to do an app which gives you lots of reminders with audio and text that have to be reasonably precise. ( has to do with cooking )
Have you considered just using local notifications?
You can schedule them and add images and custom sounds.