I didn’t see this mentioned anywhere else, so please pardon me if I’m recreating the wheel here…
I’ve noticed a peculiar instance with the ST iOS app unable to send push notifications to iOS (or perhaps, it’s that under a particular circumstance, iOS doesn’t receive or display ST push notifications).
If the ST app is running in the foreground, ST push notifications don’t seem to show up in iOS notifications. Push notifications do seem to show up in all other circumstances:
- Phone locked, screen off, app not running
- Phone locked, screen off, app running [background]
- Phone locked, screen on, app running in background
- Phone unlocked, screen on, app not running
- Phone unlocked, screen on, app running in background
The only scenario under which I encounter where the OS push notifications (either Banner or Alert style) don’t work is this:
- Phone unlocked, screen on, app running in foreground
Under most circumstances, this doesn’t present a problem. However, there are at least a couple of scenarios where, IMO, this does present issues:
-
When arming Smart Home Monitor, I won’t received OS push notifications that any open/close sensors are left open
-
If an alert is triggered while I happen to have the app in the foreground, I won’t receive OS push notifications
I did some Googling and it seems like this is the default behavior for iOS. But apparently, there are ways to enable this functionality, which involves how the application is written. Please see these three posts for reference:
- http://stackoverflow.com/questions/14872088/get-push-notification-while-app-in-foreground-ios
- http://stackoverflow.com/questions/25532079/ios-push-notification-received-when-app-is-running-in-foreground
- http://ux.stackexchange.com/questions/50643/handle-push-notification-when-app-is-in-foreground
Assuming my take on this is correct, I would state that some key functionality of the ST iOS app is not working as it should.
I have a query into ST support, but I haven’t heard back yet.