Data sharing in local network
NetShare-v2.mp4
Note: This project is mainly running on the latest Flutter beta channel
- Run Hive object generator (if needed)
The project's using (hive)[https://pub.dev/packages/hive] (NoSQL Database) to cache object data. Before running this, we should generate all entities adapters (being inside
.g.dart
files) to make sure all they are updated:
flutter pub run build_runner build --delete-conflicting-outputs
- Run the project as usual
flutter run
Normally, desktop app (macOS, Windows, Linux) will be server and mobile app (Android, iOS) will be client role. But roles can be reversed, let's try and enjoy :)
Note
- Remember to connect both server and client app in the same network
- iOS:
To keep iOS app persisting on your device, recommend running it in release mode:
flutter run --release
(you can not reopen app if running it in debug mode)