|
| 1 | +# IMPORTANT: Keep this file in sync with the OkHttp classes |
| 2 | +# declared in jnigen.yaml. JNI loads these classes by name, |
| 3 | +# so they must not be removed in Android release builds. |
| 4 | + |
| 5 | +-keep class okhttp3.Request** { *; } |
| 6 | +-keep class okhttp3.RequestBody { *; } |
| 7 | +-keep class okhttp3.Response { *; } |
| 8 | +-keep class okhttp3.ResponseBody { *; } |
| 9 | +-keep class okhttp3.OkHttpClient** { *; } |
| 10 | +-keep class okhttp3.Call { *; } |
| 11 | +-keep class okhttp3.Headers { *; } |
| 12 | +-keep class okhttp3.Callback { *; } |
| 13 | +-keep class okhttp3.ConnectionPool { *; } |
| 14 | +-keep class okhttp3.Dispatcher { *; } |
| 15 | +-keep class okhttp3.Cache { *; } |
| 16 | +-keep class okhttp3.WebSocket { *; } |
| 17 | + |
| 18 | +-keep class okio.ByteString { *; } |
| 19 | + |
| 20 | +-keep class com.example.ok_http.RedirectReceivedCallback { *; } |
| 21 | +-keep class com.example.ok_http.AsyncInputStreamReader { *; } |
| 22 | +-keep class com.example.ok_http.DataCallback { *; } |
| 23 | +-keep class com.example.ok_http.WebSocketInterceptor** { *; } |
| 24 | +-keep class com.example.ok_http.WebSocketListenerProxy** { *; } |
| 25 | +-keep class com.example.ok_http.FixedResponseX509ExtendedKeyManager { *; } |
| 26 | + |
| 27 | +-keepclassmembers class com.example.ok_http.RedirectInterceptor { |
| 28 | + public static com.example.ok_http.RedirectInterceptor$Companion Companion; |
| 29 | +} |
| 30 | + |
| 31 | +-keepclassmembers class com.example.ok_http.WebSocketInterceptor { |
| 32 | + public static com.example.ok_http.WebSocketInterceptor$Companion Companion; |
| 33 | +} |
| 34 | + |
| 35 | +-keep class com.example.ok_http.RedirectInterceptor** { *; } |
0 commit comments