Updated on 2026-08-14
This commit is contained in:
parent
0f9ba0ce7e
commit
ba9113019a
8 changed files with 148 additions and 1 deletions
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue