I'm looking at a way to receive (any form of) a notification in IOS (iPhone). This is needed for a "nurse call" like project and should work regardless of internet connection.
But there are a few "small" restrictions.
- It must work on a local network (no connection to the world wide web).
- The app must work in background (not always opened).
- The response time should be 1 minute max.
If it's of any help, I do have the possibility of using a local Apple MacOSX server.
Things I've tried.
I've looked at Apple Push Notifications, though I believe it will need access to the APNs (server). And can't work locally.
I've looked at keeping an "server" open in an IOS app, though this server will certainly be killed when the app is not in the foreground.
I've looked at the background mode "fetch", but it's not possible to set the frequency and it may just work once every 30 minutes.
I've looked at the Apple server, but I'd rather not use a local e-mail server since it's probably not fast enough and it'll not be possible to interact with an app this way.
The "Messages Server" seems to be interesting, but I'm not sure if I can receive those messages on an iPhone (from a local server, withouth the need of Apple servers).