Zantafio Hello, 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!
pol2095 Yes, it's possible, it's not Air that manage Alarm but the system, the alarm launch the app or a notification.
ma There's also the Android Alarm Manager implementation: https://distriqt.github.io/ANE-Application/u.Alarm%20Manager 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.
Zantafio @Michael: 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.
ma In general not just with AIR, there are tricks to get it working but it's not as simple as you'd hope.
leokan23 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.
Zantafio 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...
ma 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.
Zantafio 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 )
ma Have you considered just using local notifications? You can schedule them and add images and custom sounds.
Zantafio In this context, I was wondering if <key>UIBackgroundModes</key> <array> <string>audio</string> <string>location</string> </array> in iOS are actually working. Will try to create an app and see how long audio and location data is being traced.