NotificationHelper

The NotificationHelper model is a simple firebase wrapper that initializes the application when it is awoken from the killed state. It gets the firebase channel ID and creates notification channels.

Functions

Link copied to clipboard
Helps to create the Voxeet default channel.
open fun createNotificationChannel(@NonNull context: Context, @NonNull id: String, @NonNull name: CharSequence, @NonNull description: String, argb: Int): Boolean
Creates the notification channel because Firebase and Android require applications to have their own valid notification channels.
Link copied to clipboard
open fun getChannelId(@NonNull context: Context): String
Gets the Firebase channel ID.