From 08ce9fd760ce5ab4a41e162d59e1c422bc5eda74 Mon Sep 17 00:00:00 2001 From: Jason Lewicki Date: Fri, 4 Sep 2020 09:25:20 -0500 Subject: [PATCH 1/3] Add override and implement abstract method inherited from HttpClientRequest --- lib/src/http_client_request.dart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/src/http_client_request.dart b/lib/src/http_client_request.dart index e7f9c14..f16fc67 100644 --- a/lib/src/http_client_request.dart +++ b/lib/src/http_client_request.dart @@ -145,4 +145,9 @@ class StethoHttpClientRequest implements HttpClientRequest { _streamController.add(obj.toString().codeUnits); } } + + @override + void abort([Object exception, StackTrace stackTrace]) { + request.addError(exception, stackTrace); + } } From 588039f0a5436b8c2e9da38596f1abbfd8496e48 Mon Sep 17 00:00:00 2001 From: Cristian Zazo Date: Mon, 7 Dec 2020 13:25:54 +0100 Subject: [PATCH 2/3] Update AS Gradle version, compileSdkVersion --- android/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index f2fc8eb..192151c 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -7,7 +7,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:3.5.3' + classpath 'com.android.tools.build:gradle:4.1.1' } } rootProject.allprojects { @@ -18,7 +18,7 @@ rootProject.allprojects { } apply plugin: 'com.android.library' android { - compileSdkVersion 29 + compileSdkVersion 30 defaultConfig { minSdkVersion 16 From a346cff7bcebd3c4ed7c3a6868f437a06b949e70 Mon Sep 17 00:00:00 2001 From: Cristian Zazo Date: Mon, 7 Dec 2020 13:26:40 +0100 Subject: [PATCH 3/3] Update Gradle wrapper --- android/gradle/wrapper/gradle-wrapper.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index 13604f8..1b308d1 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip