Keeping users engaged is a constant challenge; hence, we will focus on the feature of Direct Push Notifications, a powerful tool to increase user engagement swiftly and effectively. We will explore how Amity’s servers can trigger and deliver notifications directly to your users without any need for client-side intervention.
You’ll learn about the different types of notifications that can be sent and the events that trigger these notifications. We will also discuss how these notifications can be customized to suit your specific needs.
Before we dive into the details, let’s go over the pre-requisites:
- An understanding of how push notifications work.
- Knowledge of iOS, Android, and Flutter SDKs, as Direct Push Notifications only support these platforms.
- An ASC Portal account
- An ASC Console Account
- An app instance integrated with your platform (Could use our UI Kits as a sample project)
Note: If you haven’t already registered for an Amity account, we recommend following our comprehensive step-by-step guide on how to create your new network.
Understanding Direct Push Notifications
Direct Push Notifications are a solution in which notifications are triggered and delivered directly to your users by Amity’s servers. There’s nothing the client needs to do to display the notification. Amity’s servers prepare a notification that can be displayed to the user as soon as it's received. The only requirement is setting up the iOS and Android Push Notification Certificates in Amity’s console.
Types of Notifications and Examples
Amity’s servers are responsible for choosing the content of the push notification. Your users can receive the following notifications for different kinds of events:
- New channel creation: When a new channel is created and the user has been added among other members, they will receive a notification with the title being the new channel’s display name and the body stating that they are now a member of this new channel. For example, if the new channel’s name is “Book Club”, the notification title will be “Book Club” and the body will be “You’re now a member of Book Club!”.
- New user joining a channel: If a new user joins a channel, a notification will be sent with the title being the user’s display name and the body stating that this user has joined the channel. For instance, if user “John” joins the “Book Club” channel, the notification title will be “John” and the body will be “John has joined Book Club”.
- New message received: When a new message is received in a channel where the user is already a member, a notification will be sent with the title being the user’s display name and the channel’s display name, and the body being the message text. For example, if user “John” sends a message “Hello everyone!” in the “Book Club” channel, the notification title will be “John (Book Club)” and the body will be “Hello everyone!”.
Push Notification Triggers
A new push notification will be sent to a specific user when:
- A new message is sent in a channel of the user who is already an existing member of it.
- A new channel is created and the user is among the listed members of the channel on creation.
- A new member joins a channel of the user who is already an existing member of it.
While Amity’s servers handle the triggering and delivery of notifications, you have the option to customize these notifications to suit your specific needs. This can be done through the use of Webhooks, which allow you to have the push notifications delivered to your own servers first. This gives you the ability to edit the notifications, filter them based on specific use cases or user preferences, and perform analytics before sending them to the users.
Direct Push Notifications are a powerful tool for boosting user engagement. By delivering timely and relevant notifications directly to your users, you can keep them engaged and invested in your platform. With the ability to combine them with Amity’s Broadcast Messages, you will boost your app’s engagement to another level. So, take advantage of Direct Push Notifications and revolutionize your user engagement strategy today.