We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 292e18c commit b1f49a2Copy full SHA for b1f49a2
objectbox/lib/src/bindings/bindings.dart
@@ -59,7 +59,13 @@ void initializeDartAPI() {
59
final errCode = C.dartc_init_api(NativeApi.initializeApiDLData);
60
_dartAPIinitialized = (OBX_SUCCESS == errCode);
61
if (!_dartAPIinitialized) {
62
- _dartAPIinitException = latestNativeError(codeIfMissing: errCode);
+ _dartAPIinitException = latestNativeError(
63
+ codeIfMissing: errCode,
64
+ dartMsg: "Dart/Flutter SDK you're using is not compatible with "
65
+ 'ObjectBox observers, query streams and Sync event streams. '
66
+ 'Please consider using Flutter v1.20.x or v1.22.x (or Dart v2.10.x). '
67
+ 'See https://github.com/objectbox/objectbox-dart/issues/197 for more details. '
68
+ 'Native exception');
69
}
70
71
0 commit comments