Skip to content

Commit 1e9a870

Browse files
committed
Merge branch 'release/0.7.3'
2 parents 40a7684 + 050d3bc commit 1e9a870

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

dart_native/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.7.3
2+
3+
* [Fix] Garbage characters on Android.
4+
15
## 0.7.2
26

37
* [Fix] Support Promise on Android.

dart_native/example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ packages:
168168
path: ".."
169169
relative: true
170170
source: path
171-
version: "0.7.2"
171+
version: "0.7.3"
172172
dart_native_gen:
173173
dependency: transitive
174174
description:

dart_native/lib/src/android/common/pointer_encoding.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ String? fromUtf16(Pointer<Void> uint16Ptr) {
223223
length += uint16Ptr.cast<Uint16>().elementAt(i).value;
224224
}
225225
Uint16List list = uint16Ptr.cast<Uint16>().asTypedList(length + 3);
226-
calloc.free(uint16Ptr);
227226
final codes = String.fromCharCodes(list.sublist(2, length + 2));
227+
calloc.free(uint16Ptr);
228228
return codes;
229229
}

dart_native/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: dart_native
22
description: Write native code using Dart. This package liberates you from native code and low performance channel.
3-
version: 0.7.2
3+
version: 0.7.3
44
homepage: https://github.com/dart-native/dart_native
55

66
environment:

0 commit comments

Comments
 (0)