File tree 2 files changed +4
-3
lines changed
example/flutter/objectbox_demo_sync/lib
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,8 @@ class ViewModel {
66
66
_query = _box.query ().order (dateProp, flags: Order .descending).build ();
67
67
68
68
// TODO configure actual sync server address and authentication
69
- // 10.0.2.2 is your host PC if an app is run in an emulator.
69
+ // 10.0.2.2 is your host PC if an app is run in an Android emulator.
70
+ // 127.0.0.1 is your host PC if an app is run in an iOS simulator.
70
71
// For other options, see objectbox/lib/src/sync.dart
71
72
final syncClient =
72
73
Sync .client (_store, 'ws://10.0.2.2:9999' , SyncCredentials .none ());
Original file line number Diff line number Diff line change 1
- ObjectBox (with Sync) libraries for Flutter
1
+ ObjectBox (with [ Sync] ( https://objectbox.io/sync ) ) libraries for Flutter
2
2
===========================================
3
- This package provides native ObjectBox library as a flutter plugin for supported platforms.
3
+ This package provides native ObjectBox library, including [ Sync ] ( https://objectbox.io/sync ) client, as a flutter plugin for supported platforms.
4
4
You should add this package as a dependency when using [ ObjectBox] ( https://pub.dev/packages/objectbox ) with Flutter.
5
5
6
6
See package [ ObjectBox] ( https://pub.dev/packages/objectbox ) for more details and information how to use ObjectBox it.
You can’t perform that action at this time.
0 commit comments