Skip to content

Commit cf5b0a9

Browse files
committed
Added OkHttp lib to avoid crash due to getAlpnSelectedProtocol method not being supported for object SSL socket in Android 11+
1 parent 5b9f209 commit cf5b0a9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

firestore/app/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ dependencies {
4848

4949
// GeoFire (for Geoqueries solution)
5050
implementation "com.firebase:geofire-android-common:3.1.0"
51+
52+
// OkHttp (for Android 11+)
53+
implementation "io.grpc:grpc-okhttp:1.32.2"
5154
}
5255

5356
apply plugin: 'com.google.gms.google-services'

0 commit comments

Comments
 (0)