Skip to content

Commit 5859a10

Browse files
committed
fix crash after update to firebase functions 20.4.0
1 parent 6a73131 commit 5859a10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/android/content/Context.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ open class Context {
5858
override fun getString(key: String, defaultValue: String?): String? {
5959
return when {
6060
key == "last-used-date" -> FirebasePlatform.firebasePlatform.retrieve(key) ?: defaultValue
61-
key.startsWith("|T|") -> null
61+
key.contains("|T|") -> null
6262
key.startsWith("com.google.firebase.auth.FIREBASE_USER") ->
6363
FirebasePlatform.firebasePlatform.retrieve(key) ?: defaultValue
6464
else -> throw IllegalArgumentException(key)

0 commit comments

Comments
 (0)