Skip to content

Commit a7252df

Browse files
committed
Sync - docs updates
1 parent dcb3718 commit a7252df

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

example/flutter/objectbox_demo_sync/lib/main.dart

+2-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ class ViewModel {
6666
_query = _box.query().order(dateProp, flags: Order.descending).build();
6767

6868
// 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.
7071
// For other options, see objectbox/lib/src/sync.dart
7172
final syncClient =
7273
Sync.client(_store, 'ws://10.0.2.2:9999', SyncCredentials.none());

sync_flutter_libs/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
ObjectBox (with Sync) libraries for Flutter
1+
ObjectBox (with [Sync](https://objectbox.io/sync)) libraries for Flutter
22
===========================================
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.
44
You should add this package as a dependency when using [ObjectBox](https://pub.dev/packages/objectbox) with Flutter.
55

66
See package [ObjectBox](https://pub.dev/packages/objectbox) for more details and information how to use ObjectBox it.

0 commit comments

Comments
 (0)