How to request notification runtime permission on Android Studio 13+

For Android 13 (API 33) or higher, you need to implement notification runtime permission on Android App. Notification services are turned off by default in android 13 or above version. Your app must wait to send notifications until user grants notification permission to your app like runtime permission.

"How to request runtime notification permission on Android 13 and Above" Android Studio tutorial is the part of The "How to send notification in Android using Firebase" Tutorial Series.

We  will cover the following topics in this tutorial series-

  • Part 1: How to request runtime notification permission on Android 13 and Above
  • Part 2: How to send Android Push Notifications with (Firebase Cloud Messaging) FCM
  • Part 3: How to store/save Push Notifications data into the Firebase database
  • Part-4: How to retrieve push notification data in recycler view from Firebase
  • Part-5: How to send notifications dynamically via the Admin app to all users App
You know Firebase Cloud Messaging (FCM) is a very useful platform provided by Google that allows you to send push notifications to both Android and iOS devices. In this series tutorial, we will not only learn how to send notification messages on Android but also integrate Firebase with Laravel to send push notifications. How to send notification in Android using the Firebase tutorial will also cover the step-by-step process of setting up a Firebase project.

How to send notifications in Android Studio using Firebase

To Complete the tutorial successfully we need to follow the following steps-

Step-1: Open Android Studio

Step-2: You can create a new project or you can use the existing project 

Step-3: Connect the app to Firebase (if already Connected skip this step)

Step-4: Add FCN to the App (if already added skip this step)

Step-5: Add Firebase Cloud Messaging SDK to the app build gradle (if already added skip this step)

Step-6: Add the following codes to the app manifest.xml

Step-8: We will Test runtime notification permission on Android 13 and Above

Watch the following tutorial to learn how to request notification runtime permission on Android Studio 13+ 

Next Post Previous Post
No Comment
Add Comment
comment url