Skip to content

Commit 889223a

Browse files
Require at least C API 4.0.0 with core 4.0.0-2024-05-14
1 parent 5a1811f commit 889223a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

objectbox/lib/src/native/bindings/bindings.dart

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,14 @@ ObjectBoxC? _tryObjectBoxLibFile() {
9494

9595
// Require the minimum C API version of all supported platform-specific
9696
// libraries:
97-
// objectbox-c: 0.21.0 (3.8.0-2024-02-13)
98-
// ObjectBox Swift 1.9.2: 0.21.0 (3.8.0-2024-02-13)
99-
// objectbox-android 3.8.0: 0.21.0 (3.8.0-2024-02-13)
100-
var _obxCminMajor = 0;
101-
var _obxCminMinor = 21;
97+
// objectbox-c: 4.0.0 (4.0.0-2024-05-14)
98+
// ObjectBox Swift 2.0.0: 4.0.0 (4.0.0-2024-05-14)
99+
// objectbox-android 4.0.0: 4.0.0 (4.0.0-2024-05-14)
100+
var _obxCminMajor = 4;
101+
var _obxCminMinor = 0;
102102
var _obxCminPatch = 0;
103103
// Require minimum core version guaranteeing actual C API availability.
104-
var _obxCoreMinVersion = "3.8.0-2024-02-13";
104+
var _obxCoreMinVersion = "4.0.0-2024-05-14";
105105

106106
bool _isSupportedVersion(ObjectBoxC obxc) {
107107
if (!obxc.version_is_at_least(_obxCminMajor, _obxCminMinor, _obxCminPatch)) {

0 commit comments

Comments
 (0)