Instabug/Instabug-Android

The response body is not full

dung90it opened this issue · 1 comments

Steps to Reproduce the Problem

Call Api to get data from server

Expected Behavior

Show full response body

Actual Behavior

Screenshot 2023-12-15 at 11 00 22

Body: "The response body has not been logged because it exceeds the maximum size of 10 Kb"

Instabug integration code

val configurations = ReproConfigurations.Builder()
.setIssueMode(IssueType.All, ReproMode.EnableWithScreenshots)
.build()
Instabug.Builder(this, instabugKey)
.setInvocationEvents(InstabugInvocationEvent.TWO_FINGER_SWIPE_LEFT)
.setReproConfigurations(configurations)
.setConsoleLogState(Feature.State.DISABLED)
.build()

val clientBuilder = OkHttpClient.Builder()
clientBuilder.connect timeout(2, TimeUnit.MINUTES)
clientBuilder.readTimeout(2, TimeUnit.MINUTES)
clientBuilder.writeTimeout(2, TimeUnit.MINUTES)
clientBuilder.addInterceptor(InstabugOkhttpInterceptor())
clientBuilder.retryOnConnectionFailure(true)

SDK Version

'com.instabug.library:instabug:12.4.0'
'com.instabug.library:instabug-with-okhttp-interceptor:12.4.0'

Android Version

Android 12, API 31

Device Model

Samsung S10+

[Optional] Project That Reproduces the Issue