Commit cc8a7cd
fix: handle null ResponseBody source in network interceptor (#107)
- Replace custom ResponseBody anonymous class with ResponseBody.create()
- Ensures valid BufferedSource is returned instead of null
- Prevents NullPointerException when OkHttp attempts to close response
- Fixes crash reported in Google Play Console
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-authored-by: Claude <[email protected]>1 parent d503305 commit cc8a7cd
1 file changed
+1
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
| 130 | + | |
147 | 131 | | |
148 | 132 | | |
149 | 133 | | |
| |||
0 commit comments