File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
android/src/main/kotlin/io/flutter/plugins/cronet_http Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1+ ## 1.6.1-wip
2+
3+ * Fix a bug where cronet would throw ` ClassNotFoundException ` in debug mode.
4+
15## 1.6.0
26
37* Upgrade the ` cronet-embedded ` dependency to ` 141.7340 ` version to
Original file line number Diff line number Diff line change 1414
1515package io.flutter.plugins.cronet_http
1616
17+ import androidx.annotation.Keep
1718import org.chromium.net.CronetException
1819import org.chromium.net.UrlRequest
1920import org.chromium.net.UrlResponseInfo
@@ -31,8 +32,10 @@ import java.nio.ByteBuffer
3132// parameter is nullable as specified in the cronet source code:
3233// https://source.chromium.org/chromium/chromium/src/+/main:components/cronet/android/api/src/org/chromium/net/UrlRequest.java;l=232
3334
35+ @Keep
3436class UrlRequestCallbackProxy (val callback : UrlRequestCallbackInterface ) : UrlRequest.Callback() {
35- public interface UrlRequestCallbackInterface {
37+ @Keep
38+ interface UrlRequestCallbackInterface {
3639 fun onRedirectReceived (
3740 request : UrlRequest ? ,
3841 info : UrlResponseInfo ? ,
Original file line number Diff line number Diff line change 11name : cronet_http
2- version : 1.6.0
2+ version : 1.6.1-wip
33description : >-
44 An Android Flutter plugin that provides access to the Cronet HTTP client.
55repository : https://github.com/dart-lang/http/tree/master/pkgs/cronet_http
You can’t perform that action at this time.
0 commit comments