We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8532175 commit b8d23d3Copy full SHA for b8d23d3
pkgs/cronet_http/lib/src/cronet_client.dart
@@ -125,8 +125,7 @@ class CronetEngine {
125
bool? enableQuic,
126
String? storagePath,
127
String? userAgent}) {
128
- final builder = jb.CronetEngine$Builder(
129
- JObject.fromReference(Jni.getCachedApplicationContext()));
+ final builder = jb.CronetEngine$Builder(Jni.androidApplicationContext);
130
131
try {
132
if (storagePath != null) {
pkgs/cronet_http/pubspec.yaml
@@ -13,11 +13,11 @@ dependencies:
13
sdk: flutter
14
http: ^1.5.0
15
http_profile: ^0.1.0
16
- jni: ^0.14.2
+ jni: ^0.15.2
17
18
dev_dependencies:
19
dart_flutter_team_lints: ^3.0.0
20
- jnigen: ^0.14.2
+ jnigen: ^0.15.0
21
xml: ^6.1.0
22
yaml_edit: ^2.0.3
23
0 commit comments