Updated on 2026-08-14

This commit is contained in:
Tangem 2025-04-25 14:01:08 +05:00
parent 0f9ba0ce7e
commit ba9113019a
8 changed files with 148 additions and 1 deletions

View file

@ -0,0 +1,11 @@
package com.tangem.tap.data
import com.google.firebase.messaging.FirebaseMessaging
import com.tangem.utils.notifications.PushNotificationsTokenProvider
import kotlinx.coroutines.tasks.await
class FirebasePushNotificationsTokenProvider : PushNotificationsTokenProvider {
override suspend fun getToken(): String {
return FirebaseMessaging.getInstance().token.await()
}
}