Skip to content

Commit

Permalink
removed chuck reference
Browse files Browse the repository at this point in the history
  • Loading branch information
psrivastav6 committed Feb 22, 2021
1 parent c5a8cea commit 5898ea7
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package com.raven.ravenandroidsdk.api

import android.content.Context
import com.google.gson.GsonBuilder
import com.readystatesoftware.chuck.ChuckInterceptor
import okhttp3.Interceptor
import okhttp3.OkHttpClient
import okhttp3.Request
Expand Down Expand Up @@ -40,7 +39,7 @@ internal class ApiProvider(context: Context) {
val interceptor = HttpLoggingInterceptor()
interceptor.apply { interceptor.level = HttpLoggingInterceptor.Level.BODY }
val httpClient = OkHttpClient.Builder().callTimeout(15, TimeUnit.SECONDS)
httpClient.addInterceptor(ChuckInterceptor(app.applicationContext))
// httpClient.addInterceptor(ChuckInterceptor(app.applicationContext))

if (secretKey != null) {
httpClient.addInterceptor(object : Interceptor {
Expand Down

0 comments on commit 5898ea7

Please sign in to comment.