-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'obx-953-sync-demo' into 'main'
Update Sync demo to match Java/C++ See merge request objectbox/objectbox-dart!56
- Loading branch information
Showing
5 changed files
with
146 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,24 @@ | ||
# objectbox_demo | ||
# objectbox_demo_sync | ||
|
||
## Getting Started with ObjectBox Sync in Flutter / Dart | ||
|
||
This project contains the Flutter version of the main example from the [objectbox-examples](https://github.com/objectbox/objectbox-examples) repository. | ||
This project contains the Flutter version of the Sync example from the [objectbox-examples](https://github.com/objectbox/objectbox-examples) repository. | ||
|
||
You need to have a Sync Trial and run the Sync Server to run the demo --> Apply for the [Sync Trial here](https://objectbox.io/sync/). | ||
|
||
Also, do check out the [Sync Docs](https://sync.objectbox.io/). | ||
|
||
The basic steps to get this demo running (assuming you have a working Flutter setup): | ||
|
||
``` | ||
# Set up project, get dependencies | ||
flutter pub get | ||
# Generate model and code files for ObjectBox | ||
flutter pub run build_runner build | ||
# Run the app in debug mode | ||
flutter run | ||
``` | ||
|
||
Optional: depending on your setup you might have to adjust the Sync server address in [objectbox.dart](/lib/objectbox.dart). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters