Skip to content

Commit aa03a50

Browse files
committed
Fix change log
1 parent c786c81 commit aa03a50

File tree

4 files changed

+488
-438
lines changed

4 files changed

+488
-438
lines changed

pkgs/cronet_http/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
## 1.6.1-wip
1+
## 1.7.0-wip
22

33
* Fix a bug where cronet would throw `ClassNotFoundException` in debug mode.
4+
* Upgrade `package:jni` to 0.15.2 and `package:jnigen` to 0.15.0.
45

56
## 1.6.0
67

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) {

0 commit comments

Comments
 (0)