2023-02-01 02:14:55 -08:00
|
|
|
# https://github.com/grpc/grpc-java/blob/master/android/proguard-rules.txt
|
|
|
|
-keepclassmembers class io.grpc.okhttp.OkHttpChannelBuilder {
|
|
|
|
io.grpc.okhttp.OkHttpChannelBuilder forTarget(java.lang.String);
|
|
|
|
io.grpc.okhttp.OkHttpChannelBuilder scheduledExecutorService(java.util.concurrent.ScheduledExecutorService);
|
|
|
|
io.grpc.okhttp.OkHttpChannelBuilder sslSocketFactory(javax.net.ssl.SSLSocketFactory);
|
|
|
|
io.grpc.okhttp.OkHttpChannelBuilder transportExecutor(java.util.concurrent.Executor);
|
|
|
|
}
|
|
|
|
|
2023-06-09 06:18:11 -07:00
|
|
|
# https://github.com/grpc/grpc-java/issues/9611
|
|
|
|
-keepclassmembers, allowoptimization class io.grpc.okhttp.OkHttpChannelProvider {
|
|
|
|
<init>();
|
|
|
|
}
|
|
|
|
|
2023-05-18 04:36:15 -07:00
|
|
|
# gRPC related - https://github.com/grpc/grpc-java/issues/6612
|
|
|
|
-keep class * extends com.google.protobuf.GeneratedMessageLite { *; }
|
|
|
|
|
2023-02-01 02:14:55 -08:00
|
|
|
# Prevent OKHttp from causing warnings for consumers of the SDK
|
|
|
|
-dontwarn org.bouncycastle.jsse.BCSSLParameters
|
|
|
|
-dontwarn org.bouncycastle.jsse.BCSSLSocket
|
|
|
|
-dontwarn org.bouncycastle.jsse.provider.BouncyCastleJsseProvider
|
|
|
|
-dontwarn org.conscrypt.Conscrypt
|
|
|
|
-dontwarn org.conscrypt.Conscrypt$Version
|
|
|
|
-dontwarn org.conscrypt.ConscryptHostnameVerifier
|
|
|
|
-dontwarn org.openjsse.javax.net.ssl.SSLParameters
|
|
|
|
-dontwarn org.openjsse.javax.net.ssl.SSLSocket
|
|
|
|
-dontwarn org.openjsse.net.ssl.OpenJSSE
|