Add custom notification sound android

broken image

I will split the post into two sections, iOS, and Android to cover the different processes involved in each platform. I will be using firebase's push notifications services as an example for the notification payload for this post, however, the same configurations should apply to other push notification services too. To keep the blog post short and focused, I'm going to focus only on what needs to be done client-side and how the notifications payload is going to look like. I'm going to show you how you can configure your apps to play a custom sound when receiving a notification. Reasons for this may vary from acting as a reminder for the user to the app such as a Pacman sound for an arcade-like game to something that differentiates the different types of notifications that the app sends, such as a chat and an ad having different sounds associated to each one. Notifications, local and push, can be configured to play a custom sound on the users' devices. Notifications might even be a core requirement for apps such as social media and chat apps. Notifications allow you to increase app retention and improve user experience. In mobile app development, one of the most effective engagement tools is notifications.

broken image