Updated on 2026-08-14
This commit is contained in:
parent
f18338ff44
commit
9f08cdbd07
4 changed files with 42 additions and 32 deletions
|
|
@ -19,6 +19,11 @@ internal class FirebaseAppInstanceIdProvider : AppInstanceIdProvider {
|
|||
}
|
||||
|
||||
override fun getAppInstanceIdSync(): String? {
|
||||
return Firebase.analytics.appInstanceId.result
|
||||
return try {
|
||||
Firebase.analytics.appInstanceId.result
|
||||
} catch (e: IllegalStateException) {
|
||||
Timber.e(e, "getAppInstanceIdSync")
|
||||
null
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue