Firebase Messaging

class FirebaseMessaging : DevMessaging

Class for handling Firebase Cloud Messaging instructions

Author

Jimly A.

Since

15-Jun-22

Constructors

Link copied to clipboard
fun FirebaseMessaging()

return instance of FirebaseMessaging

Functions

Link copied to clipboard
open override fun deleteToken(agcpId: String, action: () -> Unit)

method to delete Messaging Token

Link copied to clipboard
open override fun getToken(agcpId: String, action: (String) -> Unit)

method to get Messaging Token

Link copied to clipboard
open override fun subscribeToTopic(topicName: String)

method to subscribe to messaging topic

Link copied to clipboard
open override fun unsubscribeFromTopic(topicName: String)

method to unsubscribe from messaging topic

Sources

Link copied to clipboard