Realtime Data for Smart Notifications
How can realtime data be used to enable smart notifications? Read on to learn more about realtime data in messaging and collaboration apps.
Join the DZone community and get the full member experience.Join For Free
it's becoming the new normal that messaging and collaboration apps and platforms are available across multiple devices.
business tools like slack and jira offer feature-rich mobile apps, and users increasingly consume content from social networks like facebook on their mobile devices instead of a desktop or laptop.
this isn't a surprise - and we're here to share our perspective on how developers can use realtime data to provide cross-platform users with the best notification experience.
mary meeker's 2017 internet trends report tracks the trend towards increasing mobile adoption:
what's not stated explicitly in this slide is that that much of this engagement occurs simultaneously - it's not uncommon for users to have an app open on their desktop and phone at the same time.
"dumb" notifications produce a poor user experience
simultaneous use of cross-platform apps has created a user experience issue that many of us are familiar with. when a new trello card is assigned to me, i get a push notification on my phone, a ping in the trello interface, and an email in my inbox. due to my trello integration with slack, things quickly get worse - i get a notification on slack on each of my devices. i can get up to 6 notifications tied to a single event.
this isn't ideal - and as more devices become connected, the problem will only be compounded. imagine a future where your phone, smartwatch, smart tv, and smart thermostat are all buzzing simultaneously. it doesn't need to be this way.
collaboration and messaging app developers can get smart
we didn't come up with the idea of 'smart' notifications (entire companies like intercom and openback are built to enable them) - but we do have a perspective on how app developers can use realtime data to enable them.
realtime data is already present in many chat or collaboration apps - typing indicators, read receipts, and live editing are all features that we take for granted. the next step for developers is taking a wider variety of realtime data into account when building notifications into their user experiences.
luckily, mobile devices offer a wealth of realtime data to developers who want to do this:
presence and attention-awareness (knowing which device a user is active on) allows a single ping to that device, instead of a ping to all devices. results-driven logic can drive a secondary notification to another device or channel in the instance the first notification is not responded to. this can lead to some pretty complex logic, as in the case of slack's notification tree below:
slack's blog post on how they built a lightweight desktop client to handle the complex interactions between team, channel, and user preferences and states when sending notifications is worth reading.
time and location data is crucial - work notifications don't need to be sent on the weekend, and pop-up notifications for events or sales are only relevant in bounded areas. slack enables manual setting of 'do not disturb' hours in order to keep notifications from taking over user's lives. context can be user-generated (like in the slack example) or learned based on prior interactions with notifications.
device and connection state information is underutilized. know a user has low battery life? maybe the notification to download the latest game update can wait. users on wifi are more likely to interact with rich notifications than those on cellular connections. if a user loses connectivity and many notifications are queued, they may no longer all be relevant when the user is back in range.
realtime is a crucial component for smart notifications
as users constantly switch devices and platforms, realtime knowledge of their status is key to providing intelligent notifications. developers who do this well will continue to retain user interest, and those who don't will have a hard time keeping their attention.
this post originally appeared on the fanout blog .
Published at DZone with permission of Daniel Kadvany, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.