diff --git a/.github/workflows/mobile.yml b/.github/workflows/mobile.yml
new file mode 100644
index 00000000000..c2635a4f5c1
--- /dev/null
+++ b/.github/workflows/mobile.yml
@@ -0,0 +1,136 @@
+name: Mobile App (Flutter)
+
+on:
+ push:
+ branches: [feat/flutter-mobile-app]
+ paths: ['mobile/**']
+ pull_request:
+ branches: [develop]
+ paths: ['mobile/**']
+ workflow_dispatch:
+ inputs:
+ upload_testflight:
+ description: 'Upload to TestFlight'
+ type: boolean
+ default: false
+
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
+jobs:
+ test:
+ name: Test & Analyze
+ runs-on: ubuntu-latest
+ defaults:
+ run:
+ working-directory: mobile
+ steps:
+ - uses: actions/checkout@v4
+ - uses: subosito/flutter-action@v2
+ with:
+ channel: stable
+ - run: flutter pub get
+ - run: flutter analyze --no-fatal-infos
+ - run: flutter test
+
+ build-ios:
+ name: Build iOS
+ needs: test
+ runs-on: macos-latest
+ if: |
+ github.event_name == 'workflow_dispatch' ||
+ startsWith(github.ref, 'refs/tags/mobile-v')
+ defaults:
+ run:
+ working-directory: mobile
+ steps:
+ - uses: actions/checkout@v4
+ - uses: subosito/flutter-action@v2
+ with:
+ channel: stable
+
+ - run: flutter pub get
+ - run: cd ios && pod install
+
+ # Uses same secret names as immich-fork for reuse.
+ - name: Create API Key
+ env:
+ API_KEY_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_ID }}
+ API_KEY_CONTENT: ${{ secrets.APP_STORE_CONNECT_API_KEY_P8 }}
+ run: |
+ mkdir -p ~/.appstoreconnect/private_keys
+ echo "$API_KEY_CONTENT" | base64 --decode > ~/.appstoreconnect/private_keys/AuthKey_${API_KEY_ID}.p8
+
+ - name: Import Certificate
+ env:
+ IOS_CERTIFICATE_P12: ${{ secrets.IOS_DISTRIBUTION_CERT_P12 }}
+ IOS_CERTIFICATE_PASSWORD: ${{ secrets.IOS_DISTRIBUTION_CERT_PASSWORD }}
+ run: |
+ echo "$IOS_CERTIFICATE_P12" | base64 --decode > /tmp/certificate.p12
+
+ security create-keychain -p "$IOS_CERTIFICATE_PASSWORD" build.keychain
+ security default-keychain -s build.keychain
+ security unlock-keychain -p "$IOS_CERTIFICATE_PASSWORD" build.keychain
+ security set-keychain-settings -t 3600 -u build.keychain
+
+ security import /tmp/certificate.p12 -k build.keychain \
+ -P "$IOS_CERTIFICATE_PASSWORD" -T /usr/bin/codesign -T /usr/bin/security
+ security set-key-partition-list -S apple-tool:,apple: \
+ -s -k "$IOS_CERTIFICATE_PASSWORD" build.keychain
+
+ security find-identity -v -p codesigning build.keychain
+
+ - name: Build IPA
+ run: flutter build ipa --release --export-options-plist=ios/ExportOptions.plist
+
+ - name: Upload IPA artifact
+ uses: actions/upload-artifact@v4
+ with:
+ name: huly-mobile-ios
+ path: mobile/build/ios/ipa/*.ipa
+
+ - name: Upload to TestFlight
+ if: |
+ startsWith(github.ref, 'refs/tags/mobile-v') ||
+ github.event.inputs.upload_testflight == 'true'
+ env:
+ API_KEY_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_ID }}
+ API_KEY_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_ISSUER_ID }}
+ run: |
+ xcrun altool --upload-app \
+ --type ios \
+ --file build/ios/ipa/*.ipa \
+ --apiKey "$API_KEY_ID" \
+ --apiIssuer "$API_KEY_ISSUER_ID"
+
+ - name: Cleanup keychain
+ if: always()
+ run: security delete-keychain build.keychain 2>/dev/null || true
+
+ build-android:
+ name: Build Android
+ needs: test
+ runs-on: ubuntu-latest
+ if: |
+ github.event_name == 'workflow_dispatch' ||
+ startsWith(github.ref, 'refs/tags/mobile-v')
+ defaults:
+ run:
+ working-directory: mobile
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-java@v4
+ with:
+ distribution: temurin
+ java-version: 17
+ - uses: subosito/flutter-action@v2
+ with:
+ channel: stable
+ - run: flutter pub get
+ - run: flutter build appbundle --release
+ - name: Upload AAB
+ uses: actions/upload-artifact@v4
+ with:
+ name: huly-mobile-android
+ path: mobile/build/app/outputs/bundle/release/*.aab
diff --git a/.gitignore b/.gitignore
index b68af9de6bb..db5fc3f098a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
.heft/
lib/
+!mobile/lib/
_api-extractor-temp/
temp/
.idea
diff --git a/.ideas/mobile-app-plan.md b/.ideas/mobile-app-plan.md
new file mode 100644
index 00000000000..75cec275cf2
--- /dev/null
+++ b/.ideas/mobile-app-plan.md
@@ -0,0 +1,166 @@
+# Huly Mobile App (Flutter) — Status & Continuation Plan
+
+**Branch:** `feat/flutter-mobile-app`
+**Fork PR:** https://github.com/ledoent/platform/pull/2
+**Repo location:** `mobile/` directory in huly-platform monorepo
+**Target:** Self-hosted Huly deployment (ledoweb.com)
+
+---
+
+## What's Done (11 commits on branch)
+
+### Phase 1 — Auth + Issue Tracking
+- [x] OTP, password, OAuth (Google/GitHub/OIDC) via `huly://` custom scheme
+- [x] 2FA/TOTP verification (verify2fa RPC, TfaScreen, tfaPending state)
+- [x] Issue list/detail/create/edit (TxUpdateDoc)
+- [x] Status management (fetch, display, edit via dropdown)
+- [x] Client-side search/filter on issue list
+- [x] Auto-refresh (45s timer, lifecycle-aware)
+- [x] Server-side `mobileRedirect` in authProviders
+
+### Phase 2 — Polish + Navigation
+- [x] Member/assignee name resolution (contact:class:Person)
+- [x] Activity feed + comment posting on issue detail
+- [x] File attachments (image_picker → blob upload → attachment doc)
+- [x] Bottom nav bar (Issues / Chat / Settings)
+- [x] Settings screen (server info, workspace, biometric toggle, sign out)
+
+### Phase 3 — Chunter Chat
+- [x] Channel + DirectMessage list with DM name resolution
+- [x] Message thread with send, shared MessageBubble widget
+- [x] 10s polling (lifecycle-aware)
+
+### Phase 4 — Real-Time
+- [x] WebSocket client (Huly protocol: hello handshake, ping/pong, Tx streaming)
+- [x] dataVersionProvider — auto-refreshes providers on Tx events
+- [x] Polling kept as fallback
+- [x] FCM push notifications (register token as PushSubscription, foreground display)
+
+### Phase 5 — Advanced
+- [x] Biometric auth (Face ID / fingerprint, lock screen, settings toggle)
+
+### Infrastructure
+- [x] GitHub Actions CI (`.github/workflows/mobile.yml`)
+ - Test on push/PR, build iOS+Android on tags/manual
+ - Uses same secrets as `dnplkndll/immich` repo
+- [x] App Store Connect: bundle ID `com.ledoweb.hulyMobile` registered
+- [x] Capabilities enabled: Push Notifications, App Groups, Associated Domains
+
+### Code Quality
+- [x] Shared widgets extracted (MessageBubble, PriorityChip)
+- [x] Shared utilities (escapeHtml, stripHtml, formatTimestamp)
+- [x] No duplication across screens
+- [x] `flutter build ios --no-codesign` passes
+- [x] `flutter test` — 16/16 tests pass
+
+---
+
+## Blocked / In Progress
+
+### TestFlight Upload (blocked)
+- IPA built locally (21.8MB) at `mobile/build/ios/ipa/`
+- Upload failed: app `com.ledoweb.hulyMobile` needs to be **created in App Store Connect**
+- Bundle ID is registered, capabilities enabled
+- **TODO:** Go to https://appstoreconnect.apple.com/apps → New App → iOS
+ - Name: `Huly Mobile`
+ - Bundle ID: `com.ledoweb.hulyMobile` (select from dropdown)
+ - SKU: `com.ledoweb.hulyMobile`
+ - Primary Language: English (U.S.)
+- Then upload: `xcrun altool --upload-app --type ios --file mobile/build/ios/ipa/huly_mobile.ipa --apiKey H37UAAFAVA --apiIssuer 7f122bfe-f415-4590-9229-35a8e80a1826`
+
+### CI Secrets (done)
+All 5 secrets set on `ledoent/platform`:
+- `APP_STORE_CONNECT_API_KEY_ID` — H37UAAFAVA
+- `APP_STORE_CONNECT_API_KEY_ISSUER_ID` — 7f122bfe-f415-4590-9229-35a8e80a1826
+- `APP_STORE_CONNECT_API_KEY_P8` — from ~/.appstoreconnect/private_keys/
+- `IOS_DISTRIBUTION_CERT_P12` — from ~/.apple-certs/immich_distribution.p12
+- `IOS_DISTRIBUTION_CERT_PASSWORD` — empty string
+
+---
+
+## TODO — Remaining Work
+
+### Immediate (unblock TestFlight)
+- [ ] Create app in App Store Connect (manual — API key lacks CREATE permission)
+- [ ] Upload IPA to TestFlight (command above, or `git tag mobile-v0.3.0` to trigger CI)
+- [ ] Add custom Huly app icon (currently Flutter default placeholder)
+- [ ] Add custom launch screen / splash (currently default)
+
+### Android (untested)
+- [ ] Test Android build on device or emulator
+- [ ] Chrome Custom Tabs for OAuth (vs ASWebAuthenticationSession)
+- [ ] Verify Android share intent works
+- [ ] Verify Android Keystore via flutter_secure_storage
+- [ ] Add google-services.json for FCM on Android
+
+### Firebase Setup (for push notifications)
+- [ ] Create Firebase project for Huly Mobile
+- [ ] Add GoogleService-Info.plist to `mobile/ios/Runner/`
+- [ ] Add google-services.json to `mobile/android/app/`
+- [ ] Test push notification delivery end-to-end
+- [ ] Verify FCM token registration as PushSubscription in workspace
+
+### WebSocket Hardening
+- [ ] Test WebSocket against live Huly instance
+- [ ] Verify Tx events are received and providers refresh
+- [ ] Test reconnection after network loss
+- [ ] Add connection status indicator in UI (connected/disconnected)
+- [ ] Consider adding snappy compression for bandwidth (optional)
+
+### Chat Improvements
+- [ ] Thread replies (tap message → reply in thread)
+- [ ] Unread indicators on channel list (DocNotifyContext queries)
+- [ ] Message reactions
+- [ ] Rich markup rendering (`flutter_widget_from_html` for TipTap HTML)
+- [ ] Typing indicators
+
+### Issue Improvements
+- [ ] Issue deletion
+- [ ] Assignee picker (select from workspace members)
+- [ ] Sub-tasks / related issues
+- [ ] Due dates
+- [ ] Labels/tags
+
+### UX Polish
+- [ ] Workspace switcher (currently requires logout/re-login)
+- [ ] Notification badge on bottom nav for unread chat
+- [ ] Dark/light theme toggle (currently dark only)
+- [ ] Error states and empty states with illustrations
+- [ ] Loading skeletons instead of spinners
+
+### Future Modules
+- [ ] Documents (read-only markdown rendering)
+- [ ] Time tracking (log entries against issues)
+- [ ] HR module (leave requests, PTO)
+- [ ] Kanban board view for issues
+
+---
+
+## Key Files Reference
+
+| File | Purpose |
+|------|---------|
+| `mobile/lib/app.dart` | Router, bottom nav shell, realtime init |
+| `mobile/lib/core/api/rest_client.dart` | REST API client (find-all, tx, blob) |
+| `mobile/lib/core/api/websocket_client.dart` | WebSocket protocol implementation |
+| `mobile/lib/core/api/realtime_provider.dart` | WebSocket + push + dataVersion providers |
+| `mobile/lib/features/auth/auth_provider.dart` | Auth state machine, all login methods |
+| `mobile/lib/features/issues/issue_provider.dart` | Issue, status, member, attachment providers |
+| `mobile/lib/features/chat/chat_provider.dart` | Channel + message providers |
+| `mobile/lib/services/push_notification_service.dart` | FCM init, foreground display, subscription |
+| `mobile/pubspec.yaml` | Dependencies |
+| `.github/workflows/mobile.yml` | CI: test, build iOS/Android, upload TestFlight |
+| `.ideas/mobile-app-plan.md` | This file |
+
+## Apple Developer Details
+
+| Item | Value |
+|------|-------|
+| Bundle ID | `com.ledoweb.hulyMobile` |
+| Team ID | `6ZJTLNKLQR` |
+| ASC Key ID | `H37UAAFAVA` |
+| ASC Issuer ID | `7f122bfe-f415-4590-9229-35a8e80a1826` |
+| API Key | `~/.appstoreconnect/private_keys/AuthKey_H37UAAFAVA.p8` |
+| Dist Cert | `~/.apple-certs/immich_distribution.p12` |
+| ASC Bundle Internal ID | `9F22F9BGXB` |
+| Capabilities | Push Notifications, App Groups, Associated Domains, In-App Purchase |
diff --git a/mobile/.gitignore b/mobile/.gitignore
new file mode 100644
index 00000000000..3820a95c65c
--- /dev/null
+++ b/mobile/.gitignore
@@ -0,0 +1,45 @@
+# Miscellaneous
+*.class
+*.log
+*.pyc
+*.swp
+.DS_Store
+.atom/
+.build/
+.buildlog/
+.history
+.svn/
+.swiftpm/
+migrate_working_dir/
+
+# IntelliJ related
+*.iml
+*.ipr
+*.iws
+.idea/
+
+# The .vscode folder contains launch configuration and tasks you configure in
+# VS Code which you may wish to be included in version control, so this line
+# is commented out by default.
+#.vscode/
+
+# Flutter/Dart/Pub related
+**/doc/api/
+**/ios/Flutter/.last_build_id
+.dart_tool/
+.flutter-plugins-dependencies
+.pub-cache/
+.pub/
+/build/
+/coverage/
+
+# Symbolication related
+app.*.symbols
+
+# Obfuscation related
+app.*.map.json
+
+# Android Studio will place build artifacts here
+/android/app/debug
+/android/app/profile
+/android/app/release
diff --git a/mobile/.metadata b/mobile/.metadata
new file mode 100644
index 00000000000..e4b4e8bf9de
--- /dev/null
+++ b/mobile/.metadata
@@ -0,0 +1,45 @@
+# This file tracks properties of this Flutter project.
+# Used by Flutter tool to assess capabilities and perform upgrades etc.
+#
+# This file should be version controlled and should not be manually edited.
+
+version:
+ revision: "2c9eb20739dfec95e2c74bd3dfa4601b0a8a36aa"
+ channel: "stable"
+
+project_type: app
+
+# Tracks metadata for the flutter migrate command
+migration:
+ platforms:
+ - platform: root
+ create_revision: 2c9eb20739dfec95e2c74bd3dfa4601b0a8a36aa
+ base_revision: 2c9eb20739dfec95e2c74bd3dfa4601b0a8a36aa
+ - platform: android
+ create_revision: 2c9eb20739dfec95e2c74bd3dfa4601b0a8a36aa
+ base_revision: 2c9eb20739dfec95e2c74bd3dfa4601b0a8a36aa
+ - platform: ios
+ create_revision: 2c9eb20739dfec95e2c74bd3dfa4601b0a8a36aa
+ base_revision: 2c9eb20739dfec95e2c74bd3dfa4601b0a8a36aa
+ - platform: linux
+ create_revision: 2c9eb20739dfec95e2c74bd3dfa4601b0a8a36aa
+ base_revision: 2c9eb20739dfec95e2c74bd3dfa4601b0a8a36aa
+ - platform: macos
+ create_revision: 2c9eb20739dfec95e2c74bd3dfa4601b0a8a36aa
+ base_revision: 2c9eb20739dfec95e2c74bd3dfa4601b0a8a36aa
+ - platform: web
+ create_revision: 2c9eb20739dfec95e2c74bd3dfa4601b0a8a36aa
+ base_revision: 2c9eb20739dfec95e2c74bd3dfa4601b0a8a36aa
+ - platform: windows
+ create_revision: 2c9eb20739dfec95e2c74bd3dfa4601b0a8a36aa
+ base_revision: 2c9eb20739dfec95e2c74bd3dfa4601b0a8a36aa
+
+ # User provided section
+
+ # List of Local paths (relative to this file) that should be
+ # ignored by the migrate tool.
+ #
+ # Files that are not part of the templates will be ignored by default.
+ unmanaged_files:
+ - 'lib/main.dart'
+ - 'ios/Runner.xcodeproj/project.pbxproj'
diff --git a/mobile/README.md b/mobile/README.md
new file mode 100644
index 00000000000..07075e81821
--- /dev/null
+++ b/mobile/README.md
@@ -0,0 +1,53 @@
+# Huly Mobile
+
+Flutter mobile client for Huly Platform.
+
+## Features
+
+- **Authentication**: Full flow including Server URL setup, Email/Password, OTP, 2FA, and OAuth (Google).
+- **Biometric Security**: Optional biometric lock for app access.
+- **Issues**: Browse projects, filter and search issues, create and edit issues with attachments.
+- **Chat**: Real-time messaging in channels and direct messages via WebSockets.
+- **Push Notifications**: Firebase-powered notifications for mentions and messages.
+
+## Tech Stack
+
+- **Framework**: Flutter
+- **State Management**: [Riverpod](https://riverpod.dev)
+- **Navigation**: [GoRouter](https://pub.dev/packages/go_router)
+- **API**: [Dio](https://pub.dev/packages/dio) for REST, `web_socket_channel` for Real-time.
+- **Persistence**: `flutter_secure_storage` for credentials and tokens.
+
+## Getting Started
+
+1. **Install Dependencies**:
+ ```bash
+ flutter pub get
+ ```
+2. **Generate Models**:
+ ```bash
+ flutter pub run build_runner build --delete-conflicting-outputs
+ ```
+3. **Run the App**:
+ ```bash
+ flutter run
+ ```
+
+## Testing
+
+The project uses `flutter_test` and `mocktail` for testing.
+
+- **Unit Tests**: Test providers and API clients.
+- **Widget Tests**: Test screen behavior and UI components.
+
+Run all tests:
+```bash
+flutter test
+```
+
+## Architecture
+
+The project follows a feature-based folder structure under `lib/features/`.
+- `core/`: Shared models, API clients, theme, and widgets.
+- `features/`: Isolated feature modules (auth, chat, issues, etc.).
+- `services/`: Global application services (Push, Share Handler).
diff --git a/mobile/analysis_options.yaml b/mobile/analysis_options.yaml
new file mode 100644
index 00000000000..5f11304e1eb
--- /dev/null
+++ b/mobile/analysis_options.yaml
@@ -0,0 +1,32 @@
+# This file configures the analyzer, which statically analyzes Dart code to
+# check for errors, warnings, and lints.
+#
+# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
+# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
+# invoked from the command line by running `flutter analyze`.
+
+# The following line activates a set of recommended lints for Flutter apps,
+# packages, and plugins designed to encourage good coding practices.
+include: package:flutter_lints/flutter.yaml
+
+analyzer:
+ errors:
+ invalid_annotation_target: ignore
+
+linter:
+ # The lint rules applied to this project can be customized in the
+ # section below to disable rules from the `package:flutter_lints/flutter.yaml`
+ # included above or to enable additional rules. A list of all available lints
+ # and their documentation is published at https://dart.dev/lints.
+ #
+ # Instead of disabling a lint rule for the entire project in the
+ # section below, it can also be suppressed for a single line of code
+ # or a specific dart file by using the `// ignore: name_of_lint` and
+ # `// ignore_for_file: name_of_lint` syntax on the line or in the file
+ # producing the lint.
+ rules:
+ unnecessary_underscores: false
+ use_null_aware_elements: false
+
+# Additional information about this file can be found at
+# https://dart.dev/guides/language/analysis-options
diff --git a/mobile/android/.gitignore b/mobile/android/.gitignore
new file mode 100644
index 00000000000..be3943c96d8
--- /dev/null
+++ b/mobile/android/.gitignore
@@ -0,0 +1,14 @@
+gradle-wrapper.jar
+/.gradle
+/captures/
+/gradlew
+/gradlew.bat
+/local.properties
+GeneratedPluginRegistrant.java
+.cxx/
+
+# Remember to never publicly share your keystore.
+# See https://flutter.dev/to/reference-keystore
+key.properties
+**/*.keystore
+**/*.jks
diff --git a/mobile/android/app/build.gradle.kts b/mobile/android/app/build.gradle.kts
new file mode 100644
index 00000000000..32b42d0387d
--- /dev/null
+++ b/mobile/android/app/build.gradle.kts
@@ -0,0 +1,44 @@
+plugins {
+ id("com.android.application")
+ id("kotlin-android")
+ // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
+ id("dev.flutter.flutter-gradle-plugin")
+}
+
+android {
+ namespace = "com.ledoweb.huly_mobile"
+ compileSdk = flutter.compileSdkVersion
+ ndkVersion = flutter.ndkVersion
+
+ compileOptions {
+ sourceCompatibility = JavaVersion.VERSION_17
+ targetCompatibility = JavaVersion.VERSION_17
+ }
+
+ kotlinOptions {
+ jvmTarget = JavaVersion.VERSION_17.toString()
+ }
+
+ defaultConfig {
+ // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
+ applicationId = "com.ledoweb.huly_mobile"
+ // You can update the following values to match your application needs.
+ // For more information, see: https://flutter.dev/to/review-gradle-config.
+ minSdk = flutter.minSdkVersion
+ targetSdk = flutter.targetSdkVersion
+ versionCode = flutter.versionCode
+ versionName = flutter.versionName
+ }
+
+ buildTypes {
+ release {
+ // TODO: Add your own signing config for the release build.
+ // Signing with the debug keys for now, so `flutter run --release` works.
+ signingConfig = signingConfigs.getByName("debug")
+ }
+ }
+}
+
+flutter {
+ source = "../.."
+}
diff --git a/mobile/android/app/src/debug/AndroidManifest.xml b/mobile/android/app/src/debug/AndroidManifest.xml
new file mode 100644
index 00000000000..399f6981d5d
--- /dev/null
+++ b/mobile/android/app/src/debug/AndroidManifest.xml
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/mobile/android/app/src/main/AndroidManifest.xml b/mobile/android/app/src/main/AndroidManifest.xml
new file mode 100644
index 00000000000..05890156062
--- /dev/null
+++ b/mobile/android/app/src/main/AndroidManifest.xml
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mobile/android/app/src/main/kotlin/com/ledoweb/huly_mobile/MainActivity.kt b/mobile/android/app/src/main/kotlin/com/ledoweb/huly_mobile/MainActivity.kt
new file mode 100644
index 00000000000..65d59aada5b
--- /dev/null
+++ b/mobile/android/app/src/main/kotlin/com/ledoweb/huly_mobile/MainActivity.kt
@@ -0,0 +1,5 @@
+package com.ledoweb.huly_mobile
+
+import io.flutter.embedding.android.FlutterActivity
+
+class MainActivity : FlutterActivity()
diff --git a/mobile/android/app/src/main/res/drawable-v21/launch_background.xml b/mobile/android/app/src/main/res/drawable-v21/launch_background.xml
new file mode 100644
index 00000000000..f74085f3f6a
--- /dev/null
+++ b/mobile/android/app/src/main/res/drawable-v21/launch_background.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
diff --git a/mobile/android/app/src/main/res/drawable/launch_background.xml b/mobile/android/app/src/main/res/drawable/launch_background.xml
new file mode 100644
index 00000000000..304732f8842
--- /dev/null
+++ b/mobile/android/app/src/main/res/drawable/launch_background.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
diff --git a/mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 00000000000..db77bb4b7b0
Binary files /dev/null and b/mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 00000000000..17987b79bb8
Binary files /dev/null and b/mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/mobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/mobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 00000000000..09d4391482b
Binary files /dev/null and b/mobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/mobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/mobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 00000000000..d5f1c8d34e7
Binary files /dev/null and b/mobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/mobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/mobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 00000000000..4d6372eebdb
Binary files /dev/null and b/mobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/mobile/android/app/src/main/res/values-night/styles.xml b/mobile/android/app/src/main/res/values-night/styles.xml
new file mode 100644
index 00000000000..06952be745f
--- /dev/null
+++ b/mobile/android/app/src/main/res/values-night/styles.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
diff --git a/mobile/android/app/src/main/res/values/styles.xml b/mobile/android/app/src/main/res/values/styles.xml
new file mode 100644
index 00000000000..cb1ef88056e
--- /dev/null
+++ b/mobile/android/app/src/main/res/values/styles.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
diff --git a/mobile/android/app/src/profile/AndroidManifest.xml b/mobile/android/app/src/profile/AndroidManifest.xml
new file mode 100644
index 00000000000..399f6981d5d
--- /dev/null
+++ b/mobile/android/app/src/profile/AndroidManifest.xml
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/mobile/android/build.gradle.kts b/mobile/android/build.gradle.kts
new file mode 100644
index 00000000000..dbee657bb5b
--- /dev/null
+++ b/mobile/android/build.gradle.kts
@@ -0,0 +1,24 @@
+allprojects {
+ repositories {
+ google()
+ mavenCentral()
+ }
+}
+
+val newBuildDir: Directory =
+ rootProject.layout.buildDirectory
+ .dir("../../build")
+ .get()
+rootProject.layout.buildDirectory.value(newBuildDir)
+
+subprojects {
+ val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
+ project.layout.buildDirectory.value(newSubprojectBuildDir)
+}
+subprojects {
+ project.evaluationDependsOn(":app")
+}
+
+tasks.register("clean") {
+ delete(rootProject.layout.buildDirectory)
+}
diff --git a/mobile/android/gradle.properties b/mobile/android/gradle.properties
new file mode 100644
index 00000000000..fbee1d8cdaf
--- /dev/null
+++ b/mobile/android/gradle.properties
@@ -0,0 +1,2 @@
+org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError
+android.useAndroidX=true
diff --git a/mobile/android/gradle/wrapper/gradle-wrapper.properties b/mobile/android/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 00000000000..e4ef43fb98d
--- /dev/null
+++ b/mobile/android/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,5 @@
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-all.zip
diff --git a/mobile/android/settings.gradle.kts b/mobile/android/settings.gradle.kts
new file mode 100644
index 00000000000..ca7fe065c16
--- /dev/null
+++ b/mobile/android/settings.gradle.kts
@@ -0,0 +1,26 @@
+pluginManagement {
+ val flutterSdkPath =
+ run {
+ val properties = java.util.Properties()
+ file("local.properties").inputStream().use { properties.load(it) }
+ val flutterSdkPath = properties.getProperty("flutter.sdk")
+ require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" }
+ flutterSdkPath
+ }
+
+ includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
+
+ repositories {
+ google()
+ mavenCentral()
+ gradlePluginPortal()
+ }
+}
+
+plugins {
+ id("dev.flutter.flutter-plugin-loader") version "1.0.0"
+ id("com.android.application") version "8.11.1" apply false
+ id("org.jetbrains.kotlin.android") version "2.2.20" apply false
+}
+
+include(":app")
diff --git a/mobile/assets/.gitkeep b/mobile/assets/.gitkeep
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/mobile/ios/.gitignore b/mobile/ios/.gitignore
new file mode 100644
index 00000000000..7a7f9873ad7
--- /dev/null
+++ b/mobile/ios/.gitignore
@@ -0,0 +1,34 @@
+**/dgph
+*.mode1v3
+*.mode2v3
+*.moved-aside
+*.pbxuser
+*.perspectivev3
+**/*sync/
+.sconsign.dblite
+.tags*
+**/.vagrant/
+**/DerivedData/
+Icon?
+**/Pods/
+**/.symlinks/
+profile
+xcuserdata
+**/.generated/
+Flutter/App.framework
+Flutter/Flutter.framework
+Flutter/Flutter.podspec
+Flutter/Generated.xcconfig
+Flutter/ephemeral/
+Flutter/app.flx
+Flutter/app.zip
+Flutter/flutter_assets/
+Flutter/flutter_export_environment.sh
+ServiceDefinitions.json
+Runner/GeneratedPluginRegistrant.*
+
+# Exceptions to above rules.
+!default.mode1v3
+!default.mode2v3
+!default.pbxuser
+!default.perspectivev3
diff --git a/mobile/ios/ExportOptions.plist b/mobile/ios/ExportOptions.plist
new file mode 100644
index 00000000000..337e80f5466
--- /dev/null
+++ b/mobile/ios/ExportOptions.plist
@@ -0,0 +1,12 @@
+
+
+
+
+ method
+ app-store-connect
+ teamID
+ 6ZJTLNKLQR
+ signingStyle
+ automatic
+
+
diff --git a/mobile/ios/Flutter/AppFrameworkInfo.plist b/mobile/ios/Flutter/AppFrameworkInfo.plist
new file mode 100644
index 00000000000..391a902b2be
--- /dev/null
+++ b/mobile/ios/Flutter/AppFrameworkInfo.plist
@@ -0,0 +1,24 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ en
+ CFBundleExecutable
+ App
+ CFBundleIdentifier
+ io.flutter.flutter.app
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ App
+ CFBundlePackageType
+ FMWK
+ CFBundleShortVersionString
+ 1.0
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ 1.0
+
+
diff --git a/mobile/ios/Flutter/Debug.xcconfig b/mobile/ios/Flutter/Debug.xcconfig
new file mode 100644
index 00000000000..ec97fc6f302
--- /dev/null
+++ b/mobile/ios/Flutter/Debug.xcconfig
@@ -0,0 +1,2 @@
+#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
+#include "Generated.xcconfig"
diff --git a/mobile/ios/Flutter/Release.xcconfig b/mobile/ios/Flutter/Release.xcconfig
new file mode 100644
index 00000000000..c4855bfe200
--- /dev/null
+++ b/mobile/ios/Flutter/Release.xcconfig
@@ -0,0 +1,2 @@
+#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
+#include "Generated.xcconfig"
diff --git a/mobile/ios/Podfile b/mobile/ios/Podfile
new file mode 100644
index 00000000000..620e46eba60
--- /dev/null
+++ b/mobile/ios/Podfile
@@ -0,0 +1,43 @@
+# Uncomment this line to define a global platform for your project
+# platform :ios, '13.0'
+
+# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
+ENV['COCOAPODS_DISABLE_STATS'] = 'true'
+
+project 'Runner', {
+ 'Debug' => :debug,
+ 'Profile' => :release,
+ 'Release' => :release,
+}
+
+def flutter_root
+ generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
+ unless File.exist?(generated_xcode_build_settings_path)
+ raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
+ end
+
+ File.foreach(generated_xcode_build_settings_path) do |line|
+ matches = line.match(/FLUTTER_ROOT\=(.*)/)
+ return matches[1].strip if matches
+ end
+ raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
+end
+
+require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
+
+flutter_ios_podfile_setup
+
+target 'Runner' do
+ use_frameworks!
+
+ flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
+ target 'RunnerTests' do
+ inherit! :search_paths
+ end
+end
+
+post_install do |installer|
+ installer.pods_project.targets.each do |target|
+ flutter_additional_ios_build_settings(target)
+ end
+end
diff --git a/mobile/ios/Podfile.lock b/mobile/ios/Podfile.lock
new file mode 100644
index 00000000000..27eb883bec2
--- /dev/null
+++ b/mobile/ios/Podfile.lock
@@ -0,0 +1,153 @@
+PODS:
+ - Firebase/CoreOnly (11.15.0):
+ - FirebaseCore (~> 11.15.0)
+ - Firebase/Messaging (11.15.0):
+ - Firebase/CoreOnly
+ - FirebaseMessaging (~> 11.15.0)
+ - firebase_core (3.15.2):
+ - Firebase/CoreOnly (= 11.15.0)
+ - Flutter
+ - firebase_messaging (15.2.10):
+ - Firebase/Messaging (= 11.15.0)
+ - firebase_core
+ - Flutter
+ - FirebaseCore (11.15.0):
+ - FirebaseCoreInternal (~> 11.15.0)
+ - GoogleUtilities/Environment (~> 8.1)
+ - GoogleUtilities/Logger (~> 8.1)
+ - FirebaseCoreInternal (11.15.0):
+ - "GoogleUtilities/NSData+zlib (~> 8.1)"
+ - FirebaseInstallations (11.15.0):
+ - FirebaseCore (~> 11.15.0)
+ - GoogleUtilities/Environment (~> 8.1)
+ - GoogleUtilities/UserDefaults (~> 8.1)
+ - PromisesObjC (~> 2.4)
+ - FirebaseMessaging (11.15.0):
+ - FirebaseCore (~> 11.15.0)
+ - FirebaseInstallations (~> 11.0)
+ - GoogleDataTransport (~> 10.0)
+ - GoogleUtilities/AppDelegateSwizzler (~> 8.1)
+ - GoogleUtilities/Environment (~> 8.1)
+ - GoogleUtilities/Reachability (~> 8.1)
+ - GoogleUtilities/UserDefaults (~> 8.1)
+ - nanopb (~> 3.30910.0)
+ - Flutter (1.0.0)
+ - flutter_local_notifications (0.0.1):
+ - Flutter
+ - flutter_secure_storage (6.0.0):
+ - Flutter
+ - flutter_web_auth_2 (3.0.0):
+ - Flutter
+ - GoogleDataTransport (10.1.0):
+ - nanopb (~> 3.30910.0)
+ - PromisesObjC (~> 2.4)
+ - GoogleUtilities/AppDelegateSwizzler (8.1.0):
+ - GoogleUtilities/Environment
+ - GoogleUtilities/Logger
+ - GoogleUtilities/Network
+ - GoogleUtilities/Privacy
+ - GoogleUtilities/Environment (8.1.0):
+ - GoogleUtilities/Privacy
+ - GoogleUtilities/Logger (8.1.0):
+ - GoogleUtilities/Environment
+ - GoogleUtilities/Privacy
+ - GoogleUtilities/Network (8.1.0):
+ - GoogleUtilities/Logger
+ - "GoogleUtilities/NSData+zlib"
+ - GoogleUtilities/Privacy
+ - GoogleUtilities/Reachability
+ - "GoogleUtilities/NSData+zlib (8.1.0)":
+ - GoogleUtilities/Privacy
+ - GoogleUtilities/Privacy (8.1.0)
+ - GoogleUtilities/Reachability (8.1.0):
+ - GoogleUtilities/Logger
+ - GoogleUtilities/Privacy
+ - GoogleUtilities/UserDefaults (8.1.0):
+ - GoogleUtilities/Logger
+ - GoogleUtilities/Privacy
+ - image_picker_ios (0.0.1):
+ - Flutter
+ - local_auth_darwin (0.0.1):
+ - Flutter
+ - FlutterMacOS
+ - nanopb (3.30910.0):
+ - nanopb/decode (= 3.30910.0)
+ - nanopb/encode (= 3.30910.0)
+ - nanopb/decode (3.30910.0)
+ - nanopb/encode (3.30910.0)
+ - PromisesObjC (2.4.0)
+ - receive_sharing_intent (1.8.1):
+ - Flutter
+ - url_launcher_ios (0.0.1):
+ - Flutter
+
+DEPENDENCIES:
+ - firebase_core (from `.symlinks/plugins/firebase_core/ios`)
+ - firebase_messaging (from `.symlinks/plugins/firebase_messaging/ios`)
+ - Flutter (from `Flutter`)
+ - flutter_local_notifications (from `.symlinks/plugins/flutter_local_notifications/ios`)
+ - flutter_secure_storage (from `.symlinks/plugins/flutter_secure_storage/ios`)
+ - flutter_web_auth_2 (from `.symlinks/plugins/flutter_web_auth_2/ios`)
+ - image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`)
+ - local_auth_darwin (from `.symlinks/plugins/local_auth_darwin/darwin`)
+ - receive_sharing_intent (from `.symlinks/plugins/receive_sharing_intent/ios`)
+ - url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
+
+SPEC REPOS:
+ trunk:
+ - Firebase
+ - FirebaseCore
+ - FirebaseCoreInternal
+ - FirebaseInstallations
+ - FirebaseMessaging
+ - GoogleDataTransport
+ - GoogleUtilities
+ - nanopb
+ - PromisesObjC
+
+EXTERNAL SOURCES:
+ firebase_core:
+ :path: ".symlinks/plugins/firebase_core/ios"
+ firebase_messaging:
+ :path: ".symlinks/plugins/firebase_messaging/ios"
+ Flutter:
+ :path: Flutter
+ flutter_local_notifications:
+ :path: ".symlinks/plugins/flutter_local_notifications/ios"
+ flutter_secure_storage:
+ :path: ".symlinks/plugins/flutter_secure_storage/ios"
+ flutter_web_auth_2:
+ :path: ".symlinks/plugins/flutter_web_auth_2/ios"
+ image_picker_ios:
+ :path: ".symlinks/plugins/image_picker_ios/ios"
+ local_auth_darwin:
+ :path: ".symlinks/plugins/local_auth_darwin/darwin"
+ receive_sharing_intent:
+ :path: ".symlinks/plugins/receive_sharing_intent/ios"
+ url_launcher_ios:
+ :path: ".symlinks/plugins/url_launcher_ios/ios"
+
+SPEC CHECKSUMS:
+ Firebase: d99ac19b909cd2c548339c2241ecd0d1599ab02e
+ firebase_core: 995454a784ff288be5689b796deb9e9fa3601818
+ firebase_messaging: f4a41dd102ac18b840eba3f39d67e77922d3f707
+ FirebaseCore: efb3893e5b94f32b86e331e3bd6dadf18b66568e
+ FirebaseCoreInternal: 9afa45b1159304c963da48addb78275ef701c6b4
+ FirebaseInstallations: 317270fec08a5d418fdbc8429282238cab3ac843
+ FirebaseMessaging: 3b26e2cee503815e01c3701236b020aa9b576f09
+ Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467
+ flutter_local_notifications: 395056b3175ba4f08480a7c5de30cd36d69827e4
+ flutter_secure_storage: 1ed9476fba7e7a782b22888f956cce43e2c62f13
+ flutter_web_auth_2: 5c8d9dcd7848b5a9efb086d24e7a9adcae979c80
+ GoogleDataTransport: aae35b7ea0c09004c3797d53c8c41f66f219d6a7
+ GoogleUtilities: 00c88b9a86066ef77f0da2fab05f65d7768ed8e1
+ image_picker_ios: e0ece4aa2a75771a7de3fa735d26d90817041326
+ local_auth_darwin: c3ee6cce0a8d56be34c8ccb66ba31f7f180aaebb
+ nanopb: fad817b59e0457d11a5dfbde799381cd727c1275
+ PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47
+ receive_sharing_intent: 222384f00ffe7e952bbfabaa9e3967cb87e5fe00
+ url_launcher_ios: 7a95fa5b60cc718a708b8f2966718e93db0cef1b
+
+PODFILE CHECKSUM: 3c63482e143d1b91d2d2560aee9fb04ecc74ac7e
+
+COCOAPODS: 1.16.2
diff --git a/mobile/ios/Runner.xcodeproj/project.pbxproj b/mobile/ios/Runner.xcodeproj/project.pbxproj
new file mode 100644
index 00000000000..da9a06a41f9
--- /dev/null
+++ b/mobile/ios/Runner.xcodeproj/project.pbxproj
@@ -0,0 +1,753 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 54;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 02EBF737BD9C07C5C58BA836 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CF52B0027AA726F26D21C4F1 /* Pods_Runner.framework */; };
+ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
+ 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; };
+ 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
+ 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
+ 7884E8682EC3CC0700C636F2 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7884E8672EC3CC0400C636F2 /* SceneDelegate.swift */; };
+ 904ECCE8EFBB4A20358F7044 /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E2828119BC1A739D5FD85D90 /* Pods_RunnerTests.framework */; };
+ 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
+ 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
+ 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXContainerItemProxy section */
+ 331C8085294A63A400263BE5 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 97C146E61CF9000F007C117D /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = 97C146ED1CF9000F007C117D;
+ remoteInfo = Runner;
+ };
+/* End PBXContainerItemProxy section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "";
+ dstSubfolderSpec = 10;
+ files = (
+ );
+ name = "Embed Frameworks";
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
+ 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
+ 16932E4CE02F51CB1B63A4CC /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; };
+ 331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; };
+ 331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
+ 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
+ 4244867BA7BA79A78B01556A /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = ""; };
+ 4BAEF3BB85678CA724713894 /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = ""; };
+ 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
+ 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
+ 7884E8672EC3CC0400C636F2 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = ""; };
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
+ 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
+ 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
+ 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
+ 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
+ 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
+ 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
+ C4060AE74F6E64C448804E30 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; };
+ C576CD172C0B9E1FAEE79D85 /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = ""; };
+ C851D6BF1E9718C0E65BA186 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; };
+ CF52B0027AA726F26D21C4F1 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+ E2828119BC1A739D5FD85D90 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 38922CAFE86D830AD65A4D0C /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 904ECCE8EFBB4A20358F7044 /* Pods_RunnerTests.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 97C146EB1CF9000F007C117D /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 02EBF737BD9C07C5C58BA836 /* Pods_Runner.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 331C8082294A63A400263BE5 /* RunnerTests */ = {
+ isa = PBXGroup;
+ children = (
+ 331C807B294A618700263BE5 /* RunnerTests.swift */,
+ );
+ path = RunnerTests;
+ sourceTree = "";
+ };
+ 3EC5A08E9832251486928AAA /* Pods */ = {
+ isa = PBXGroup;
+ children = (
+ C4060AE74F6E64C448804E30 /* Pods-Runner.debug.xcconfig */,
+ C851D6BF1E9718C0E65BA186 /* Pods-Runner.release.xcconfig */,
+ 16932E4CE02F51CB1B63A4CC /* Pods-Runner.profile.xcconfig */,
+ 4BAEF3BB85678CA724713894 /* Pods-RunnerTests.debug.xcconfig */,
+ C576CD172C0B9E1FAEE79D85 /* Pods-RunnerTests.release.xcconfig */,
+ 4244867BA7BA79A78B01556A /* Pods-RunnerTests.profile.xcconfig */,
+ );
+ name = Pods;
+ path = Pods;
+ sourceTree = "";
+ };
+ 9740EEB11CF90186004384FC /* Flutter */ = {
+ isa = PBXGroup;
+ children = (
+ 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
+ 9740EEB21CF90195004384FC /* Debug.xcconfig */,
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
+ 9740EEB31CF90195004384FC /* Generated.xcconfig */,
+ );
+ name = Flutter;
+ sourceTree = "";
+ };
+ 97C146E51CF9000F007C117D = {
+ isa = PBXGroup;
+ children = (
+ 9740EEB11CF90186004384FC /* Flutter */,
+ 97C146F01CF9000F007C117D /* Runner */,
+ 97C146EF1CF9000F007C117D /* Products */,
+ 331C8082294A63A400263BE5 /* RunnerTests */,
+ 3EC5A08E9832251486928AAA /* Pods */,
+ D1235411F8F59737ECC135B3 /* Frameworks */,
+ );
+ sourceTree = "";
+ };
+ 97C146EF1CF9000F007C117D /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 97C146EE1CF9000F007C117D /* Runner.app */,
+ 331C8081294A63A400263BE5 /* RunnerTests.xctest */,
+ );
+ name = Products;
+ sourceTree = "";
+ };
+ 97C146F01CF9000F007C117D /* Runner */ = {
+ isa = PBXGroup;
+ children = (
+ 97C146FA1CF9000F007C117D /* Main.storyboard */,
+ 97C146FD1CF9000F007C117D /* Assets.xcassets */,
+ 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
+ 97C147021CF9000F007C117D /* Info.plist */,
+ 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
+ 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
+ 74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
+ 7884E8672EC3CC0400C636F2 /* SceneDelegate.swift */,
+ 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
+ );
+ path = Runner;
+ sourceTree = "";
+ };
+ D1235411F8F59737ECC135B3 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ CF52B0027AA726F26D21C4F1 /* Pods_Runner.framework */,
+ E2828119BC1A739D5FD85D90 /* Pods_RunnerTests.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 331C8080294A63A400263BE5 /* RunnerTests */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */;
+ buildPhases = (
+ 581B2BE45F488A0629C4755D /* [CP] Check Pods Manifest.lock */,
+ 331C807D294A63A400263BE5 /* Sources */,
+ 331C807F294A63A400263BE5 /* Resources */,
+ 38922CAFE86D830AD65A4D0C /* Frameworks */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ 331C8086294A63A400263BE5 /* PBXTargetDependency */,
+ );
+ name = RunnerTests;
+ productName = RunnerTests;
+ productReference = 331C8081294A63A400263BE5 /* RunnerTests.xctest */;
+ productType = "com.apple.product-type.bundle.unit-test";
+ };
+ 97C146ED1CF9000F007C117D /* Runner */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
+ buildPhases = (
+ 0E8F992EDA1181CD3F00A0BD /* [CP] Check Pods Manifest.lock */,
+ 9740EEB61CF901F6004384FC /* Run Script */,
+ 97C146EA1CF9000F007C117D /* Sources */,
+ 97C146EB1CF9000F007C117D /* Frameworks */,
+ 97C146EC1CF9000F007C117D /* Resources */,
+ 9705A1C41CF9048500538489 /* Embed Frameworks */,
+ 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
+ 5CC9519BF948157B1836CDD3 /* [CP] Embed Pods Frameworks */,
+ 131BBF5164922CF7E53EBB6D /* [CP] Copy Pods Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = Runner;
+ productName = Runner;
+ productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 97C146E61CF9000F007C117D /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ BuildIndependentTargetsInParallel = YES;
+ LastUpgradeCheck = 1510;
+ ORGANIZATIONNAME = "";
+ TargetAttributes = {
+ 331C8080294A63A400263BE5 = {
+ CreatedOnToolsVersion = 14.0;
+ TestTargetID = 97C146ED1CF9000F007C117D;
+ };
+ 97C146ED1CF9000F007C117D = {
+ CreatedOnToolsVersion = 7.3.1;
+ LastSwiftMigration = 1100;
+ };
+ };
+ };
+ buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
+ compatibilityVersion = "Xcode 9.3";
+ developmentRegion = en;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ Base,
+ );
+ mainGroup = 97C146E51CF9000F007C117D;
+ productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 97C146ED1CF9000F007C117D /* Runner */,
+ 331C8080294A63A400263BE5 /* RunnerTests */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 331C807F294A63A400263BE5 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 97C146EC1CF9000F007C117D /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
+ 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
+ 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
+ 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ 0E8F992EDA1181CD3F00A0BD /* [CP] Check Pods Manifest.lock */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ );
+ inputPaths = (
+ "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
+ "${PODS_ROOT}/Manifest.lock",
+ );
+ name = "[CP] Check Pods Manifest.lock";
+ outputFileListPaths = (
+ );
+ outputPaths = (
+ "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
+ showEnvVarsInLog = 0;
+ };
+ 131BBF5164922CF7E53EBB6D /* [CP] Copy Pods Resources */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist",
+ );
+ name = "[CP] Copy Pods Resources";
+ outputFileListPaths = (
+ "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
+ showEnvVarsInLog = 0;
+ };
+ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
+ isa = PBXShellScriptBuildPhase;
+ alwaysOutOfDate = 1;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
+ );
+ name = "Thin Binary";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
+ };
+ 581B2BE45F488A0629C4755D /* [CP] Check Pods Manifest.lock */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ );
+ inputPaths = (
+ "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
+ "${PODS_ROOT}/Manifest.lock",
+ );
+ name = "[CP] Check Pods Manifest.lock";
+ outputFileListPaths = (
+ );
+ outputPaths = (
+ "$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
+ showEnvVarsInLog = 0;
+ };
+ 5CC9519BF948157B1836CDD3 /* [CP] Embed Pods Frameworks */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
+ );
+ name = "[CP] Embed Pods Frameworks";
+ outputFileListPaths = (
+ "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
+ showEnvVarsInLog = 0;
+ };
+ 9740EEB61CF901F6004384FC /* Run Script */ = {
+ isa = PBXShellScriptBuildPhase;
+ alwaysOutOfDate = 1;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Run Script";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 331C807D294A63A400263BE5 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 97C146EA1CF9000F007C117D /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
+ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
+ 7884E8682EC3CC0700C636F2 /* SceneDelegate.swift in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXTargetDependency section */
+ 331C8086294A63A400263BE5 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = 97C146ED1CF9000F007C117D /* Runner */;
+ targetProxy = 331C8085294A63A400263BE5 /* PBXContainerItemProxy */;
+ };
+/* End PBXTargetDependency section */
+
+/* Begin PBXVariantGroup section */
+ 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 97C146FB1CF9000F007C117D /* Base */,
+ );
+ name = Main.storyboard;
+ sourceTree = "";
+ };
+ 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 97C147001CF9000F007C117D /* Base */,
+ );
+ name = LaunchScreen.storyboard;
+ sourceTree = "";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ 249021D3217E4FDB00AE95B9 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_USER_SCRIPT_SANDBOXING = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 13.0;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = iphoneos;
+ SUPPORTED_PLATFORMS = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Profile;
+ };
+ 249021D4217E4FDB00AE95B9 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ DEVELOPMENT_TEAM = 6ZJTLNKLQR;
+ ENABLE_BITCODE = NO;
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = com.ledoweb.hulyMobile;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
+ SWIFT_VERSION = 5.0;
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Profile;
+ };
+ 331C8088294A63A400263BE5 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 4BAEF3BB85678CA724713894 /* Pods-RunnerTests.debug.xcconfig */;
+ buildSettings = {
+ BUNDLE_LOADER = "$(TEST_HOST)";
+ CODE_SIGN_STYLE = Automatic;
+ CURRENT_PROJECT_VERSION = 1;
+ GENERATE_INFOPLIST_FILE = YES;
+ MARKETING_VERSION = 1.0;
+ PRODUCT_BUNDLE_IDENTIFIER = com.ledoweb.hulyMobile.RunnerTests;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+ SWIFT_VERSION = 5.0;
+ TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
+ };
+ name = Debug;
+ };
+ 331C8089294A63A400263BE5 /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = C576CD172C0B9E1FAEE79D85 /* Pods-RunnerTests.release.xcconfig */;
+ buildSettings = {
+ BUNDLE_LOADER = "$(TEST_HOST)";
+ CODE_SIGN_STYLE = Automatic;
+ CURRENT_PROJECT_VERSION = 1;
+ GENERATE_INFOPLIST_FILE = YES;
+ MARKETING_VERSION = 1.0;
+ PRODUCT_BUNDLE_IDENTIFIER = com.ledoweb.hulyMobile.RunnerTests;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_VERSION = 5.0;
+ TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
+ };
+ name = Release;
+ };
+ 331C808A294A63A400263BE5 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 4244867BA7BA79A78B01556A /* Pods-RunnerTests.profile.xcconfig */;
+ buildSettings = {
+ BUNDLE_LOADER = "$(TEST_HOST)";
+ CODE_SIGN_STYLE = Automatic;
+ CURRENT_PROJECT_VERSION = 1;
+ GENERATE_INFOPLIST_FILE = YES;
+ MARKETING_VERSION = 1.0;
+ PRODUCT_BUNDLE_IDENTIFIER = com.ledoweb.hulyMobile.RunnerTests;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_VERSION = 5.0;
+ TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
+ };
+ name = Profile;
+ };
+ 97C147031CF9000F007C117D /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_TESTABILITY = YES;
+ ENABLE_USER_SCRIPT_SANDBOXING = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 13.0;
+ MTL_ENABLE_DEBUG_INFO = YES;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ };
+ name = Debug;
+ };
+ 97C147041CF9000F007C117D /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_USER_SCRIPT_SANDBOXING = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 13.0;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = iphoneos;
+ SUPPORTED_PLATFORMS = iphoneos;
+ SWIFT_COMPILATION_MODE = wholemodule;
+ SWIFT_OPTIMIZATION_LEVEL = "-O";
+ TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ 97C147061CF9000F007C117D /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ DEVELOPMENT_TEAM = 6ZJTLNKLQR;
+ ENABLE_BITCODE = NO;
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = com.ledoweb.hulyMobile;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+ SWIFT_VERSION = 5.0;
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Debug;
+ };
+ 97C147071CF9000F007C117D /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ DEVELOPMENT_TEAM = 6ZJTLNKLQR;
+ ENABLE_BITCODE = NO;
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = com.ledoweb.hulyMobile;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
+ SWIFT_VERSION = 5.0;
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 331C8088294A63A400263BE5 /* Debug */,
+ 331C8089294A63A400263BE5 /* Release */,
+ 331C808A294A63A400263BE5 /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 97C147031CF9000F007C117D /* Debug */,
+ 97C147041CF9000F007C117D /* Release */,
+ 249021D3217E4FDB00AE95B9 /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 97C147061CF9000F007C117D /* Debug */,
+ 97C147071CF9000F007C117D /* Release */,
+ 249021D4217E4FDB00AE95B9 /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 97C146E61CF9000F007C117D /* Project object */;
+}
diff --git a/mobile/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/mobile/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 00000000000..919434a6254
--- /dev/null
+++ b/mobile/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/mobile/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/mobile/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 00000000000..18d981003d6
--- /dev/null
+++ b/mobile/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/mobile/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/mobile/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
new file mode 100644
index 00000000000..f9b0d7c5ea1
--- /dev/null
+++ b/mobile/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
@@ -0,0 +1,8 @@
+
+
+
+
+ PreviewsEnabled
+
+
+
diff --git a/mobile/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/mobile/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
new file mode 100644
index 00000000000..e3773d42e24
--- /dev/null
+++ b/mobile/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
@@ -0,0 +1,101 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mobile/ios/Runner.xcworkspace/contents.xcworkspacedata b/mobile/ios/Runner.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 00000000000..21a3cc14c74
--- /dev/null
+++ b/mobile/ios/Runner.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
diff --git a/mobile/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/mobile/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 00000000000..18d981003d6
--- /dev/null
+++ b/mobile/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/mobile/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/mobile/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
new file mode 100644
index 00000000000..f9b0d7c5ea1
--- /dev/null
+++ b/mobile/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
@@ -0,0 +1,8 @@
+
+
+
+
+ PreviewsEnabled
+
+
+
diff --git a/mobile/ios/Runner/AppDelegate.swift b/mobile/ios/Runner/AppDelegate.swift
new file mode 100644
index 00000000000..b011acb55fc
--- /dev/null
+++ b/mobile/ios/Runner/AppDelegate.swift
@@ -0,0 +1,55 @@
+import Flutter
+import UIKit
+
+@main
+@objc class AppDelegate: FlutterAppDelegate, FlutterImplicitEngineDelegate {
+
+ private let appGroupId = "group.com.ledoweb.huly"
+
+ override func application(
+ _ application: UIApplication,
+ didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
+ ) -> Bool {
+ let result = super.application(application, didFinishLaunchingWithOptions: launchOptions)
+ setupShareChannel()
+ return result
+ }
+
+ func didInitializeImplicitFlutterEngine(_ engineBridge: FlutterImplicitEngineBridge) {
+ GeneratedPluginRegistrant.register(with: engineBridge.pluginRegistry)
+ }
+
+ private func setupShareChannel() {
+ guard let controller = window?.rootViewController as? FlutterViewController else {
+ return
+ }
+
+ let channel = FlutterMethodChannel(
+ name: "com.ledoweb.huly/share",
+ binaryMessenger: controller.binaryMessenger
+ )
+
+ channel.setMethodCallHandler { [weak self] (call, result) in
+ guard let self = self else {
+ result(FlutterMethodNotImplemented)
+ return
+ }
+
+ switch call.method {
+ case "getPendingShare":
+ let userDefaults = UserDefaults(suiteName: self.appGroupId)
+ let data = userDefaults?.string(forKey: "pendingShare")
+ result(data)
+
+ case "clearPendingShare":
+ let userDefaults = UserDefaults(suiteName: self.appGroupId)
+ userDefaults?.removeObject(forKey: "pendingShare")
+ userDefaults?.synchronize()
+ result(nil)
+
+ default:
+ result(FlutterMethodNotImplemented)
+ }
+ }
+ }
+}
diff --git a/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
new file mode 100644
index 00000000000..d36b1fab2d9
--- /dev/null
+++ b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,122 @@
+{
+ "images" : [
+ {
+ "size" : "20x20",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-20x20@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-20x20@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-29x29@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-29x29@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-29x29@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-40x40@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-40x40@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "60x60",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-60x60@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "60x60",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-60x60@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-20x20@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-20x20@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-29x29@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-29x29@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-40x40@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-40x40@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "76x76",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-76x76@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "76x76",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-76x76@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "83.5x83.5",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-83.5x83.5@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "1024x1024",
+ "idiom" : "ios-marketing",
+ "filename" : "Icon-App-1024x1024@1x.png",
+ "scale" : "1x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
diff --git a/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
new file mode 100644
index 00000000000..dc9ada4725e
Binary files /dev/null and b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png differ
diff --git a/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
new file mode 100644
index 00000000000..7353c41ecf9
Binary files /dev/null and b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png differ
diff --git a/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
new file mode 100644
index 00000000000..797d452e458
Binary files /dev/null and b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png differ
diff --git a/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
new file mode 100644
index 00000000000..6ed2d933e11
Binary files /dev/null and b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png differ
diff --git a/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
new file mode 100644
index 00000000000..4cd7b0099ca
Binary files /dev/null and b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png differ
diff --git a/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
new file mode 100644
index 00000000000..fe730945a01
Binary files /dev/null and b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png differ
diff --git a/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
new file mode 100644
index 00000000000..321773cd857
Binary files /dev/null and b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png differ
diff --git a/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
new file mode 100644
index 00000000000..797d452e458
Binary files /dev/null and b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png differ
diff --git a/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
new file mode 100644
index 00000000000..502f463a9bc
Binary files /dev/null and b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png differ
diff --git a/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
new file mode 100644
index 00000000000..0ec30343922
Binary files /dev/null and b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png differ
diff --git a/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
new file mode 100644
index 00000000000..0ec30343922
Binary files /dev/null and b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png differ
diff --git a/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
new file mode 100644
index 00000000000..e9f5fea27c7
Binary files /dev/null and b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png differ
diff --git a/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
new file mode 100644
index 00000000000..84ac32ae7d9
Binary files /dev/null and b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png differ
diff --git a/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
new file mode 100644
index 00000000000..8953cba0906
Binary files /dev/null and b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png differ
diff --git a/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
new file mode 100644
index 00000000000..0467bf12aa4
Binary files /dev/null and b/mobile/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png differ
diff --git a/mobile/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/mobile/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
new file mode 100644
index 00000000000..0bedcf2fd46
--- /dev/null
+++ b/mobile/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
@@ -0,0 +1,23 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchImage.png",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchImage@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchImage@3x.png",
+ "scale" : "3x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
diff --git a/mobile/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/mobile/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
new file mode 100644
index 00000000000..9da19eacad3
Binary files /dev/null and b/mobile/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png differ
diff --git a/mobile/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/mobile/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
new file mode 100644
index 00000000000..9da19eacad3
Binary files /dev/null and b/mobile/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png differ
diff --git a/mobile/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/mobile/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
new file mode 100644
index 00000000000..9da19eacad3
Binary files /dev/null and b/mobile/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png differ
diff --git a/mobile/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/mobile/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
new file mode 100644
index 00000000000..89c2725b70f
--- /dev/null
+++ b/mobile/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
@@ -0,0 +1,5 @@
+# Launch Screen Assets
+
+You can customize the launch screen with your own desired assets by replacing the image files in this directory.
+
+You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
\ No newline at end of file
diff --git a/mobile/ios/Runner/Base.lproj/LaunchScreen.storyboard b/mobile/ios/Runner/Base.lproj/LaunchScreen.storyboard
new file mode 100644
index 00000000000..f2e259c7c93
--- /dev/null
+++ b/mobile/ios/Runner/Base.lproj/LaunchScreen.storyboard
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mobile/ios/Runner/Base.lproj/Main.storyboard b/mobile/ios/Runner/Base.lproj/Main.storyboard
new file mode 100644
index 00000000000..f3c28516fb3
--- /dev/null
+++ b/mobile/ios/Runner/Base.lproj/Main.storyboard
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mobile/ios/Runner/Info.plist b/mobile/ios/Runner/Info.plist
new file mode 100644
index 00000000000..fc7eacc184e
--- /dev/null
+++ b/mobile/ios/Runner/Info.plist
@@ -0,0 +1,83 @@
+
+
+
+
+ CADisableMinimumFrameDurationOnPhone
+
+ CFBundleDevelopmentRegion
+ $(DEVELOPMENT_LANGUAGE)
+ CFBundleDisplayName
+ Huly Mobile
+ CFBundleExecutable
+ $(EXECUTABLE_NAME)
+ CFBundleIdentifier
+ $(PRODUCT_BUNDLE_IDENTIFIER)
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ huly_mobile
+ CFBundlePackageType
+ APPL
+ CFBundleShortVersionString
+ $(FLUTTER_BUILD_NAME)
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ $(FLUTTER_BUILD_NUMBER)
+ CFBundleURLTypes
+
+
+ CFBundleTypeRole
+ Editor
+ CFBundleURLName
+ com.ledoweb.huly
+ CFBundleURLSchemes
+
+ huly
+
+
+
+ LSRequiresIPhoneOS
+
+ UIApplicationSceneManifest
+
+ UIApplicationSupportsMultipleScenes
+
+ UISceneConfigurations
+
+ UIWindowSceneSessionRoleApplication
+
+
+ UISceneClassName
+ UIWindowScene
+ UISceneConfigurationName
+ flutter
+ UISceneDelegateClassName
+ $(PRODUCT_MODULE_NAME).SceneDelegate
+ UISceneStoryboardFile
+ Main
+
+
+
+
+ UIApplicationSupportsIndirectInputEvents
+
+ UILaunchStoryboardName
+ LaunchScreen
+ UIMainStoryboardFile
+ Main
+ UISupportedInterfaceOrientations
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UISupportedInterfaceOrientations~ipad
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationPortraitUpsideDown
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+
+
diff --git a/mobile/ios/Runner/Runner-Bridging-Header.h b/mobile/ios/Runner/Runner-Bridging-Header.h
new file mode 100644
index 00000000000..308a2a560b4
--- /dev/null
+++ b/mobile/ios/Runner/Runner-Bridging-Header.h
@@ -0,0 +1 @@
+#import "GeneratedPluginRegistrant.h"
diff --git a/mobile/ios/Runner/SceneDelegate.swift b/mobile/ios/Runner/SceneDelegate.swift
new file mode 100644
index 00000000000..b9ce8ea2b2a
--- /dev/null
+++ b/mobile/ios/Runner/SceneDelegate.swift
@@ -0,0 +1,6 @@
+import Flutter
+import UIKit
+
+class SceneDelegate: FlutterSceneDelegate {
+
+}
diff --git a/mobile/ios/RunnerTests/RunnerTests.swift b/mobile/ios/RunnerTests/RunnerTests.swift
new file mode 100644
index 00000000000..86a7c3b1b61
--- /dev/null
+++ b/mobile/ios/RunnerTests/RunnerTests.swift
@@ -0,0 +1,12 @@
+import Flutter
+import UIKit
+import XCTest
+
+class RunnerTests: XCTestCase {
+
+ func testExample() {
+ // If you add code to the Runner application, consider adding tests here.
+ // See https://developer.apple.com/documentation/xctest for more information about using XCTest.
+ }
+
+}
diff --git a/mobile/ios/ShareExtension/Info.plist b/mobile/ios/ShareExtension/Info.plist
new file mode 100644
index 00000000000..2986a2d69fb
--- /dev/null
+++ b/mobile/ios/ShareExtension/Info.plist
@@ -0,0 +1,41 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ $(DEVELOPMENT_LANGUAGE)
+ CFBundleDisplayName
+ Huly
+ CFBundleExecutable
+ $(EXECUTABLE_NAME)
+ CFBundleIdentifier
+ $(PRODUCT_BUNDLE_IDENTIFIER)
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ $(PRODUCT_NAME)
+ CFBundlePackageType
+ $(PRODUCT_BUNDLE_PACKAGE_TYPE)
+ CFBundleShortVersionString
+ $(MARKETING_VERSION)
+ CFBundleVersion
+ $(CURRENT_PROJECT_VERSION)
+ NSExtension
+
+ NSExtensionAttributes
+
+ NSExtensionActivationRule
+
+ NSExtensionActivationSupportsText
+
+ NSExtensionActivationSupportsWebURLWithMaxCount
+ 1
+
+
+ NSExtensionPointIdentifier
+ com.apple.share-services
+ NSExtensionPrincipalClass
+ ShareExtension.ShareViewController
+
+
+
diff --git a/mobile/ios/ShareExtension/ShareViewController.swift b/mobile/ios/ShareExtension/ShareViewController.swift
new file mode 100644
index 00000000000..67685c7a16b
--- /dev/null
+++ b/mobile/ios/ShareExtension/ShareViewController.swift
@@ -0,0 +1,106 @@
+import UIKit
+import Social
+import MobileCoreServices
+import UniformTypeIdentifiers
+
+class ShareViewController: SLComposeServiceViewController {
+
+ private let appGroupId = "group.com.ledoweb.huly"
+
+ override func isContentValid() -> Bool {
+ return true
+ }
+
+ override func didSelectPost() {
+ guard let extensionItems = extensionContext?.inputItems as? [NSExtensionItem] else {
+ extensionContext?.completeRequest(returningItems: nil, completionHandler: nil)
+ return
+ }
+
+ var sharedText: String?
+ var sharedURL: String?
+ let group = DispatchGroup()
+
+ for item in extensionItems {
+ guard let attachments = item.attachments else { continue }
+
+ for attachment in attachments {
+ if attachment.hasItemConformingToTypeIdentifier(UTType.url.identifier) {
+ group.enter()
+ attachment.loadItem(forTypeIdentifier: UTType.url.identifier, options: nil) { data, _ in
+ if let url = data as? URL {
+ sharedURL = url.absoluteString
+ }
+ group.leave()
+ }
+ }
+
+ if attachment.hasItemConformingToTypeIdentifier(UTType.plainText.identifier) {
+ group.enter()
+ attachment.loadItem(forTypeIdentifier: UTType.plainText.identifier, options: nil) { data, _ in
+ if let text = data as? String {
+ sharedText = text
+ }
+ group.leave()
+ }
+ }
+ }
+ }
+
+ group.notify(queue: .main) { [weak self] in
+ self?.saveAndOpenApp(text: sharedText, url: sharedURL)
+ }
+ }
+
+ private func saveAndOpenApp(text: String?, url: String?) {
+ guard let userDefaults = UserDefaults(suiteName: appGroupId) else {
+ extensionContext?.completeRequest(returningItems: nil, completionHandler: nil)
+ return
+ }
+
+ let shareData: [String: Any?] = [
+ "text": text,
+ "url": url,
+ "timestamp": Date().timeIntervalSince1970,
+ ]
+
+ if let jsonData = try? JSONSerialization.data(withJSONObject: shareData.compactMapValues { $0 }),
+ let jsonString = String(data: jsonData, encoding: .utf8) {
+ userDefaults.set(jsonString, forKey: "pendingShare")
+ userDefaults.synchronize()
+ }
+
+ // Open the main app via URL scheme.
+ if let appURL = URL(string: "huly://share") {
+ openURL(appURL)
+ }
+
+ extensionContext?.completeRequest(returningItems: nil, completionHandler: nil)
+ }
+
+ // Open URL from extension context (uses responder chain).
+ @objc private func openURL(_ url: URL) {
+ var responder: UIResponder? = self
+ while responder != nil {
+ if let application = responder as? UIApplication {
+ application.open(url, options: [:], completionHandler: nil)
+ return
+ }
+ responder = responder?.next
+ }
+ // Fallback: use selector-based approach.
+ let selector = sel_registerName("openURL:")
+ var nextResponder: UIResponder? = self
+ while let r = nextResponder {
+ if r.responds(to: selector) {
+ r.perform(selector, with: url)
+ return
+ }
+ nextResponder = r.next
+ }
+ }
+
+ override func configurationItems() -> [Any]! {
+ return []
+ }
+}
diff --git a/mobile/lib/app.dart b/mobile/lib/app.dart
new file mode 100644
index 00000000000..51a82a1a969
--- /dev/null
+++ b/mobile/lib/app.dart
@@ -0,0 +1,191 @@
+import 'package:flutter/material.dart';
+import 'package:flutter_riverpod/flutter_riverpod.dart';
+import 'package:go_router/go_router.dart';
+import 'core/theme/huly_theme.dart';
+import 'features/auth/auth_provider.dart';
+import 'features/auth/lock_screen.dart';
+import 'features/auth/login_screen.dart';
+import 'features/auth/server_url_screen.dart';
+import 'features/auth/tfa_screen.dart';
+import 'features/auth/workspace_screen.dart';
+import 'core/api/realtime_provider.dart';
+import 'features/chat/channel_list_screen.dart';
+import 'features/chat/message_thread_screen.dart';
+import 'features/create_issue/create_issue_screen.dart';
+import 'features/issues/issue_detail_screen.dart';
+import 'features/issues/issue_list_screen.dart';
+import 'features/settings/settings_screen.dart';
+
+final _routerProvider = Provider((ref) {
+ final auth = ref.watch(authProvider);
+
+ return GoRouter(
+ initialLocation: '/',
+ redirect: (context, state) {
+ final path = state.uri.path;
+
+ // No server URL set yet → server URL screen.
+ if (auth.serverUrl == null || auth.accountsUrl == null) {
+ return path == '/server' ? null : '/server';
+ }
+
+ // Not logged in → login screen.
+ if (auth.status == AuthStatus.unauthenticated) {
+ return path == '/login' ? null : '/login';
+ }
+
+ // OTP pending → stay on login (OTP entry shown there).
+ if (auth.status == AuthStatus.otpPending) {
+ return path == '/login' ? null : '/login';
+ }
+
+ // 2FA pending → TFA screen.
+ if (auth.status == AuthStatus.tfaPending) {
+ return path == '/tfa' ? null : '/tfa';
+ }
+
+ // Logged in but no workspace → workspace selection.
+ if (auth.status == AuthStatus.loggedIn) {
+ return path == '/workspace' ? null : '/workspace';
+ }
+
+ // Locked → biometric unlock screen.
+ if (auth.status == AuthStatus.locked) {
+ return path == '/locked' ? null : '/locked';
+ }
+
+ // Workspace selected — allow any route; redirect root to /issues.
+ if (path == '/server' ||
+ path == '/login' ||
+ path == '/tfa' ||
+ path == '/workspace' ||
+ path == '/locked') {
+ return '/issues';
+ }
+ if (path == '/') return '/issues';
+
+ return null;
+ },
+ routes: [
+ GoRoute(path: '/server', builder: (_, __) => const ServerUrlScreen()),
+ GoRoute(path: '/login', builder: (_, __) => const LoginScreen()),
+ GoRoute(path: '/tfa', builder: (_, __) => const TfaScreen()),
+ GoRoute(path: '/workspace', builder: (_, __) => const WorkspaceScreen()),
+ GoRoute(path: '/locked', builder: (_, __) => const LockScreen()),
+ ShellRoute(
+ builder: (context, state, child) => _MainShell(child: child),
+ routes: [
+ GoRoute(
+ path: '/issues', builder: (_, __) => const IssueListScreen()),
+ GoRoute(
+ path: '/chat', builder: (_, __) => const ChannelListScreen()),
+ GoRoute(
+ path: '/settings', builder: (_, __) => const SettingsScreen()),
+ ],
+ ),
+ GoRoute(
+ path: '/chat/:id',
+ builder: (_, state) => MessageThreadScreen(
+ channelId: state.pathParameters['id']!,
+ channelName: state.uri.queryParameters['name'],
+ ),
+ ),
+ GoRoute(
+ path: '/issue/:id',
+ builder: (_, state) =>
+ IssueDetailScreen(issueId: state.pathParameters['id']!),
+ ),
+ GoRoute(
+ path: '/create',
+ builder: (_, state) {
+ final extra = state.extra as Map?;
+ return CreateIssueScreen(
+ initialTitle: extra?['title'],
+ initialDescription: extra?['description'],
+ );
+ },
+ ),
+ ],
+ );
+});
+
+class _MainShell extends ConsumerStatefulWidget {
+ final Widget child;
+ const _MainShell({required this.child});
+
+ @override
+ ConsumerState<_MainShell> createState() => _MainShellState();
+}
+
+class _MainShellState extends ConsumerState<_MainShell> {
+ bool _realtimeStarted = false;
+
+ @override
+ Widget build(BuildContext context) {
+ // Start WebSocket listener once.
+ if (!_realtimeStarted) {
+ _realtimeStarted = true;
+ startRealtimeListener(ref);
+ }
+
+ final location = GoRouterState.of(context).uri.path;
+ int index = 0;
+ if (location.startsWith('/chat')) {
+ index = 1;
+ } else if (location.startsWith('/settings')) {
+ index = 2;
+ }
+
+ return Scaffold(
+ body: widget.child,
+ bottomNavigationBar: NavigationBar(
+ backgroundColor: HulyColors.header,
+ indicatorColor: HulyColors.primaryButton.withValues(alpha: 0.2),
+ selectedIndex: index,
+ onDestinationSelected: (i) {
+ switch (i) {
+ case 0:
+ context.go('/issues');
+ case 1:
+ context.go('/chat');
+ case 2:
+ context.go('/settings');
+ }
+ },
+ destinations: const [
+ NavigationDestination(
+ icon: Icon(Icons.task_outlined),
+ selectedIcon: Icon(Icons.task),
+ label: 'Issues',
+ ),
+ NavigationDestination(
+ icon: Icon(Icons.chat_bubble_outline),
+ selectedIcon: Icon(Icons.chat_bubble),
+ label: 'Chat',
+ ),
+ NavigationDestination(
+ icon: Icon(Icons.settings_outlined),
+ selectedIcon: Icon(Icons.settings),
+ label: 'Settings',
+ ),
+ ],
+ ),
+ );
+ }
+}
+
+class HulyApp extends ConsumerWidget {
+ const HulyApp({super.key});
+
+ @override
+ Widget build(BuildContext context, WidgetRef ref) {
+ final router = ref.watch(_routerProvider);
+
+ return MaterialApp.router(
+ title: 'Huly',
+ debugShowCheckedModeBanner: false,
+ theme: hulyDarkTheme,
+ routerConfig: router,
+ );
+ }
+}
diff --git a/mobile/lib/core/api/account_client.dart b/mobile/lib/core/api/account_client.dart
new file mode 100644
index 00000000000..6967db825a6
--- /dev/null
+++ b/mobile/lib/core/api/account_client.dart
@@ -0,0 +1,146 @@
+import 'package:dio/dio.dart';
+import '../models/login_info.dart';
+
+/// JSON-RPC client for the Huly accounts endpoint.
+class AccountClient {
+ final Dio _dio;
+ final String accountsUrl;
+ String? _token;
+
+ AccountClient({required this.accountsUrl, Dio? dio})
+ : _dio = dio ?? Dio();
+
+ void setToken(String token) {
+ _token = token;
+ }
+
+ /// Low-level JSON-RPC call to the accounts endpoint.
+ Future _rpc(String method, List params) async {
+ final headers = {
+ 'Content-Type': 'application/json',
+ };
+ if (_token != null) {
+ headers['Authorization'] = 'Bearer $_token';
+ }
+
+ final response = await _dio.post(
+ accountsUrl,
+ data: {
+ 'method': method,
+ 'params': params,
+ },
+ options: Options(headers: headers),
+ );
+
+ final body = response.data;
+ if (body is Map && body.containsKey('error')) {
+ throw AccountRpcError(
+ code: body['error']['code'] ?? -1,
+ message: body['error']['message'] ?? 'Unknown error',
+ );
+ }
+ return body['result'];
+ }
+
+ /// Fetch the accounts URL from the instance's config.json.
+ static Future getAccountsUrl(String serverUrl, {Dio? dio}) async {
+ final client = dio ?? Dio();
+ final url = serverUrl.endsWith('/')
+ ? '${serverUrl}config.json'
+ : '$serverUrl/config.json';
+ final response = await client.get(url);
+ final config = response.data;
+ if (config is Map && config.containsKey('ACCOUNTS_URL')) {
+ return config['ACCOUNTS_URL'] as String;
+ }
+ throw Exception('ACCOUNTS_URL not found in config.json');
+ }
+
+ /// Login with email and password.
+ Future login(String email, String password) async {
+ final result = await _rpc('login', [email, password, false]);
+ final loginInfo = LoginInfo.fromJson(result as Map);
+ _token = loginInfo.token;
+ return loginInfo;
+ }
+
+ /// Request an OTP code sent to the given email.
+ Future loginOtp(String email) async {
+ final result = await _rpc('loginOtp', [email]);
+ return OtpInfo.fromJson(result as Map);
+ }
+
+ /// Validate an OTP code and get a login token.
+ Future validateOtp(String email, String code) async {
+ final result = await _rpc('validateOtp', [email, code]);
+ final loginInfo = LoginInfo.fromJson(result as Map);
+ _token = loginInfo.token;
+ return loginInfo;
+ }
+
+ /// Verify a 2FA/TOTP code using the partial token from login.
+ /// Returns a full LoginInfo with a valid token.
+ Future verify2fa(String partialToken, String code) async {
+ final savedToken = _token;
+ _token = partialToken;
+ try {
+ final result = await _rpc('verify2fa', [
+ partialToken,
+ {'code': code},
+ ]);
+ final loginInfo = LoginInfo.fromJson(result as Map);
+ _token = loginInfo.token;
+ return loginInfo;
+ } catch (e) {
+ _token = savedToken;
+ rethrow;
+ }
+ }
+
+ /// Get available OAuth providers (Google, GitHub, etc.)
+ /// This is a REST GET endpoint, not an RPC call.
+ Future> getProviders() async {
+ try {
+ final url = accountsUrl.endsWith('/')
+ ? '${accountsUrl}providers'
+ : '$accountsUrl/providers';
+ final response = await _dio.get(url);
+ final data = response.data;
+ if (data is List) {
+ return data
+ .map((e) => ProviderInfo(
+ id: (e is Map ? e['name'] : e).toString(),
+ name: (e is Map ? e['name'] : e).toString(),
+ ))
+ .toList();
+ }
+ } catch (_) {
+ // Instance may not have providers configured.
+ }
+ return [];
+ }
+
+ /// Get workspaces for the logged-in user.
+ Future> getUserWorkspaces() async {
+ final result = await _rpc('getUserWorkspaces', []);
+ return (result as List)
+ .map((e) => WorkspaceInfo.fromJson(e as Map))
+ .toList();
+ }
+
+ /// Select a workspace and get connection info.
+ Future selectWorkspace(String workspaceUrl) async {
+ final result = await _rpc('selectWorkspace', [workspaceUrl, 'external']);
+ return WorkspaceLoginInfo.fromJson(result as Map);
+ }
+}
+
+class AccountRpcError implements Exception {
+ final int code;
+ final String message;
+
+ AccountRpcError({required this.code, required this.message});
+
+ @override
+ String toString() => 'AccountRpcError($code): $message';
+}
diff --git a/mobile/lib/core/api/realtime_provider.dart b/mobile/lib/core/api/realtime_provider.dart
new file mode 100644
index 00000000000..a8ef1adf678
--- /dev/null
+++ b/mobile/lib/core/api/realtime_provider.dart
@@ -0,0 +1,67 @@
+import 'package:flutter_riverpod/flutter_riverpod.dart';
+import '../../features/auth/auth_provider.dart';
+import '../../services/push_notification_service.dart';
+import 'websocket_client.dart';
+
+/// Provides a connected WebSocket client when a workspace is selected.
+final wsClientProvider = Provider((ref) {
+ final auth = ref.watch(authProvider);
+ final ws = auth.workspaceLogin;
+ if (ws == null || auth.status != AuthStatus.workspaceSelected) return null;
+
+ final client = HulyWebSocketClient(
+ endpoint: ws.endpoint,
+ token: ws.token,
+ );
+
+ client.connect().then((_) {}).catchError((_) {});
+ ref.onDispose(() => client.close());
+
+ return client;
+});
+
+/// Increments whenever a Tx event is received via WebSocket.
+/// Providers can watch this to auto-refresh when data changes.
+final dataVersionProvider = StateProvider((ref) => 0);
+
+/// Push notification service singleton.
+final pushServiceProvider = Provider((ref) {
+ return PushNotificationService();
+});
+
+/// Starts listening for Tx events and bumps dataVersionProvider.
+/// Call this once from your root widget.
+void startRealtimeListener(dynamic ref) {
+ final HulyWebSocketClient? client;
+ final StateController notifier;
+
+ if (ref is WidgetRef) {
+ client = ref.read(wsClientProvider);
+ notifier = ref.read(dataVersionProvider.notifier);
+ } else {
+ return;
+ }
+
+ if (client == null) return;
+
+ client.txStream.listen((_) {
+ notifier.state++;
+ });
+
+ // Register push notifications with workspace.
+ _initPush(ref);
+}
+
+void _initPush(dynamic ref) async {
+ if (ref is! WidgetRef) return;
+ try {
+ final push = ref.read(pushServiceProvider);
+ await push.initialize();
+ final restClient = ref.read(restClientProvider);
+ if (restClient != null) {
+ await push.registerWithWorkspace(restClient);
+ }
+ } catch (_) {
+ // Firebase not configured — push disabled.
+ }
+}
diff --git a/mobile/lib/core/api/rest_client.dart b/mobile/lib/core/api/rest_client.dart
new file mode 100644
index 00000000000..3ccb9d644f6
--- /dev/null
+++ b/mobile/lib/core/api/rest_client.dart
@@ -0,0 +1,118 @@
+import 'dart:convert';
+import 'package:dio/dio.dart';
+
+/// REST client for the Huly transactor API (/api/v1/*).
+class HulyRestClient {
+ final Dio _dio;
+ final String baseUrl;
+ final String workspaceId;
+ final String token;
+
+ HulyRestClient({
+ required String endpoint,
+ required this.workspaceId,
+ required this.token,
+ Dio? dio,
+ }) : baseUrl = endpoint
+ .replaceFirst('ws://', 'http://')
+ .replaceFirst('wss://', 'https://'),
+ _dio = dio ?? Dio() {
+ _dio.options.headers['Authorization'] = 'Bearer $token';
+ _dio.options.headers['Content-Type'] = 'application/json';
+ }
+
+ String _apiPath(String path) => '$baseUrl/api/v1/$path/$workspaceId';
+
+ /// Query documents by class with optional query and options.
+ Future>> findAll(
+ String className, {
+ Map? query,
+ Map? options,
+ }) async {
+ final params = {
+ 'class': className,
+ };
+ if (query != null) {
+ params['query'] = jsonEncode(query);
+ }
+ if (options != null) {
+ params['options'] = jsonEncode(options);
+ }
+
+ final response = await _dio.get(
+ _apiPath('find-all'),
+ queryParameters: params,
+ );
+
+ _checkRateLimit(response);
+
+ final data = response.data;
+ if (data is List) {
+ return data.cast