commit
9c5fef1a4d
412 files changed
+94582
No files matched your search
@@ -0,0 +1,24 @@
|
||||
# Sakura Mobile
|
||||
|
||||
Flutter mobile client for Sakura Cloud. The Dart code is written for iOS and Android and uses the same authenticated REST API.
|
||||
|
||||
## Current app flow
|
||||
|
||||
- Sign in with Cloud API URL, username/email, and password.
|
||||
- Store the API URL and access token with `shared_preferences`.
|
||||
- Show recent synced images, gallery search, WebP thumbnails, and pinch-zoom detail images.
|
||||
- Show synced novels, search novels, read text files, and write reading progress back to Sakura Cloud.
|
||||
|
||||
## Build notes
|
||||
|
||||
This workspace does not include the generated platform runners. On a machine with Flutter installed, run:
|
||||
|
||||
```powershell
|
||||
cd sakura_mobile
|
||||
flutter create --platforms=android,ios .
|
||||
flutter pub get
|
||||
flutter analyze
|
||||
flutter run
|
||||
```
|
||||
|
||||
The default Cloud API is `http://api.kunkunxiaomao.top:8000`. Android emulators cannot reach a desktop `127.0.0.1` backend directly; use `http://10.0.2.2:8000` for a local backend on the default Android emulator, or the LAN/public API URL of the Sakura Cloud host for physical iOS/Android devices.
|
||||
Reference in new issue
Block a user