Skip to content

Commit b8d23d3

Browse files
committed
Do upgrade
1 parent 8532175 commit b8d23d3

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

pkgs/cronet_http/lib/src/cronet_client.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,7 @@ class CronetEngine {
125125
bool? enableQuic,
126126
String? storagePath,
127127
String? userAgent}) {
128-
final builder = jb.CronetEngine$Builder(
129-
JObject.fromReference(Jni.getCachedApplicationContext()));
128+
final builder = jb.CronetEngine$Builder(Jni.androidApplicationContext);
130129

131130
try {
132131
if (storagePath != null) {

pkgs/cronet_http/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ dependencies:
1313
sdk: flutter
1414
http: ^1.5.0
1515
http_profile: ^0.1.0
16-
jni: ^0.14.2
16+
jni: ^0.15.2
1717

1818
dev_dependencies:
1919
dart_flutter_team_lints: ^3.0.0
20-
jnigen: ^0.14.2
20+
jnigen: ^0.15.0
2121
xml: ^6.1.0
2222
yaml_edit: ^2.0.3
2323

0 commit comments

Comments
 (0)