#
Testing Integration
You can test the UI of notifications in your app by launching TestNotificationActivity
from your app.
val intent = Intent(this, TestNotificationsActivity::class.java)
startActivity(intent)
This activity will show you all the template options with the ability to modify data you want to send in the notification.
Once notification data is set, you can click on to send the notification to your device.
After you're done testing with local notifications, proceed with testing remote notifications. To do so, click on to send the notification to your device via FCM.
Please note, an FCM key is required to send remote notifications, which you can obtain from Firebase Console.
First time you try to send a remote notification, you will be prompted to enter the FCM key. Once you enter the key, it will be saved in the app and you won't be prompted again. In case for any reason you need to change the FCM key, simply long press on the button and you will be prompted again.