commit 823a1631236ef880b6a1039108aacaeca2912b48 Author: Janez T Date: Mon Oct 13 22:28:20 2025 +0200 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3820a95 --- /dev/null +++ b/.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/.metadata b/.metadata new file mode 100644 index 0000000..70a7d44 --- /dev/null +++ b/.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: "9f455d2486bcb28cad87b062475f42edc959f636" + channel: "stable" + +project_type: app + +# Tracks metadata for the flutter migrate command +migration: + platforms: + - platform: root + create_revision: 9f455d2486bcb28cad87b062475f42edc959f636 + base_revision: 9f455d2486bcb28cad87b062475f42edc959f636 + - platform: android + create_revision: 9f455d2486bcb28cad87b062475f42edc959f636 + base_revision: 9f455d2486bcb28cad87b062475f42edc959f636 + - platform: ios + create_revision: 9f455d2486bcb28cad87b062475f42edc959f636 + base_revision: 9f455d2486bcb28cad87b062475f42edc959f636 + - platform: linux + create_revision: 9f455d2486bcb28cad87b062475f42edc959f636 + base_revision: 9f455d2486bcb28cad87b062475f42edc959f636 + - platform: macos + create_revision: 9f455d2486bcb28cad87b062475f42edc959f636 + base_revision: 9f455d2486bcb28cad87b062475f42edc959f636 + - platform: web + create_revision: 9f455d2486bcb28cad87b062475f42edc959f636 + base_revision: 9f455d2486bcb28cad87b062475f42edc959f636 + - platform: windows + create_revision: 9f455d2486bcb28cad87b062475f42edc959f636 + base_revision: 9f455d2486bcb28cad87b062475f42edc959f636 + + # 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/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..9fa1a12 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,749 @@ +# CLAUDE.md - MeshCore SAR App Technical Reference + +This document provides technical details for AI assistants (like Claude) working with this codebase. + +## Project Overview + +**Type**: Flutter Mobile Application +**Purpose**: Search and Rescue (SAR) operations with MeshCore mesh network devices +**Architecture**: Provider-based state management with BLE communication +**Target Platforms**: iOS 13+, Android 5.0+ (API 21+) + +## Project Structure + +``` +lib/ +├── models/ # Data models +│ ├── contact.dart # Contact with telemetry +│ ├── contact_telemetry.dart # GPS, battery, temperature +│ ├── message.dart # Messages and SAR markers +│ ├── sar_marker.dart # SAR tactical markers +│ ├── device_info.dart # BLE device connection state +│ └── map_layer.dart # Map tile layer definitions +├── services/ # Business logic services +│ ├── meshcore_ble_service.dart # BLE communication +│ ├── meshcore_constants.dart # Protocol constants +│ ├── buffer_reader.dart # Binary protocol reader +│ ├── buffer_writer.dart # Binary protocol writer +│ ├── cayenne_lpp_parser.dart # Telemetry decoder +│ └── tile_cache_service.dart # Offline map tiles +├── providers/ # State management +│ ├── connection_provider.dart # BLE connection state +│ ├── contacts_provider.dart # Contact list management +│ ├── messages_provider.dart # Message history + SAR markers +│ ├── map_provider.dart # Map navigation state +│ └── app_provider.dart # Coordinator provider +├── screens/ # UI screens +│ ├── home_screen.dart # Main screen with tabs +│ ├── messages_tab.dart # Message list view +│ ├── contacts_tab.dart # Contact list view +│ └── map_tab.dart # Interactive map view +├── widgets/ # Reusable UI components +│ └── map_markers.dart # Custom map marker widgets +├── utils/ # Utilities +│ └── sar_message_parser.dart # Parse S::lat,lon format +└── main.dart # App entry point +``` + +## Key Technologies + +### Core Dependencies +- **flutter_blue_plus** (^2.0.0): BLE communication +- **flutter_map** (^8.2.2): Interactive mapping with OpenStreetMap +- **flutter_map_tile_caching** (^10.1.1): Offline map tile storage +- **provider** (^6.1.0): State management +- **latlong2** (^0.9.0): GPS coordinate handling +- **geolocator** (^14.0.2): Precise GPS location tracking +- **permission_handler** (^12.0.1): Runtime permissions + +### MeshCore Protocol + +The app implements the MeshCore BLE protocol based on https://github.com/meshcore-dev/meshcore.js + +**BLE Service**: `6E400001-B5A3-F393-E0A9-E50E24DCCA9E` +**RX Characteristic** (write): `6E400002-B5A3-F393-E0A9-E50E24DCCA9E` +**TX Characteristic** (notify): `6E400003-B5A3-F393-E0A9-E50E24DCCA9E` + +#### Command Codes (Client → Device) +- `4`: Get contacts list +- `2`: Send text message +- `39`: Request telemetry + +#### Response Codes (Device → Client) +- `3`: Contact information +- `7`: Message received +- `0x8B` (139): Telemetry response (Cayenne LPP format) + +#### Binary Protocol Format + +All protocol messages use little-endian byte order. + +**Get Contacts Request**: +``` +[0x04] - Command code +``` + +**Contact Response**: +``` +[0x03] - Response code +[32 bytes] - Public key +[1 byte] - Contact type (0=none, 1=chat, 2=repeater, 3=room) +[64 bytes] - Advertised name (null-terminated string) +[4 bytes] - Latitude (int32, divide by 10000 for degrees) +[4 bytes] - Longitude (int32, divide by 10000 for degrees) +``` + +**Message Received**: +``` +[0x07] - Response code +[1 byte] - Message type (0=contact, 1=channel) +[4 bytes] - Sender public key prefix +[4 bytes] - Recipient public key prefix +[2 bytes] - Text length (uint16) +[N bytes] - UTF-8 text +``` + +**Send Text Message**: +``` +[0x02] - Command code +[32 bytes] - Recipient public key +[2 bytes] - Text length (uint16) +[N bytes] - UTF-8 text +``` + +**Request Telemetry**: +``` +[0x27] (39) - Command code +[32 bytes] - Contact public key +``` + +**Telemetry Response**: +``` +[0x8B] (139) - Response code +[4 bytes] - Contact public key prefix +[N bytes] - Cayenne LPP payload +``` + +### Cayenne LPP Format + +Telemetry data uses Cayenne Low Power Payload format: + +``` +[Channel] [Type] [Data...] +``` + +**Supported Types**: +- `136` (0x88): GPS Location + - 4 bytes: Latitude (int32, divide by 10000) + - 4 bytes: Longitude (int32, divide by 10000) + - 4 bytes: Altitude (int32, divide by 100) +- `103` (0x67): Temperature Sensor + - 2 bytes: Temperature (int16, divide by 10 for °C) +- `2` (0x02): Analog Input (used for battery voltage) + - 2 bytes: Value (uint16, divide by 100 for volts) + +### SAR Message Format + +Special tactical markers embedded in messages: + +``` +S::, +``` + +**Recognized Emojis**: +- `🧑` or `👤`: Found Person +- `🔥`: Fire Location +- `🏕️` or `⛺`: Staging Area + +**Examples**: +- `S:🧑:46.0569,14.5058` - Person found at coordinates +- `S:🔥:46.0570,14.5060` - Fire detected +- `S:🏕️:46.0571,14.5062` - Base camp location + +**Parsing Rules**: +- Must start with `S:` +- Single emoji character after first colon +- Comma-separated lat,lon after second colon +- Coordinates can be negative (e.g., `-12.3456`) +- No spaces allowed in format + +## State Management Architecture + +### Provider Hierarchy + +``` +MultiProvider +├── ConnectionProvider # BLE connection state +├── ContactsProvider # Contact list +├── MessagesProvider # Messages + SAR markers +├── MapProvider # Map navigation +└── AppProvider # Coordinator (uses all above) +``` + +### Event Flow + +``` +BLE Device → MeshCoreBleService → ConnectionProvider → AppProvider + ↓ + ContactsProvider + MessagesProvider + ↓ + UI +``` + +**Example: Receiving a Message** + +1. BLE device sends message via TX characteristic +2. `MeshCoreBleService._onDataReceived()` parses binary data +3. Calls `onMessageReceived` callback +4. `ConnectionProvider` receives message +5. `AppProvider` enhances message (check for SAR format) +6. `MessagesProvider.addMessage()` stores message +7. UI rebuilds via `Consumer` + +### Contact Types + +```dart +enum ContactType { + none(0), // Unknown/invalid + chat(1), // Team member (shown on map) + repeater(2), // Network repeater node + room(3), // Communication channel/room +} +``` + +**Map Display Rules**: +- Only `ContactType.chat` contacts with valid GPS are shown on map +- Repeaters and rooms are listed in Contacts tab but not mapped + +## Map Implementation + +### Tile Layers + +Three tile sources are supported via `MapLayer` enum: + +1. **OpenStreetMap** (default) + - URL: `https://tile.openstreetmap.org/{z}/{x}/{y}.png` + - Max zoom: 19 + - Best for street-level navigation + +2. **OpenTopoMap** + - URL: `https://a.tile.opentopomap.org/{z}/{x}/{y}.png` + - Max zoom: 17 + - Shows topographic features, elevation contours + +3. **ESRI World Imagery** + - URL: `https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}` + - Max zoom: 19 + - Satellite imagery + +### Offline Tile Caching + +Uses `flutter_map_tile_caching` with ObjectBox backend: + +```dart +// Initialize cache +await FMTCObjectBoxBackend().initialise(); +final store = FMTCStore('meshcore_sar_tiles'); +await store.manage.create(); + +// Download region +final region = RectangleRegion(bounds); +await store.download.startForeground(region: region); +``` + +**Cache Behavior**: +- `CacheBehavior.cacheFirst`: Use cached tiles if available +- 30-day validity period +- Automatic background updates when online + +### Map Markers + +**Team Member Markers** (Blue): +- CircleAvatar with person icon +- Battery percentage badge at top +- Name label at bottom +- Tap to show details dialog + +**SAR Event Markers** (Color-coded): +- Found Person: Green with 🧑 +- Fire: Red with 🔥 +- Staging Area: Orange with 🏕️ +- Time ago label at top +- Type label at bottom +- Tap to show details dialog + +### Map Navigation + +**Navigation from Messages Tab**: +1. User taps SAR marker message +2. `MapProvider.navigateToLocation()` called +3. Target location and zoom stored in provider +4. Tab switches to Map +5. `MapTab._handleMapNavigation()` moves map +6. `MapProvider.clearNavigation()` resets state + +**Zoom State Preservation**: +- Current zoom stored in `MapProvider` +- Maintained across tab switches +- Updated on user zoom gestures + +### User Location Tracking + +The app tracks the user's precise GPS location in real-time: + +**Permission Setup** (iOS Info.plist): +```xml +NSLocationWhenInUseUsageDescription +MeshCore SAR needs location access to display team members and SAR markers on the map +NSLocationTemporaryPreciseUsageDescription +MeshCore SAR needs precise location for accurate positioning in SAR operations +NSLocationDefaultAccuracyReduced + +``` + +**Implementation** (lib/screens/map_tab.dart): +```dart +Position? _currentPosition; +bool _trackingLocation = false; + +// Request permission and start tracking +final position = await Geolocator.getCurrentPosition( + locationSettings: const LocationSettings( + accuracy: LocationAccuracy.best, + distanceFilter: 0, + ), +); + +// Listen to continuous position updates +Geolocator.getPositionStream( + locationSettings: const LocationSettings( + accuracy: LocationAccuracy.best, + distanceFilter: 10, // Update every 10 meters + ), +).listen((Position position) { + setState(() => _currentPosition = position); + if (_trackingLocation) { + // Auto-center map on user location + _mapController.move( + LatLng(position.latitude, position.longitude), + _mapController.camera.zoom + ); + } +}); +``` + +**User Location Marker**: +- Blue pulsing circle showing current position +- Navigation icon indicating heading +- Tap location button to center map on user +- Tap again to enable tracking mode (map follows user movement) + +### Map Legend + +**Collapsible Legend** (lib/screens/map_tab.dart): +- Shows counts of team members and SAR markers +- Click to collapse to compact view +- Click again to expand +- Positioned in top-right corner + +```dart +bool _showLegend = true; + +GestureDetector( + onTap: () => setState(() => _showLegend = !_showLegend), + child: _showLegend + ? _MapLegend(/* full legend with all counts */) + : Card( + child: Column([ + Text('Legend'), + Icon(Icons.expand_more), + ]), + ), +) +``` + +## Building and Development + +### Development Commands + +```bash +# Install dependencies +flutter pub get + +# Run in debug mode +flutter run + +# Run with specific device +flutter run -d + +# Hot reload (during debug) +# Press 'r' in terminal + +# Hot restart (during debug) +# Press 'R' in terminal + +# Analyze code +flutter analyze + +# Run tests +flutter test + +# Format code +dart format lib/ + +# Clean build +flutter clean +``` + +### iOS Build + +```bash +# Open Xcode workspace +open ios/Runner.xcworkspace + +# Build from command line +flutter build ios --release + +# Create IPA (requires signing) +flutter build ipa +``` + +**Key iOS Files**: +- `ios/Runner/Info.plist`: Permissions and app configuration +- `ios/Podfile`: CocoaPods dependencies +- `ios/Runner.xcodeproj`: Xcode project + +### Android Build + +```bash +# Debug APK +flutter build apk --debug + +# Release APK +flutter build apk --release + +# App Bundle (for Play Store) +flutter build appbundle --release + +# Split APKs by ABI +flutter build apk --split-per-abi +``` + +**Key Android Files**: +- `android/app/src/main/AndroidManifest.xml`: Permissions and app configuration +- `android/app/build.gradle`: App-level build configuration +- `android/build.gradle`: Project-level build configuration + +## Common Development Tasks + +### Adding a New BLE Command + +1. **Add command code** to `lib/services/meshcore_constants.dart`: + ```dart + static const int cmdYourCommand = 42; + ``` + +2. **Create command method** in `lib/services/meshcore_ble_service.dart`: + ```dart + Future yourCommand() async { + final writer = BufferWriter(); + writer.writeByte(MeshCoreConstants.cmdYourCommand); + await _sendCommand(writer.toBytes()); + } + ``` + +3. **Handle response** in `_onDataReceived()`: + ```dart + case MeshCoreConstants.respYourResponse: + // Parse response data + onYourCallback?.call(data); + break; + ``` + +### Adding a New SAR Marker Type + +1. **Update enum** in `lib/models/sar_marker.dart`: + ```dart + enum SarMarkerType { + // existing types... + yourType('🆕', 'Your Type'); + } + ``` + +2. **Add to parser** in `lib/utils/sar_message_parser.dart`: + ```dart + case '🆕': + return SarMarkerType.yourType; + ``` + +3. **Add color** in `lib/widgets/map_markers.dart`: + ```dart + case SarMarkerType.yourType: + return Colors.purple; + ``` + +4. **Update providers** in `lib/providers/messages_provider.dart`: + ```dart + List get yourTypeMarkers => + sarMarkers.where((m) => m.type == SarMarkerType.yourType).toList(); + ``` + +### Adding a New Map Layer + +1. **Add to model** in `lib/models/map_layer.dart`: + ```dart + static const yourLayer = MapLayer( + type: MapLayerType.yourLayer, + name: 'Your Layer', + urlTemplate: 'https://your-tile-server/{z}/{x}/{y}.png', + attribution: '© Your Attribution', + maxZoom: 19, + ); + ``` + +2. **Add to list**: + ```dart + static const List allLayers = [ + openStreetMap, + openTopoMap, + esriWorldImagery, + yourLayer, // Add here + ]; + ``` + +3. Layer automatically appears in layer selector UI + +## Testing + +### Unit Tests + +```bash +# Run all tests +flutter test + +# Run specific test file +flutter test test/widget_test.dart + +# Run with coverage +flutter test --coverage +``` + +### Integration Tests + +```bash +# Run integration tests +flutter drive --target=test_driver/app.dart +``` + +### Manual Testing Checklist + +**BLE Connection**: +- [ ] Scan discovers MeshCore devices +- [ ] Connection successful +- [ ] Device info displayed in status bar +- [ ] Disconnect works properly + +**Contacts**: +- [ ] Contacts load after connection +- [ ] Contacts grouped by type +- [ ] Telemetry request works +- [ ] Battery/GPS displayed correctly + +**Messages**: +- [ ] Messages received and displayed +- [ ] SAR markers highlighted +- [ ] Tap SAR marker navigates to map +- [ ] Message timestamps correct + +**Map**: +- [ ] Map loads and displays tiles +- [ ] Team member markers appear +- [ ] SAR markers appear with correct colors +- [ ] Layer switching works +- [ ] Zoom/pan gestures work +- [ ] Marker tap shows details +- [ ] Offline tiles load + +## Troubleshooting + +### BLE Issues + +**"Bluetooth adapter not available"**: +- Check device Bluetooth is on +- Verify permissions granted +- iOS: Check Info.plist has usage descriptions +- Android: Check AndroidManifest.xml has permissions + +**"Connection failed"**: +- Device must support BLE +- Check service UUID matches +- Verify device is in range (<10m typically) +- Try scanning again + +### Runtime Issues + +**MissingPluginException for geolocator or other plugins**: + +Example error: +``` +MissingPluginException(No implementation found for method isLocationServiceEnabled +on channel flutter.baseflow.com/geolocator_apple) +``` + +This occurs when native plugin implementations aren't properly installed. Common after adding new dependencies. + +**Solution**: +```bash +# For iOS +cd ios +pod install +cd .. + +# Clean and rebuild +flutter clean +flutter pub get +flutter run +``` + +**If still failing on iOS**: +```bash +cd ios +rm Podfile.lock +rm -rf Pods/ +pod install +cd .. +flutter clean +flutter pub get +``` + +### Build Issues + +**iOS Pod Install Fails**: +```bash +cd ios +rm Podfile.lock +rm -rf Pods/ +pod install --repo-update +cd .. +``` + +**CocoaPods ObjectBox Version Conflict**: + +This error occurs when flutter_map_tile_caching updates its ObjectBox dependency but the cached Podfile.lock has an older version: + +``` +[!] CocoaPods could not find compatible versions for pod "ObjectBox": + In snapshot (Podfile.lock): ObjectBox (= 1.9.2) + In Podfile: objectbox_flutter_libs depends on ObjectBox (= 4.4.1) +``` + +**Solution**: +```bash +# Navigate to iOS directory +cd ios + +# Remove cached dependency lock file +rm Podfile.lock + +# Remove all installed pods +rm -rf Pods/ + +# Update CocoaPods repository (this may take a few minutes) +pod repo update + +# Reinstall all pods with updated versions +pod install + +# Return to project root +cd .. + +# Clean Flutter build cache +flutter clean + +# Reinstall Flutter dependencies +flutter pub get + +# Run the app +flutter run +``` + +**Alternative solution** (if the above doesn't work): +```bash +cd ios +rm Podfile.lock +rm -rf Pods/ +pod deintegrate +pod cache clean --all +pod setup +pod install +cd .. +flutter clean +flutter pub get +``` + +**Note**: The `pod repo update` command can take 5-10 minutes as it downloads the entire CocoaPods specifications repository. This is normal. + +**Android Gradle Timeout**: +```gradle +// android/gradle.properties +org.gradle.daemon=true +org.gradle.parallel=true +org.gradle.jvmargs=-Xmx4096m +``` + +**Flutter Version Conflicts**: +```bash +flutter channel stable +flutter upgrade +flutter pub upgrade +``` + +## Performance Optimization + +### BLE Communication +- Buffer incoming data to handle partial packets +- Throttle telemetry requests (max 1 per second per contact) +- Use `notifyListeners()` sparingly in providers + +### Map Performance +- Limit visible markers (cluster if >100 markers) +- Use `repaint boundary` for marker widgets +- Implement marker virtualization for large datasets + +### Memory Management +- Dispose controllers in `dispose()` methods +- Clear message history after 1000 messages +- Implement tile cache size limits + +## Security Considerations + +- **BLE**: No authentication in current protocol - add encryption for production +- **Permissions**: Request minimum required permissions +- **Data**: No sensitive data should be logged +- **Network**: Use HTTPS for all tile sources + +## Future Enhancements + +Potential features to add: + +1. **Message Sending**: UI to compose and send messages +2. **Route Recording**: Track team member paths over time +3. **Geofencing**: Alerts when team members enter/exit areas +4. **Voice Notes**: Attach audio to SAR markers +5. **Team Chat**: Real-time chat between team members +6. **Mission Plans**: Pre-loaded search patterns +7. **Statistics**: Coverage analysis, search time tracking + +## References + +- [Flutter Documentation](https://docs.flutter.dev/) +- [flutter_blue_plus API](https://pub.dev/documentation/flutter_blue_plus/) +- [flutter_map Documentation](https://docs.fleaflet.dev/) +- [MeshCore Protocol](https://github.com/meshcore-dev/meshcore.js) +- [Cayenne LPP Specification](https://developers.mydevices.com/cayenne/docs/lora/#lora-cayenne-low-power-payload) +- [Provider Package](https://pub.dev/packages/provider) + +## Contact + +For questions or contributions, please refer to the project repository or contact the development team. diff --git a/README.md b/README.md new file mode 100644 index 0000000..bb78b21 --- /dev/null +++ b/README.md @@ -0,0 +1,343 @@ +# MeshCore SAR App + +A Flutter-based Search and Rescue (SAR) application that communicates with MeshCore mesh network devices via Bluetooth Low Energy (BLE). + +## Features + +- **Real-time Messaging**: Receive and display messages from MeshCore mesh network +- **Contact Management**: Track team members, repeaters, and communication channels +- **SAR Markers**: Special location markers for found persons, fires, and staging areas +- **Interactive Map**: View team locations and SAR markers on an interactive map with multiple layer options: + - OpenStreetMap (default) + - OpenTopoMap (topographic) + - ESRI World Imagery (satellite) +- **Offline Support**: Map tiles cached for offline operation +- **Telemetry Tracking**: Monitor battery levels, GPS locations, and temperature for all contacts +- **BLE Communication**: Direct connection to MeshCore devices via Bluetooth + +## Prerequisites + +Before building the app, ensure you have: + +- Flutter SDK 3.19.0 or higher +- Dart SDK 3.3.0 or higher +- Xcode 15+ (for iOS builds) +- Android Studio with Android SDK (for Android builds) +- CocoaPods (for iOS dependencies) + +### Install Flutter + +If you haven't installed Flutter yet: + +```bash +# macOS/Linux +git clone https://github.com/flutter/flutter.git -b stable +export PATH="$PATH:`pwd`/flutter/bin" + +# Verify installation +flutter doctor +``` + +## Setup + +1. **Clone the repository**: + ```bash + cd /path/to/meshcore-sar/meshcore_sar_app + ``` + +2. **Install dependencies**: + ```bash + flutter pub get + ``` + +3. **Verify setup**: + ```bash + flutter doctor + ``` + Fix any issues reported by Flutter Doctor before proceeding. + +## Building and Running + +### iOS + +#### Requirements +- macOS computer +- Xcode 15 or higher +- Apple Developer account (for physical device deployment) +- iOS device with iOS 13.0 or higher + +#### Steps + +1. **Open iOS folder in Xcode**: + ```bash + open ios/Runner.xcworkspace + ``` + +2. **Configure signing**: + - In Xcode, select the Runner project + - Go to "Signing & Capabilities" + - Select your development team + - Xcode will automatically handle provisioning + +3. **Connect your iOS device** via USB + +4. **Enable Developer Mode** on your iOS device: + - Settings → Privacy & Security → Developer Mode → Enable + +5. **Trust your Mac** on the iOS device when prompted + +6. **Run the app**: + ```bash + # Run in debug mode + flutter run + + # Or build release + flutter build ios --release + ``` + +7. **Install on device from Xcode**: + - Select your device in Xcode + - Click the "Run" button (▶️) + +#### Common iOS Issues + +**Problem**: "Runner has conflicting provisioning settings" +```bash +# Solution: Clean and rebuild +cd ios +pod deintegrate +pod install +cd .. +flutter clean +flutter pub get +``` + +**Problem**: Bluetooth permissions not working +- Ensure `Info.plist` contains all required permission keys +- Check that permissions are requested at runtime + +### Android + +#### Requirements +- Android Studio installed +- Android SDK 21 (Android 5.0) or higher +- Physical Android device or emulator + +#### Steps + +1. **Enable Developer Options** on your Android device: + - Settings → About Phone → Tap "Build Number" 7 times + - Go back → Developer Options → Enable "USB Debugging" + +2. **Connect your Android device** via USB and authorize the computer + +3. **Verify device connection**: + ```bash + flutter devices + ``` + +4. **Run the app**: + ```bash + # Run in debug mode + flutter run + + # Or specify device + flutter run -d + ``` + +5. **Build APK**: + ```bash + # Debug APK + flutter build apk --debug + + # Release APK + flutter build apk --release + + # App Bundle (for Play Store) + flutter build appbundle --release + ``` + + The APK will be located at: + - Debug: `build/app/outputs/flutter-apk/app-debug.apk` + - Release: `build/app/outputs/flutter-apk/app-release.apk` + +6. **Install APK manually**: + ```bash + # Install on connected device + flutter install + + # Or use adb + adb install build/app/outputs/flutter-apk/app-release.apk + ``` + +#### Common Android Issues + +**Problem**: Gradle build fails +```bash +# Solution: Clean and rebuild +flutter clean +cd android +./gradlew clean +cd .. +flutter pub get +flutter build apk +``` + +**Problem**: Bluetooth permissions denied +- Ensure all Bluetooth permissions are in `AndroidManifest.xml` +- For Android 12+, request `BLUETOOTH_SCAN` and `BLUETOOTH_CONNECT` at runtime + +**Problem**: "Execution failed for task ':app:minifyReleaseWithR8'" +```bash +# Add to android/app/build.gradle +android { + buildTypes { + release { + minifyEnabled false + } + } +} +``` + +## Running on Emulator/Simulator + +### iOS Simulator + +```bash +# List available simulators +flutter emulators + +# Launch a simulator +flutter emulators --launch + +# Run app +flutter run +``` + +**Note**: BLE functionality will not work on iOS Simulator. Use a physical device for testing. + +### Android Emulator + +```bash +# List available emulators +flutter emulators + +# Create new emulator in Android Studio: +# Tools → Device Manager → Create Virtual Device + +# Launch emulator +flutter emulators --launch + +# Run app +flutter run +``` + +**Note**: BLE functionality requires specific emulator setup or physical device. + +## Permissions + +The app requires the following permissions: + +### iOS (ios/Runner/Info.plist) +- `NSBluetoothAlwaysUsageDescription`: Bluetooth access for MeshCore devices +- `NSLocationWhenInUseUsageDescription`: Location access for map features + +### Android (android/app/src/main/AndroidManifest.xml) +- `BLUETOOTH_SCAN`: Scan for BLE devices +- `BLUETOOTH_CONNECT`: Connect to BLE devices +- `ACCESS_FINE_LOCATION`: Required for BLE scanning +- `INTERNET`: Download map tiles + +## Usage + +1. **Connect to MeshCore Device**: + - Tap "Connect" in the status bar + - Select your MeshCore device from the scan results + - Wait for connection confirmation + +2. **View Messages**: + - Messages tab shows all received messages + - SAR marker messages are highlighted + - Tap SAR marker to view on map + +3. **Manage Contacts**: + - Contacts tab shows team members, repeaters, and channels + - Tap contact to view details + - Use refresh button to request telemetry updates + +4. **View Map**: + - Map tab displays team locations and SAR markers + - Tap layer selector to switch between map styles + - Use zoom controls or pinch gestures + - Tap markers for details + - Tap items in bottom list to navigate + +## SAR Marker Format + +Messages can contain SAR markers using this format: +``` +S::, +``` + +Examples: +- `S:🧑:46.0569,14.5058` - Found person +- `S:🔥:46.0570,14.5060` - Fire location +- `S:🏕️:46.0571,14.5062` - Staging area + +## Architecture + +- **Models**: Data structures for contacts, messages, markers, telemetry +- **Services**: BLE communication, tile caching, protocol parsing +- **Providers**: State management using Provider pattern +- **Screens**: UI components for messages, contacts, map +- **Widgets**: Reusable UI elements like map markers + +## Dependencies + +Key packages used: +- `flutter_blue_plus`: BLE communication +- `flutter_map`: Interactive mapping +- `flutter_map_tile_caching`: Offline map tiles +- `provider`: State management +- `latlong2`: GPS coordinate handling +- `permission_handler`: Runtime permissions + +## Troubleshooting + +### App crashes on launch +```bash +flutter clean +flutter pub get +flutter run +``` + +### BLE not working +- Ensure Bluetooth is enabled on device +- Check that all permissions are granted +- Verify MeshCore device is powered on and in range + +### Map tiles not loading +- Check internet connection +- Verify tile URLs are accessible +- Clear tile cache and reload + +### Build errors +```bash +# Complete clean rebuild +flutter clean +cd ios && pod deintegrate && pod install && cd .. +cd android && ./gradlew clean && cd .. +flutter pub get +flutter run +``` + +## License + +This project is for Search and Rescue operations using MeshCore mesh network devices. + +## Support + +For issues related to: +- **Flutter**: https://flutter.dev/community +- **MeshCore Protocol**: https://github.com/meshcore-dev/meshcore.js +- **App Issues**: Open an issue in this repository diff --git a/analysis_options.yaml b/analysis_options.yaml new file mode 100644 index 0000000..0d29021 --- /dev/null +++ b/analysis_options.yaml @@ -0,0 +1,28 @@ +# 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 + +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: + # avoid_print: false # Uncomment to disable the `avoid_print` rule + # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule + +# Additional information about this file can be found at +# https://dart.dev/guides/language/analysis-options diff --git a/android/.gitignore b/android/.gitignore new file mode 100644 index 0000000..be3943c --- /dev/null +++ b/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/android/app/build.gradle.kts b/android/app/build.gradle.kts new file mode 100644 index 0000000..d0fcc44 --- /dev/null +++ b/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.meshcore.sar.meshcore_sar_app" + compileSdk = flutter.compileSdkVersion + ndkVersion = flutter.ndkVersion + + compileOptions { + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 + } + + kotlinOptions { + jvmTarget = JavaVersion.VERSION_11.toString() + } + + defaultConfig { + // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). + applicationId = "com.meshcore.sar.meshcore_sar_app" + // 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/android/app/src/debug/AndroidManifest.xml b/android/app/src/debug/AndroidManifest.xml new file mode 100644 index 0000000..399f698 --- /dev/null +++ b/android/app/src/debug/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000..b6a48e6 --- /dev/null +++ b/android/app/src/main/AndroidManifest.xml @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/android/app/src/main/kotlin/com/meshcore/sar/meshcore_sar_app/MainActivity.kt b/android/app/src/main/kotlin/com/meshcore/sar/meshcore_sar_app/MainActivity.kt new file mode 100644 index 0000000..1a081df --- /dev/null +++ b/android/app/src/main/kotlin/com/meshcore/sar/meshcore_sar_app/MainActivity.kt @@ -0,0 +1,5 @@ +package com.meshcore.sar.meshcore_sar_app + +import io.flutter.embedding.android.FlutterActivity + +class MainActivity : FlutterActivity() diff --git a/android/app/src/main/res/drawable-v21/launch_background.xml b/android/app/src/main/res/drawable-v21/launch_background.xml new file mode 100644 index 0000000..f74085f --- /dev/null +++ b/android/app/src/main/res/drawable-v21/launch_background.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/android/app/src/main/res/drawable/launch_background.xml b/android/app/src/main/res/drawable/launch_background.xml new file mode 100644 index 0000000..304732f --- /dev/null +++ b/android/app/src/main/res/drawable/launch_background.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 0000000..db77bb4 Binary files /dev/null and b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 0000000..17987b7 Binary files /dev/null and b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 0000000..09d4391 Binary files /dev/null and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 0000000..d5f1c8d Binary files /dev/null and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 0000000..4d6372e Binary files /dev/null and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/values-night/styles.xml b/android/app/src/main/res/values-night/styles.xml new file mode 100644 index 0000000..06952be --- /dev/null +++ b/android/app/src/main/res/values-night/styles.xml @@ -0,0 +1,18 @@ + + + + + + + diff --git a/android/app/src/main/res/values/styles.xml b/android/app/src/main/res/values/styles.xml new file mode 100644 index 0000000..cb1ef88 --- /dev/null +++ b/android/app/src/main/res/values/styles.xml @@ -0,0 +1,18 @@ + + + + + + + diff --git a/android/app/src/profile/AndroidManifest.xml b/android/app/src/profile/AndroidManifest.xml new file mode 100644 index 0000000..399f698 --- /dev/null +++ b/android/app/src/profile/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + diff --git a/android/build.gradle.kts b/android/build.gradle.kts new file mode 100644 index 0000000..dbee657 --- /dev/null +++ b/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/android/gradle.properties b/android/gradle.properties new file mode 100644 index 0000000..f018a61 --- /dev/null +++ b/android/gradle.properties @@ -0,0 +1,3 @@ +org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError +android.useAndroidX=true +android.enableJetifier=true diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000..ac3b479 --- /dev/null +++ b/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.12-all.zip diff --git a/android/settings.gradle.kts b/android/settings.gradle.kts new file mode 100644 index 0000000..fb605bc --- /dev/null +++ b/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.9.1" apply false + id("org.jetbrains.kotlin.android") version "2.1.0" apply false +} + +include(":app") diff --git a/ios/.gitignore b/ios/.gitignore new file mode 100644 index 0000000..7a7f987 --- /dev/null +++ b/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/ios/Flutter/AppFrameworkInfo.plist b/ios/Flutter/AppFrameworkInfo.plist new file mode 100644 index 0000000..1dc6cf7 --- /dev/null +++ b/ios/Flutter/AppFrameworkInfo.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + App + CFBundleIdentifier + io.flutter.flutter.app + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + App + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + MinimumOSVersion + 13.0 + + diff --git a/ios/Flutter/Debug.xcconfig b/ios/Flutter/Debug.xcconfig new file mode 100644 index 0000000..ec97fc6 --- /dev/null +++ b/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/ios/Flutter/Release.xcconfig b/ios/Flutter/Release.xcconfig new file mode 100644 index 0000000..c4855bf --- /dev/null +++ b/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/ios/Podfile b/ios/Podfile new file mode 100644 index 0000000..620e46e --- /dev/null +++ b/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/ios/Podfile.lock b/ios/Podfile.lock new file mode 100644 index 0000000..892646c --- /dev/null +++ b/ios/Podfile.lock @@ -0,0 +1,118 @@ +PODS: + - DKImagePickerController/Core (4.3.9): + - DKImagePickerController/ImageDataManager + - DKImagePickerController/Resource + - DKImagePickerController/ImageDataManager (4.3.9) + - DKImagePickerController/PhotoGallery (4.3.9): + - DKImagePickerController/Core + - DKPhotoGallery + - DKImagePickerController/Resource (4.3.9) + - DKPhotoGallery (0.0.19): + - DKPhotoGallery/Core (= 0.0.19) + - DKPhotoGallery/Model (= 0.0.19) + - DKPhotoGallery/Preview (= 0.0.19) + - DKPhotoGallery/Resource (= 0.0.19) + - SDWebImage + - SwiftyGif + - DKPhotoGallery/Core (0.0.19): + - DKPhotoGallery/Model + - DKPhotoGallery/Preview + - SDWebImage + - SwiftyGif + - DKPhotoGallery/Model (0.0.19): + - SDWebImage + - SwiftyGif + - DKPhotoGallery/Preview (0.0.19): + - DKPhotoGallery/Model + - DKPhotoGallery/Resource + - SDWebImage + - SwiftyGif + - DKPhotoGallery/Resource (0.0.19): + - SDWebImage + - SwiftyGif + - file_picker (0.0.1): + - DKImagePickerController/PhotoGallery + - Flutter + - Flutter (1.0.0) + - flutter_blue_plus_darwin (0.0.2): + - Flutter + - FlutterMacOS + - geolocator_apple (1.2.0): + - Flutter + - FlutterMacOS + - ObjectBox (4.4.1) + - objectbox_flutter_libs (0.0.1): + - Flutter + - ObjectBox (= 4.4.1) + - package_info_plus (0.4.5): + - Flutter + - path_provider_foundation (0.0.1): + - Flutter + - FlutterMacOS + - permission_handler_apple (9.3.0): + - Flutter + - SDWebImage (5.21.3): + - SDWebImage/Core (= 5.21.3) + - SDWebImage/Core (5.21.3) + - share_plus (0.0.1): + - Flutter + - SwiftyGif (5.4.5) + +DEPENDENCIES: + - file_picker (from `.symlinks/plugins/file_picker/ios`) + - Flutter (from `Flutter`) + - flutter_blue_plus_darwin (from `.symlinks/plugins/flutter_blue_plus_darwin/darwin`) + - geolocator_apple (from `.symlinks/plugins/geolocator_apple/darwin`) + - objectbox_flutter_libs (from `.symlinks/plugins/objectbox_flutter_libs/ios`) + - package_info_plus (from `.symlinks/plugins/package_info_plus/ios`) + - path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`) + - permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`) + - share_plus (from `.symlinks/plugins/share_plus/ios`) + +SPEC REPOS: + trunk: + - DKImagePickerController + - DKPhotoGallery + - ObjectBox + - SDWebImage + - SwiftyGif + +EXTERNAL SOURCES: + file_picker: + :path: ".symlinks/plugins/file_picker/ios" + Flutter: + :path: Flutter + flutter_blue_plus_darwin: + :path: ".symlinks/plugins/flutter_blue_plus_darwin/darwin" + geolocator_apple: + :path: ".symlinks/plugins/geolocator_apple/darwin" + objectbox_flutter_libs: + :path: ".symlinks/plugins/objectbox_flutter_libs/ios" + package_info_plus: + :path: ".symlinks/plugins/package_info_plus/ios" + path_provider_foundation: + :path: ".symlinks/plugins/path_provider_foundation/darwin" + permission_handler_apple: + :path: ".symlinks/plugins/permission_handler_apple/ios" + share_plus: + :path: ".symlinks/plugins/share_plus/ios" + +SPEC CHECKSUMS: + DKImagePickerController: 946cec48c7873164274ecc4624d19e3da4c1ef3c + DKPhotoGallery: b3834fecb755ee09a593d7c9e389d8b5d6deed60 + file_picker: a0560bc09d61de87f12d246fc47d2119e6ef37be + Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467 + flutter_blue_plus_darwin: 20a08bfeaa0f7804d524858d3d8744bcc1b6dbc3 + geolocator_apple: ab36aa0e8b7d7a2d7639b3b4e48308394e8cef5e + ObjectBox: 7da4aceb5013d041bfafdbc6d744a26918b09757 + objectbox_flutter_libs: 09b1dec1b4cd27bf1a5f9bae7ccaa7e43588bf31 + package_info_plus: af8e2ca6888548050f16fa2f1938db7b5a5df499 + path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564 + permission_handler_apple: 4ed2196e43d0651e8ff7ca3483a069d469701f2d + SDWebImage: 16309af6d214ba3f77a7c6f6fdda888cb313a50a + share_plus: 50da8cb520a8f0f65671c6c6a99b3617ed10a58a + SwiftyGif: 706c60cf65fa2bc5ee0313beece843c8eb8194d4 + +PODFILE CHECKSUM: 3c63482e143d1b91d2d2560aee9fb04ecc74ac7e + +COCOAPODS: 1.16.2 diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj new file mode 100644 index 0000000..bd08024 --- /dev/null +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -0,0 +1,749 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 54; + objects = { + +/* Begin PBXBuildFile section */ + 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 */; }; + 6E07C83B534F125C2CBE6788 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 95A961E69DFB3804DF041D16 /* Pods_Runner.framework */; }; + 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; + 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 */; }; + B117D6FC7E214B5BDF078335 /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E125ECD1538D6FD469DAD40 /* Pods_RunnerTests.framework */; }; +/* 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 */ + 0A6847CB76DAC5A39547F092 /* 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 = ""; }; + 11010AF1B9B58058CB45D836 /* 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 = ""; }; + 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 = ""; }; + 2FF0A626EBAC324A9D2CD7C8 /* 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 = ""; }; + 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 = ""; }; + 3B8CF791ABE83A2374700CB3 /* 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 = ""; }; + 5E125ECD1538D6FD469DAD40 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 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 = ""; }; + 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; + 88D332C6C1988532993F282B /* 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 = ""; }; + 8E8E561633FC42AD799C3EC6 /* 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 = ""; }; + 95A961E69DFB3804DF041D16 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 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 = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 63128E4122D07543FBC5706D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + B117D6FC7E214B5BDF078335 /* Pods_RunnerTests.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 97C146EB1CF9000F007C117D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 6E07C83B534F125C2CBE6788 /* Pods_Runner.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 331C8082294A63A400263BE5 /* RunnerTests */ = { + isa = PBXGroup; + children = ( + 331C807B294A618700263BE5 /* RunnerTests.swift */, + ); + path = RunnerTests; + sourceTree = ""; + }; + 3C28992F8CC08CA6C1F157CE /* Pods */ = { + isa = PBXGroup; + children = ( + 0A6847CB76DAC5A39547F092 /* Pods-Runner.debug.xcconfig */, + 88D332C6C1988532993F282B /* Pods-Runner.release.xcconfig */, + 3B8CF791ABE83A2374700CB3 /* Pods-Runner.profile.xcconfig */, + 8E8E561633FC42AD799C3EC6 /* Pods-RunnerTests.debug.xcconfig */, + 2FF0A626EBAC324A9D2CD7C8 /* Pods-RunnerTests.release.xcconfig */, + 11010AF1B9B58058CB45D836 /* 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 */, + 3C28992F8CC08CA6C1F157CE /* Pods */, + 9C44871016BF8D8E5F823EE9 /* 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 */, + 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, + ); + path = Runner; + sourceTree = ""; + }; + 9C44871016BF8D8E5F823EE9 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 95A961E69DFB3804DF041D16 /* Pods_Runner.framework */, + 5E125ECD1538D6FD469DAD40 /* 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 = ( + E57C8F1FC76A13F8392A3A72 /* [CP] Check Pods Manifest.lock */, + 331C807D294A63A400263BE5 /* Sources */, + 331C807F294A63A400263BE5 /* Resources */, + 63128E4122D07543FBC5706D /* 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 = ( + 142118FEB8CC97859621AD22 /* [CP] Check Pods Manifest.lock */, + 9740EEB61CF901F6004384FC /* Run Script */, + 97C146EA1CF9000F007C117D /* Sources */, + 97C146EB1CF9000F007C117D /* Frameworks */, + 97C146EC1CF9000F007C117D /* Resources */, + 9705A1C41CF9048500538489 /* Embed Frameworks */, + 3B06AD1E1E4923F5004D2608 /* Thin Binary */, + 0F5356670725D838348C6698 /* [CP] Embed Pods Frameworks */, + 86AE9F22272E851DF6253AA1 /* [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 */ + 0F5356670725D838348C6698 /* [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; + }; + 142118FEB8CC97859621AD22 /* [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; + }; + 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"; + }; + 86AE9F22272E851DF6253AA1 /* [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; + }; + 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"; + }; + E57C8F1FC76A13F8392A3A72 /* [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; + }; +/* 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 */, + ); + 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 = PM784W7B8X; + ENABLE_BITCODE = NO; + INFOPLIST_FILE = Runner/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.meshcore.sar.meshcoreSarApp; + 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 = 8E8E561633FC42AD799C3EC6 /* 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.meshcore.sar.meshcoreSarApp.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 = 2FF0A626EBAC324A9D2CD7C8 /* 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.meshcore.sar.meshcoreSarApp.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 = 11010AF1B9B58058CB45D836 /* 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.meshcore.sar.meshcoreSarApp.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 = PM784W7B8X; + ENABLE_BITCODE = NO; + INFOPLIST_FILE = Runner/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.meshcore.sar.meshcoreSarApp; + 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 = PM784W7B8X; + ENABLE_BITCODE = NO; + INFOPLIST_FILE = Runner/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.meshcore.sar.meshcoreSarApp; + 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/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 0000000..f9b0d7c --- /dev/null +++ b/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + PreviewsEnabled + + + diff --git a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme new file mode 100644 index 0000000..e3773d4 --- /dev/null +++ b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ios/Runner.xcworkspace/contents.xcworkspacedata b/ios/Runner.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..21a3cc1 --- /dev/null +++ b/ios/Runner.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 0000000..f9b0d7c --- /dev/null +++ b/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + PreviewsEnabled + + + diff --git a/ios/Runner/AppDelegate.swift b/ios/Runner/AppDelegate.swift new file mode 100644 index 0000000..6266644 --- /dev/null +++ b/ios/Runner/AppDelegate.swift @@ -0,0 +1,13 @@ +import Flutter +import UIKit + +@main +@objc class AppDelegate: FlutterAppDelegate { + override func application( + _ application: UIApplication, + didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? + ) -> Bool { + GeneratedPluginRegistrant.register(with: self) + return super.application(application, didFinishLaunchingWithOptions: launchOptions) + } +} diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..d36b1fa --- /dev/null +++ b/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/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png new file mode 100644 index 0000000..dc9ada4 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png new file mode 100644 index 0000000..7353c41 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png new file mode 100644 index 0000000..797d452 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png new file mode 100644 index 0000000..6ed2d93 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png new file mode 100644 index 0000000..4cd7b00 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png new file mode 100644 index 0000000..fe73094 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png new file mode 100644 index 0000000..321773c Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png new file mode 100644 index 0000000..797d452 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png new file mode 100644 index 0000000..502f463 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png new file mode 100644 index 0000000..0ec3034 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png new file mode 100644 index 0000000..0ec3034 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png new file mode 100644 index 0000000..e9f5fea Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png new file mode 100644 index 0000000..84ac32a Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png new file mode 100644 index 0000000..8953cba Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png new file mode 100644 index 0000000..0467bf1 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png differ diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json new file mode 100644 index 0000000..0bedcf2 --- /dev/null +++ b/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/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png new file mode 100644 index 0000000..9da19ea Binary files /dev/null and b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png differ diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png new file mode 100644 index 0000000..9da19ea Binary files /dev/null and b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png differ diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png new file mode 100644 index 0000000..9da19ea Binary files /dev/null and b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png differ diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md new file mode 100644 index 0000000..89c2725 --- /dev/null +++ b/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/ios/Runner/Base.lproj/LaunchScreen.storyboard b/ios/Runner/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..f2e259c --- /dev/null +++ b/ios/Runner/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ios/Runner/Base.lproj/Main.storyboard b/ios/Runner/Base.lproj/Main.storyboard new file mode 100644 index 0000000..f3c2851 --- /dev/null +++ b/ios/Runner/Base.lproj/Main.storyboard @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist new file mode 100644 index 0000000..72875ed --- /dev/null +++ b/ios/Runner/Info.plist @@ -0,0 +1,61 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleDisplayName + Meshcore Sar App + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + meshcore_sar_app + CFBundlePackageType + APPL + CFBundleShortVersionString + $(FLUTTER_BUILD_NAME) + CFBundleSignature + ???? + CFBundleVersion + $(FLUTTER_BUILD_NUMBER) + LSRequiresIPhoneOS + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + CADisableMinimumFrameDurationOnPhone + + UIApplicationSupportsIndirectInputEvents + + NSBluetoothAlwaysUsageDescription + MeshCore SAR needs Bluetooth to communicate with MeshCore devices for Search & Rescue operations + NSBluetoothPeripheralUsageDescription + MeshCore SAR needs Bluetooth to communicate with MeshCore devices + NSLocationWhenInUseUsageDescription + MeshCore SAR needs location access to display team members and SAR markers on the map + NSLocationAlwaysAndWhenInUseUsageDescription + MeshCore SAR needs location access for offline map functionality during field operations + NSLocationTemporaryPreciseUsageDescription + MeshCore SAR needs precise location for accurate positioning in SAR operations + NSLocationDefaultAccuracyReduced + + + diff --git a/ios/Runner/Runner-Bridging-Header.h b/ios/Runner/Runner-Bridging-Header.h new file mode 100644 index 0000000..308a2a5 --- /dev/null +++ b/ios/Runner/Runner-Bridging-Header.h @@ -0,0 +1 @@ +#import "GeneratedPluginRegistrant.h" diff --git a/ios/RunnerTests/RunnerTests.swift b/ios/RunnerTests/RunnerTests.swift new file mode 100644 index 0000000..86a7c3b --- /dev/null +++ b/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/ios/build/ios/XCBuildData/PIFCache/project/PROJECT@v11_mod=8087a2fc1456ece247eee30e0163f06f_hash=bfdfe7dc352907fc980b868725387e98plugins=1OJSG6M1FOV3XYQCBH7Z29RZ0FPR9XDE1-json b/ios/build/ios/XCBuildData/PIFCache/project/PROJECT@v11_mod=8087a2fc1456ece247eee30e0163f06f_hash=bfdfe7dc352907fc980b868725387e98plugins=1OJSG6M1FOV3XYQCBH7Z29RZ0FPR9XDE1-json new file mode 100644 index 0000000..79afc2d --- /dev/null +++ b/ios/build/ios/XCBuildData/PIFCache/project/PROJECT@v11_mod=8087a2fc1456ece247eee30e0163f06f_hash=bfdfe7dc352907fc980b868725387e98plugins=1OJSG6M1FOV3XYQCBH7Z29RZ0FPR9XDE1-json @@ -0,0 +1 @@ +{"appPreferencesBuildSettings":{},"buildConfigurations":[{"buildSettings":{"ALWAYS_SEARCH_USER_PATHS":"NO","CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED":"YES","CLANG_ANALYZER_NONNULL":"YES","CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION":"YES_AGGRESSIVE","CLANG_CXX_LANGUAGE_STANDARD":"gnu++14","CLANG_CXX_LIBRARY":"libc++","CLANG_ENABLE_MODULES":"YES","CLANG_ENABLE_OBJC_ARC":"YES","CLANG_ENABLE_OBJC_WEAK":"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_DOCUMENTATION_COMMENTS":"YES","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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER":"YES","CLANG_WARN_RANGE_LOOP_ANALYSIS":"YES","CLANG_WARN_STRICT_PROTOTYPES":"YES","CLANG_WARN_SUSPICIOUS_MOVE":"YES","CLANG_WARN_UNGUARDED_AVAILABILITY":"YES_AGGRESSIVE","CLANG_WARN_UNREACHABLE_CODE":"YES","CLANG_WARN__DUPLICATE_METHOD_MATCH":"YES","COPY_PHASE_STRIP":"NO","DEBUG_INFORMATION_FORMAT":"dwarf","ENABLE_STRICT_OBJC_MSGSEND":"YES","ENABLE_TESTABILITY":"YES","GCC_C_LANGUAGE_STANDARD":"gnu11","GCC_DYNAMIC_NO_PIC":"NO","GCC_NO_COMMON_BLOCKS":"YES","GCC_OPTIMIZATION_LEVEL":"0","GCC_PREPROCESSOR_DEFINITIONS":"POD_CONFIGURATION_DEBUG=1 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":"INCLUDE_SOURCE","MTL_FAST_MATH":"YES","ONLY_ACTIVE_ARCH":"YES","PRODUCT_NAME":"$(TARGET_NAME)","STRIP_INSTALLED_PRODUCT":"NO","SWIFT_ACTIVE_COMPILATION_CONDITIONS":"DEBUG","SWIFT_OPTIMIZATION_LEVEL":"-Onone","SWIFT_VERSION":"5.0","SYMROOT":"${SRCROOT}/../build"},"guid":"bfdfe7dc352907fc980b868725387e983f8723597279233a8f05ceff9fe3456f","name":"Debug"},{"buildSettings":{"ALWAYS_SEARCH_USER_PATHS":"NO","CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED":"YES","CLANG_ANALYZER_NONNULL":"YES","CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION":"YES_AGGRESSIVE","CLANG_CXX_LANGUAGE_STANDARD":"gnu++14","CLANG_CXX_LIBRARY":"libc++","CLANG_ENABLE_MODULES":"YES","CLANG_ENABLE_OBJC_ARC":"YES","CLANG_ENABLE_OBJC_WEAK":"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_DOCUMENTATION_COMMENTS":"YES","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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER":"YES","CLANG_WARN_RANGE_LOOP_ANALYSIS":"YES","CLANG_WARN_STRICT_PROTOTYPES":"YES","CLANG_WARN_SUSPICIOUS_MOVE":"YES","CLANG_WARN_UNGUARDED_AVAILABILITY":"YES_AGGRESSIVE","CLANG_WARN_UNREACHABLE_CODE":"YES","CLANG_WARN__DUPLICATE_METHOD_MATCH":"YES","COPY_PHASE_STRIP":"NO","DEBUG_INFORMATION_FORMAT":"dwarf-with-dsym","ENABLE_NS_ASSERTIONS":"NO","ENABLE_STRICT_OBJC_MSGSEND":"YES","GCC_C_LANGUAGE_STANDARD":"gnu11","GCC_NO_COMMON_BLOCKS":"YES","GCC_PREPROCESSOR_DEFINITIONS":"POD_CONFIGURATION_PROFILE=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":"NO","MTL_FAST_MATH":"YES","PRODUCT_NAME":"$(TARGET_NAME)","STRIP_INSTALLED_PRODUCT":"NO","SWIFT_COMPILATION_MODE":"wholemodule","SWIFT_OPTIMIZATION_LEVEL":"-O","SWIFT_VERSION":"5.0","SYMROOT":"${SRCROOT}/../build"},"guid":"bfdfe7dc352907fc980b868725387e98431d6fbac4fcf14f03a16b06b7267016","name":"Profile"},{"buildSettings":{"ALWAYS_SEARCH_USER_PATHS":"NO","CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED":"YES","CLANG_ANALYZER_NONNULL":"YES","CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION":"YES_AGGRESSIVE","CLANG_CXX_LANGUAGE_STANDARD":"gnu++14","CLANG_CXX_LIBRARY":"libc++","CLANG_ENABLE_MODULES":"YES","CLANG_ENABLE_OBJC_ARC":"YES","CLANG_ENABLE_OBJC_WEAK":"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_DOCUMENTATION_COMMENTS":"YES","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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER":"YES","CLANG_WARN_RANGE_LOOP_ANALYSIS":"YES","CLANG_WARN_STRICT_PROTOTYPES":"YES","CLANG_WARN_SUSPICIOUS_MOVE":"YES","CLANG_WARN_UNGUARDED_AVAILABILITY":"YES_AGGRESSIVE","CLANG_WARN_UNREACHABLE_CODE":"YES","CLANG_WARN__DUPLICATE_METHOD_MATCH":"YES","COPY_PHASE_STRIP":"NO","DEBUG_INFORMATION_FORMAT":"dwarf-with-dsym","ENABLE_NS_ASSERTIONS":"NO","ENABLE_STRICT_OBJC_MSGSEND":"YES","GCC_C_LANGUAGE_STANDARD":"gnu11","GCC_NO_COMMON_BLOCKS":"YES","GCC_PREPROCESSOR_DEFINITIONS":"POD_CONFIGURATION_RELEASE=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":"NO","MTL_FAST_MATH":"YES","PRODUCT_NAME":"$(TARGET_NAME)","STRIP_INSTALLED_PRODUCT":"NO","SWIFT_COMPILATION_MODE":"wholemodule","SWIFT_OPTIMIZATION_LEVEL":"-O","SWIFT_VERSION":"5.0","SYMROOT":"${SRCROOT}/../build"},"guid":"bfdfe7dc352907fc980b868725387e989c63c53754d36800c8b5a5c73030d5d2","name":"Release"}],"classPrefix":"","defaultConfigurationName":"Release","developmentRegion":"en","groupTree":{"children":[{"fileType":"text.script.ruby","guid":"bfdfe7dc352907fc980b868725387e98d0b25d39b515a574839e998df229c3cb","path":"../Podfile","sourceTree":"SOURCE_ROOT","type":"file"},{"children":[{"children":[{"children":[{"fileType":"text.script.ruby","guid":"bfdfe7dc352907fc980b868725387e9867bcd30335212e939ea0fa40d7f083e9","path":"Flutter.podspec","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e989554f72e9ad1c0a385b39ac49f965761","name":"Pod","path":"","sourceTree":"","type":"group"},{"children":[{"fileType":"text.xcconfig","guid":"bfdfe7dc352907fc980b868725387e984da6ed4b7d87dcd4c1eb08c9fc111bbf","path":"Flutter.debug.xcconfig","sourceTree":"","type":"file"},{"fileType":"text.xcconfig","guid":"bfdfe7dc352907fc980b868725387e9831c1531f7c6e1b7490400c5fb70a79a5","path":"Flutter.release.xcconfig","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e98dcf5d27b9582cc36c0fee9c5c515b62a","name":"Support Files","path":"../Pods/Target Support Files/Flutter","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98dd0491375c036d50bfc5471b73a69915","name":"Flutter","path":"../Flutter","sourceTree":"","type":"group"},{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e9803c6560da956f8d20606a58956e84be0","path":"../../../../../../../../../../.pub-cache/hosted/pub.dev/flutter_blue_plus_darwin-8.0.0/darwin/flutter_blue_plus_darwin/Sources/flutter_blue_plus_darwin/FlutterBluePlusPlugin.m","sourceTree":"","type":"file"},{"children":[{"children":[{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98d232601bc15920166299009e0edcd88c","path":"../../../../../../../../../../../../.pub-cache/hosted/pub.dev/flutter_blue_plus_darwin-8.0.0/darwin/flutter_blue_plus_darwin/Sources/flutter_blue_plus_darwin/include/flutter_blue_plus_darwin/FlutterBluePlusPlugin.h","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e98cdc1ca357be0734a0d364c05b8ea342f","name":"flutter_blue_plus_darwin","path":"flutter_blue_plus_darwin","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98276b72f14a565f85ee674cd731ac07a4","name":"include","path":"include","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e988ce9ee5843d1cf039f19a7470cd97c00","name":"flutter_blue_plus_darwin","path":"flutter_blue_plus_darwin","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98f01f2540dc70504fc55691546c9ddc4c","name":"Sources","path":"Sources","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e9875aa884d4cf177acce71cb46b6eb3ace","name":"flutter_blue_plus_darwin","path":"flutter_blue_plus_darwin","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e982fd5ca19aa5f88a5745480e2a4548f5d","name":"darwin","path":"darwin","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e989e0e05dd7c3b3ec9077e5caf1403a08f","name":"flutter_blue_plus_darwin","path":"flutter_blue_plus_darwin","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98ca28e7b5f9b34dfb26631c5662da8f2e","name":"plugins","path":"plugins","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98396bf666ad8045f729bbb6fa2f50d8cb","name":".symlinks","path":".symlinks","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e9829029b3e31bb4ac1533df0c18aa4e7c1","name":"ios","path":"ios","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98244c8a8aa3bda261e3221e155344d64b","name":"meshcore_sar_app","path":"meshcore_sar_app","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e982517628dd0fca0ba870b340ce1984aa3","name":"meshcore-sar","path":"meshcore-sar","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98f4eced4dc89d292dac3483abc17f4ad7","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e988b28658d1623d943ec10adb4b6b07954","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98ccd1fb117bfa358e289e4aaced024d71","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e987297c70cc3b4b88bb99cf5fb464dc12e","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e984c45acd3719fea9dad8b218346df599f","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e9882c666941431a8cdc4e9bfc26f6f310e","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e981e6b67e173be8fd275c1be00d1254341","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e989e8e8225f6f37f03cf14ec8918278609","name":"..","path":"../../../../../../../.pub-cache/hosted/pub.dev/flutter_blue_plus_darwin-8.0.0/darwin/flutter_blue_plus_darwin/Sources","sourceTree":"","type":"group"},{"children":[{"fileType":"text.script.ruby","guid":"bfdfe7dc352907fc980b868725387e98c061cc3ea8bef24797218fd4bd11ec29","path":"../../../../../../../.pub-cache/hosted/pub.dev/flutter_blue_plus_darwin-8.0.0/darwin/flutter_blue_plus_darwin.podspec","sourceTree":"","type":"file"},{"fileType":"text","guid":"bfdfe7dc352907fc980b868725387e984164c94837dc5be0d76ca4f20709c33e","path":"../../../../../../../.pub-cache/hosted/pub.dev/flutter_blue_plus_darwin-8.0.0/LICENSE","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e9809bc4e184d0ff2e2dab554ecebd13303","name":"Pod","path":"","sourceTree":"","type":"group"},{"children":[{"fileType":"sourcecode.module-map","guid":"bfdfe7dc352907fc980b868725387e98bbaa9fe15ef2cf5f3e539efe58ac90ad","path":"flutter_blue_plus_darwin.modulemap","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e98a95d6e94dad2a296f0a91c233139a94b","path":"flutter_blue_plus_darwin-dummy.m","sourceTree":"","type":"file"},{"fileType":"text.plist.xml","guid":"bfdfe7dc352907fc980b868725387e98eb9af88b1c6d0f8d4434312d8a058c42","path":"flutter_blue_plus_darwin-Info.plist","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98432d2b4b2540458810f39ef1f6cf7cb7","path":"flutter_blue_plus_darwin-prefix.pch","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e9842752ec28ef1bbd3d645c3fb4f59f420","path":"flutter_blue_plus_darwin-umbrella.h","sourceTree":"","type":"file"},{"fileType":"text.xcconfig","guid":"bfdfe7dc352907fc980b868725387e989402fcc0e483387cf03f32ac68102b2a","path":"flutter_blue_plus_darwin.debug.xcconfig","sourceTree":"","type":"file"},{"fileType":"text.xcconfig","guid":"bfdfe7dc352907fc980b868725387e98a3d4981aa1a03d0cdc1b0217800162f8","path":"flutter_blue_plus_darwin.release.xcconfig","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e98a6bf62d3941eb0276709af32c0373acd","name":"Support Files","path":"../../../../Pods/Target Support Files/flutter_blue_plus_darwin","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98e4926a8c6280d9c3b45d3ecb976cb964","name":"flutter_blue_plus_darwin","path":"../.symlinks/plugins/flutter_blue_plus_darwin/darwin","sourceTree":"","type":"group"},{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e98bea04d3da7e1e5ef5912c12950e2b4d7","path":"../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/GeolocatorPlugin.m","sourceTree":"","type":"file"},{"fileType":"text.xml","guid":"bfdfe7dc352907fc980b868725387e982d53e45b4eb2667e94d388d54e1ed196","path":"../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/PrivacyInfo.xcprivacy","sourceTree":"","type":"file"},{"children":[{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e980ae55b04d6909cbb1b9063485ed0a213","path":"../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/Constants/ErrorCodes.m","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e98ab1f8bb9049bc4a5be483fef8b5e82c0","name":"Constants","path":"Constants","sourceTree":"","type":"group"},{"children":[{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e98cfce3f2952ec114325f5b0f88b6d43dc","path":"../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/Handlers/GeolocationHandler.m","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e985cb53c46ad908b44621e53b122861020","path":"../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/Handlers/LocationAccuracyHandler.m","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e986e899af1504c0f230d8d2f74e0aa0bdc","path":"../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/Handlers/LocationServiceStreamHandler.m","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e986255efa414dd1947c0a35dacd0b172e3","path":"../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/Handlers/PermissionHandler.m","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e987a91c0aa92130f309e851ea8c0e40740","path":"../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/Handlers/PositionStreamHandler.m","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e989efeea3956dfbf72b9491b3148c70d0f","name":"Handlers","path":"Handlers","sourceTree":"","type":"group"},{"children":[{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98ee6dabaaa5facb649fe543823039ab56","path":"../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/include/geolocator-umbrella.h","sourceTree":"","type":"file"},{"children":[{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98a765471702a0cf0920953a371b33b21f","path":"../../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/include/geolocator_apple/GeolocatorPlugin.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98fcc09e2cd63d57c1385d5c778508001b","path":"../../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/include/geolocator_apple/GeolocatorPlugin_Test.h","sourceTree":"","type":"file"},{"children":[{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e9847f285632aedbfa1b8b80f92456c30c3","path":"../../../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/include/geolocator_apple/Constants/ErrorCodes.h","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e98ae249f9b46662b9907263f33e8d3a7e9","name":"Constants","path":"Constants","sourceTree":"","type":"group"},{"children":[{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98d3aadb79cc6311582085d06ab7973697","path":"../../../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/include/geolocator_apple/Handlers/GeolocationHandler.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98c10d864fa9625acfd7eefbb08fed7ca2","path":"../../../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/include/geolocator_apple/Handlers/GeolocationHandler_Test.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98a6fa23beb37b4a97c18eac020b1b5d20","path":"../../../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/include/geolocator_apple/Handlers/LocationAccuracyHandler.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e9830a75396a320b25331b0eeda63b7989e","path":"../../../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/include/geolocator_apple/Handlers/LocationServiceStreamHandler.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e986484afbb8557f3859c31889364f2c681","path":"../../../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/include/geolocator_apple/Handlers/PermissionHandler.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98e4997f9eeea5d8559d993be7aa37201e","path":"../../../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/include/geolocator_apple/Handlers/PositionStreamHandler.h","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e986f641eedda4c61732a4b56c1119d1102","name":"Handlers","path":"Handlers","sourceTree":"","type":"group"},{"children":[{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98d9ad0a4149edcd68b0bdad9f8c357f5a","path":"../../../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/include/geolocator_apple/Utils/ActivityTypeMapper.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e981308be971bf4256165604ddfa507bedb","path":"../../../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/include/geolocator_apple/Utils/AuthorizationStatusMapper.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e986b7ad3875c3ea0708339654b3ad07ccb","path":"../../../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/include/geolocator_apple/Utils/LocationAccuracyMapper.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98214cc8bffc76dbc6a6f154491ae1f040","path":"../../../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/include/geolocator_apple/Utils/LocationDistanceMapper.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e982d33f4997f60f8ce0c1468d281501f96","path":"../../../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/include/geolocator_apple/Utils/LocationMapper.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98c97d7107bc80f643cbef697c128ffd04","path":"../../../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/include/geolocator_apple/Utils/PermissionUtils.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e986758be54bc5de20ee932b79585bb9679","path":"../../../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/include/geolocator_apple/Utils/ServiceStatus.h","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e98239851f10cf1dc9c50c2dcc42aafd5d2","name":"Utils","path":"Utils","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98aeb3a10bd115e821ccf64cfb5f237cf4","name":"geolocator_apple","path":"geolocator_apple","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e9852335e259e0147ec1d0ecb1d066ce8c0","name":"include","path":"include","sourceTree":"","type":"group"},{"children":[{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e98eaaacfda5fc84c92cde1240102ea88bf","path":"../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/Utils/ActivityTypeMapper.m","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e9854756ed1b345ed4b79c3e5f6c8ea0769","path":"../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/Utils/AuthorizationStatusMapper.m","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e9819af1a9e0db262b130c2b03ed76372b6","path":"../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/Utils/LocationAccuracyMapper.m","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e98368837c6dbb0c73c6f9ee33524ef4b01","path":"../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/Utils/LocationDistanceMapper.m","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e989d63f0a23daeee92c41da32df8f05cc3","path":"../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/Utils/LocationMapper.m","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e98e50c45bf01dd4fbaaa8869f4cf46eb7a","path":"../../../../../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/Utils/PermissionUtils.m","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e98e683b53795a5d643817e658a8de03d90","name":"Utils","path":"Utils","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98519315b9cd4309e58b09b10ce176473e","name":"geolocator_apple","path":"geolocator_apple","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98f55a937107354cd4f9f4705c34184afd","name":"Sources","path":"Sources","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98c8cd5e2f1c8ebe8a8088bb27db956ffa","name":"geolocator_apple","path":"geolocator_apple","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98b1e48c3723a6f5b5c524e2b6f16dc320","name":"darwin","path":"darwin","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98add03b86e2203b32a30d1313aafe15fa","name":"geolocator_apple","path":"geolocator_apple","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98865f2b3f2a90c8133c061beb6c43ff79","name":"plugins","path":"plugins","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98f7fb5da73e4c01b21eebea3bbbc8e3fb","name":".symlinks","path":".symlinks","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e982de281fc125ded6f8e318284e023b7a5","name":"ios","path":"ios","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98f2c65f5587bdf18d3c8645d771dabd11","name":"meshcore_sar_app","path":"meshcore_sar_app","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98472c67be51703e3cb5ff334af7e1300d","name":"meshcore-sar","path":"meshcore-sar","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e989f513bf7ac8c3d7bcbd5142d40c5b08b","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98d6f715c46b1e042c9d91f51a8f91e1e3","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98e680b6fe73260fd1bee07d14af43f1d6","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98d96670273e5e00aec629e9e9f0344304","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98254cf39bcd03414510a81643abc8e147","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e982b27c5e4b70e3360e77072c80f39849d","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98509aedc054292d7dabfc5bf9d8c52990","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98775e30bd658aab1133cee940337e293a","name":"..","path":"../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources","sourceTree":"","type":"group"},{"children":[{"fileType":"text.script.ruby","guid":"bfdfe7dc352907fc980b868725387e98289db2f6f9e1e909f9fc9a3d3a30d4f9","path":"../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple.podspec","sourceTree":"","type":"file"},{"fileType":"sourcecode.module-map","guid":"bfdfe7dc352907fc980b868725387e98ff9db2433e77b48c0258525eaba8cd75","path":"../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/darwin/geolocator_apple/Sources/geolocator_apple/include/GeolocatorPlugin.modulemap","sourceTree":"","type":"file"},{"fileType":"text","guid":"bfdfe7dc352907fc980b868725387e980b48e6459ec24d3115e71fc30e8e9dfc","path":"../../../../../../../.pub-cache/hosted/pub.dev/geolocator_apple-2.3.13/LICENSE","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e980c3c1c6c4123154d0495689024c994ae","name":"Pod","path":"","sourceTree":"","type":"group"},{"children":[{"fileType":"sourcecode.module-map","guid":"bfdfe7dc352907fc980b868725387e98f8fe92a88fad6e50f8a5bba78a840c40","path":"geolocator_apple.modulemap","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e981ce076db35037d3d1f829dc6012a8b9c","path":"geolocator_apple-dummy.m","sourceTree":"","type":"file"},{"fileType":"text.plist.xml","guid":"bfdfe7dc352907fc980b868725387e980f82a25b34c1ccfe2b214e78c186f0ff","path":"geolocator_apple-Info.plist","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e9854851406c393dd87afb36f4448a2386e","path":"geolocator_apple-prefix.pch","sourceTree":"","type":"file"},{"fileType":"text.xcconfig","guid":"bfdfe7dc352907fc980b868725387e98db4168bc813778add322f796c1886948","path":"geolocator_apple.debug.xcconfig","sourceTree":"","type":"file"},{"fileType":"text.xcconfig","guid":"bfdfe7dc352907fc980b868725387e98eaf9cc3cd0e4bd5b5081a977e6dd395a","path":"geolocator_apple.release.xcconfig","sourceTree":"","type":"file"},{"fileType":"text.plist.xml","guid":"bfdfe7dc352907fc980b868725387e982243217f4984eb72397704d72d1c08ca","path":"ResourceBundle-geolocator_apple_privacy-geolocator_apple-Info.plist","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e9880f0cf5d730aca6eac65bc2e16579f10","name":"Support Files","path":"../../../../Pods/Target Support Files/geolocator_apple","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e9858b7007de90f3690a99db1240f289895","name":"geolocator_apple","path":"../.symlinks/plugins/geolocator_apple/darwin","sourceTree":"","type":"group"},{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"fileType":"sourcecode.swift","guid":"bfdfe7dc352907fc980b868725387e98967b5f4f73e6711930279ea1eed24859","path":"../../../../../../../../.pub-cache/hosted/pub.dev/objectbox_flutter_libs-4.3.1/ios/Classes/ObjectboxFlutterLibsPlugin.swift","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e98c3281d398fdf11054e7db3b8a35e9b97","name":"Classes","path":"Classes","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e9829108eec2f6de8556fa307533c797c4e","name":"ios","path":"ios","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98cea467622f30dbf0bfb4436269e5d306","name":"objectbox_flutter_libs","path":"objectbox_flutter_libs","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98caeb0ddcd441fc195443373668475327","name":"plugins","path":"plugins","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98fa52f42a86ff405cd9e06bbb4b9f0d85","name":".symlinks","path":".symlinks","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e981d553470d9f4bbc2bdc8b261e63d9e11","name":"ios","path":"ios","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e9843ebc7be515f4f234a9cb07c30b65b0a","name":"meshcore_sar_app","path":"meshcore_sar_app","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e9827a0ffa4d193160e0a8b0039d95a3d50","name":"meshcore-sar","path":"meshcore-sar","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e989cf88143cff96eef245d5c081e726bbd","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98aa8b8dd7a120af3df70df56938161549","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e9857ebc88a5f81a231b71eb077c304f00b","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e9878a97a3f5f16d4390a154d5b4f596c6c","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e9864f058150729d2c43cd28b5fb75a1966","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e9844eea47a8b578abbc7e7edbe8b52853d","name":"..","path":"../../../../../../../.pub-cache/hosted/pub.dev/objectbox_flutter_libs-4.3.1/ios","sourceTree":"","type":"group"},{"children":[{"fileType":"text.script.ruby","guid":"bfdfe7dc352907fc980b868725387e98966c7595b313687cf5d1cccf40711ee2","path":"../../../../../../../.pub-cache/hosted/pub.dev/objectbox_flutter_libs-4.3.1/ios/objectbox_flutter_libs.podspec","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e98637232a532ba23f5b617a0d90efd654b","name":"Pod","path":"","sourceTree":"","type":"group"},{"children":[{"fileType":"sourcecode.module-map","guid":"bfdfe7dc352907fc980b868725387e98b2ea48f739b4c6ed9daa46d4c1e8a827","path":"objectbox_flutter_libs.modulemap","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e983b77c3d05996e7a019f8987926e929b3","path":"objectbox_flutter_libs-dummy.m","sourceTree":"","type":"file"},{"fileType":"text.plist.xml","guid":"bfdfe7dc352907fc980b868725387e98396d187896e9bdc2769a832727b6006d","path":"objectbox_flutter_libs-Info.plist","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98669bf17404b0d843f212b0e9ac1ac81b","path":"objectbox_flutter_libs-prefix.pch","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e988aff0b46cb00d2a5c845e267fac16e08","path":"objectbox_flutter_libs-umbrella.h","sourceTree":"","type":"file"},{"fileType":"text.xcconfig","guid":"bfdfe7dc352907fc980b868725387e98423956da50d98a5118e0caf80fa439f6","path":"objectbox_flutter_libs.debug.xcconfig","sourceTree":"","type":"file"},{"fileType":"text.xcconfig","guid":"bfdfe7dc352907fc980b868725387e989ffef87491ab2aad1ddc7f8aeb0128f6","path":"objectbox_flutter_libs.release.xcconfig","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e98396f049b1568644fc7a091aa0493f18d","name":"Support Files","path":"../../../../Pods/Target Support Files/objectbox_flutter_libs","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98d504b49479b66abf32005f1a447e0c7e","name":"objectbox_flutter_libs","path":"../.symlinks/plugins/objectbox_flutter_libs/ios","sourceTree":"","type":"group"},{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e984ebae4f4ea02c4e93b29e3d78d2d2baf","path":"../../../../../../../../../../.pub-cache/hosted/pub.dev/package_info_plus-8.3.1/ios/package_info_plus/Sources/package_info_plus/FPPPackageInfoPlusPlugin.m","sourceTree":"","type":"file"},{"fileType":"text.xml","guid":"bfdfe7dc352907fc980b868725387e987da0dca8e6b6cfc96465df580c4b6738","path":"../../../../../../../../../../.pub-cache/hosted/pub.dev/package_info_plus-8.3.1/ios/package_info_plus/Sources/package_info_plus/PrivacyInfo.xcprivacy","sourceTree":"","type":"file"},{"children":[{"children":[{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98c91b2a33ca061d402a5f34f11e59bc60","path":"../../../../../../../../../../../../.pub-cache/hosted/pub.dev/package_info_plus-8.3.1/ios/package_info_plus/Sources/package_info_plus/include/package_info_plus/FPPPackageInfoPlusPlugin.h","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e985f17e064a3c9ed4d38c2dfe61e70b610","name":"package_info_plus","path":"package_info_plus","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e9847a40c8d46a7b852400a6f6db3c9748b","name":"include","path":"include","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e988f16a9c410f6b4e43499c0ef6ac3fd7f","name":"package_info_plus","path":"package_info_plus","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e980cb183ac05b1dee3db28d4d121feb83e","name":"Sources","path":"Sources","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98cda71ffba0b9a3a2286cbef8bf0b1b7f","name":"package_info_plus","path":"package_info_plus","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98c2d32e376242e6dd7d1a8841eea522b9","name":"ios","path":"ios","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e9897fd5bb5a851ab6bfe792993c10f9788","name":"package_info_plus","path":"package_info_plus","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e987cf21cced006c3698681c86070b61d68","name":"plugins","path":"plugins","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98a45596ce2ffd2d17c80fe45fe726c0c1","name":".symlinks","path":".symlinks","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e988cfe12b8fa136e2fa94d67a908018aff","name":"ios","path":"ios","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e9892d94f91743f92207ebf59d706aeda85","name":"meshcore_sar_app","path":"meshcore_sar_app","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e984c4049451d9f3ed2d37e109e89f6cf32","name":"meshcore-sar","path":"meshcore-sar","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e986f161a59db6cf4562023d2546e6fc993","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e983da5a2feb0db4988660baa0d6ac8e688","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98e0b58151f95e003066ca997c5577b156","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e9887b197aaef0f073cf326ebc54d27ad1a","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e9842674e6d399a96c13d4469e666067690","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98dee6dac85e581832d73ad31f51254627","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e988a777d240c8eff9d9a02644e111752fc","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e984fce851d5654fd525241f9c86c916c9b","name":"..","path":"../../../../../../../.pub-cache/hosted/pub.dev/package_info_plus-8.3.1/ios/package_info_plus/Sources","sourceTree":"","type":"group"},{"children":[{"fileType":"text","guid":"bfdfe7dc352907fc980b868725387e98895c51f3f9f19342df72396120601449","path":"../../../../../../../.pub-cache/hosted/pub.dev/package_info_plus-8.3.1/LICENSE","sourceTree":"","type":"file"},{"fileType":"text.script.ruby","guid":"bfdfe7dc352907fc980b868725387e98be1ab589da2a47cacea470253d604164","path":"../../../../../../../.pub-cache/hosted/pub.dev/package_info_plus-8.3.1/ios/package_info_plus.podspec","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e98d1cd8eb43e6f92a06f750123d10aed7f","name":"Pod","path":"","sourceTree":"","type":"group"},{"children":[{"fileType":"sourcecode.module-map","guid":"bfdfe7dc352907fc980b868725387e9872f25cf9a292e2caab494499447af322","path":"package_info_plus.modulemap","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e989af135c45ee40240df056a1bf4f99431","path":"package_info_plus-dummy.m","sourceTree":"","type":"file"},{"fileType":"text.plist.xml","guid":"bfdfe7dc352907fc980b868725387e982bdf961706b631ede582630a3deb9a09","path":"package_info_plus-Info.plist","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98161f75f504f1c0803188075d7bf2180f","path":"package_info_plus-prefix.pch","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98dbc9b5763bc15b649380ea8c9ebcb117","path":"package_info_plus-umbrella.h","sourceTree":"","type":"file"},{"fileType":"text.xcconfig","guid":"bfdfe7dc352907fc980b868725387e988447dbc9b1396f2f8b874665d7663344","path":"package_info_plus.debug.xcconfig","sourceTree":"","type":"file"},{"fileType":"text.xcconfig","guid":"bfdfe7dc352907fc980b868725387e982618b5a51037a32a885f4497ede4dcf3","path":"package_info_plus.release.xcconfig","sourceTree":"","type":"file"},{"fileType":"text.plist.xml","guid":"bfdfe7dc352907fc980b868725387e9867d1e88c78eac0bc12b75f6e2c324f9c","path":"ResourceBundle-package_info_plus_privacy-package_info_plus-Info.plist","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e98b60ef6b666f8758072b3983f40ced1ac","name":"Support Files","path":"../../../../Pods/Target Support Files/package_info_plus","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98bf7a7c88edba62e629a880431d8c6220","name":"package_info_plus","path":"../.symlinks/plugins/package_info_plus/ios","sourceTree":"","type":"group"},{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"fileType":"text.xml","guid":"bfdfe7dc352907fc980b868725387e98f875f9d760fe29ff006006bf8a5e29db","path":"../../../../../../../../../../../.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.2/darwin/path_provider_foundation/Sources/path_provider_foundation/Resources/PrivacyInfo.xcprivacy","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e985e1d8854865b063a2f9d72d14fdee2fa","name":"Resources","path":"Resources","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e982ee891c4cfd5c39912726fe7aa996880","name":"path_provider_foundation","path":"path_provider_foundation","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98a6276c2c334d1facadf926113508ee26","name":"Sources","path":"Sources","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98de61a90298f150145ec68ab683765982","name":"path_provider_foundation","path":"path_provider_foundation","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98e4f82736517ba407091050df8fa96962","name":"darwin","path":"darwin","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98234593c8198c40a7330693dc7d51e179","name":"path_provider_foundation","path":"path_provider_foundation","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e983c4e1c761b32cc3621e8a9af47e6ecc5","name":"plugins","path":"plugins","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e986275d269dc33db151f671872083a0c07","name":".symlinks","path":".symlinks","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98827796d477eefa6945f41c29f5f880cd","name":"ios","path":"ios","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98b4fc1c951fb7aa27a7eff792dbecd089","name":"meshcore_sar_app","path":"meshcore_sar_app","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98a759171ebdc2ddf34e1113e70a4108ae","name":"meshcore-sar","path":"meshcore-sar","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98fd14f23e6e4641f6a36a5ce432ec5768","name":"..","path":".","sourceTree":"","type":"group"},{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"fileType":"sourcecode.swift","guid":"bfdfe7dc352907fc980b868725387e98c01ff897662d0287ccb106430b06cb25","path":"../../../../../../../../../../.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.2/darwin/path_provider_foundation/Sources/path_provider_foundation/messages.g.swift","sourceTree":"","type":"file"},{"fileType":"sourcecode.swift","guid":"bfdfe7dc352907fc980b868725387e9869640042be7993b8d3d4e85c9094541b","path":"../../../../../../../../../../.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.2/darwin/path_provider_foundation/Sources/path_provider_foundation/PathProviderPlugin.swift","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e9851637e6ee4650c64ee50659a0f302596","name":"path_provider_foundation","path":"path_provider_foundation","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e989233b43cfe79d650959230a147c2d87c","name":"Sources","path":"Sources","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e9869fd4fad1d20cc1434c1f786caf1a250","name":"path_provider_foundation","path":"path_provider_foundation","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98a3317dd65eebda2624cc89b7231efaf4","name":"darwin","path":"darwin","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98d23a2bf24cfd637c9c0b440d5f3aa313","name":"path_provider_foundation","path":"path_provider_foundation","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98d8628faff8d19a7b900a10989c8a2e00","name":"plugins","path":"plugins","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98139ceeef06948c9482fb5c66409ac732","name":".symlinks","path":".symlinks","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e9891ff0af38404807a33a6f5aec7b77283","name":"ios","path":"ios","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e9864ada7809c06671131938f9d664704f1","name":"meshcore_sar_app","path":"meshcore_sar_app","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98c49f4ac808a929e70d55efd75f0b5c81","name":"meshcore-sar","path":"meshcore-sar","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e9818c2fed980e450d737ec08e4b3b12aba","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98e405c134c80e41669624877af3f7ef82","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98e1159887227ce177fa90d71af576e5ff","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e9886960ad3bcb6fdf9b5afa587f84b288f","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e987038ccd29300bf90b3adcfe79567cbb6","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e985bf8434941c3c5a79eb4f091d0d5f4f3","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98736e0bc644e4d71c080f82d6ecba9c06","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e981215cc3f3055557e5825034d7a183cf5","name":"..","path":"../../../../../../../.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.2/darwin/path_provider_foundation/Sources","sourceTree":"","type":"group"},{"children":[{"fileType":"text","guid":"bfdfe7dc352907fc980b868725387e98104f85b78c4e17eb1e36dbe1f85c4ae1","path":"../../../../../../../.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.2/LICENSE","sourceTree":"","type":"file"},{"fileType":"text.script.ruby","guid":"bfdfe7dc352907fc980b868725387e98596e29643363d76c47d8c7465d2e1790","path":"../../../../../../../.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.2/darwin/path_provider_foundation.podspec","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e98232e23ccfa8c284176f016eade0a4aa2","name":"Pod","path":"","sourceTree":"","type":"group"},{"children":[{"fileType":"sourcecode.module-map","guid":"bfdfe7dc352907fc980b868725387e980ecfc8cf03a88147869ee87e448fbc86","path":"path_provider_foundation.modulemap","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e982c85425986bf1a49591325e47078c72c","path":"path_provider_foundation-dummy.m","sourceTree":"","type":"file"},{"fileType":"text.plist.xml","guid":"bfdfe7dc352907fc980b868725387e986a1aadb5ebabb2830f52f1fb1b1cc459","path":"path_provider_foundation-Info.plist","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e9851fd89eb968ded98d257df92c9632901","path":"path_provider_foundation-prefix.pch","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98946a6778d27860136a125954e88013bb","path":"path_provider_foundation-umbrella.h","sourceTree":"","type":"file"},{"fileType":"text.xcconfig","guid":"bfdfe7dc352907fc980b868725387e985d6c98d572eacea560ef85525944bc53","path":"path_provider_foundation.debug.xcconfig","sourceTree":"","type":"file"},{"fileType":"text.xcconfig","guid":"bfdfe7dc352907fc980b868725387e983214452bd1fb01e59882991c3a0c6270","path":"path_provider_foundation.release.xcconfig","sourceTree":"","type":"file"},{"fileType":"text.plist.xml","guid":"bfdfe7dc352907fc980b868725387e98a34b262393a05a4b426d23ae6f2c9962","path":"ResourceBundle-path_provider_foundation_privacy-path_provider_foundation-Info.plist","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e983f2673d7cab826d74623fb153ff0fb77","name":"Support Files","path":"../../../../Pods/Target Support Files/path_provider_foundation","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98fdcb8714d7e90e24ced8663be0c231e2","name":"path_provider_foundation","path":"../.symlinks/plugins/path_provider_foundation/darwin","sourceTree":"","type":"group"},{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"children":[{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98e2305b2e53e825bcc047b3ed2d50d507","path":"../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/PermissionHandlerEnums.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98484ed92ac29f158d62a9030f5291f267","path":"../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/PermissionHandlerPlugin.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e988b9f17c67ec312fe1d805a6f425a42e9","path":"../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/PermissionHandlerPlugin.m","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e983f916e4e08534b57a6ed92c46b4d4f17","path":"../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/PermissionManager.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e98e1b6aaaf15996f7be3b21dfbae617c18","path":"../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/PermissionManager.m","sourceTree":"","type":"file"},{"children":[{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e987c0d43853404b132f3f91c6bfe8a742a","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/AppTrackingTransparencyPermissionStrategy.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e98c8e17c1e74111b2fac4dde6966d8285c","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/AppTrackingTransparencyPermissionStrategy.m","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98429a2d78511cfbbcbb96b899d3575831","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/AssistantPermissionStrategy.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e986f7d242b0924466e7b42c147361fa2fd","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/AssistantPermissionStrategy.m","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e981ab79c3a05dfe31794766c005e1dfc50","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/AudioVideoPermissionStrategy.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e98efd1f74b10a1177c4cada7ece0196eb3","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/AudioVideoPermissionStrategy.m","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e9877ef64b20b01b593f09c75131fa6b102","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/BackgroundRefreshStrategy.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e983ea8c0d1bdc8d8abbfda3e6d96a93d35","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/BackgroundRefreshStrategy.m","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98c87d3c62178ecf550810a3ebc537e8e2","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/BluetoothPermissionStrategy.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e98ea12587b6822ff641dae391daed12640","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/BluetoothPermissionStrategy.m","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98135f69101a9ae0766a6ef49c4401df3e","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/ContactPermissionStrategy.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e986c62d3ef794a2b435a105a8cedafd9de","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/ContactPermissionStrategy.m","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98f0ddca4567d5245602b7b04f6226e2cf","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/CriticalAlertsPermissionStrategy.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e9836fe6e082912e0edab975aa049908f1a","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/CriticalAlertsPermissionStrategy.m","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e9886c8cbb8c3f593a74ab208ccd5f139cc","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/EventPermissionStrategy.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e985477f4ffe4ea412a193f3d11acc012a1","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/EventPermissionStrategy.m","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98b94764a92a1db6a95218db4e57cdfa2a","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/LocationPermissionStrategy.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e9873f922c06d18c7c78453703ae3e73637","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/LocationPermissionStrategy.m","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98f651b259b0b2b2e37910aa16b734158a","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/MediaLibraryPermissionStrategy.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e989713fad64298df7a201ab27482ce137b","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/MediaLibraryPermissionStrategy.m","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98246b9d724693a06412d258971aa60da9","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/NotificationPermissionStrategy.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e98f023d88dd4984393ae4f6dfe33bb27ca","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/NotificationPermissionStrategy.m","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98c187dad23ed54d5d149c80735cc002a0","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/PermissionStrategy.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98c44a03f56f37d9030f069d174c5b8466","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/PhonePermissionStrategy.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e9854529faa6767a3d88750593766ea6797","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/PhonePermissionStrategy.m","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e985b10f3e0519d74309f76e2db5ef148ea","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/PhotoPermissionStrategy.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e98802b8da836cc0268e3bd1370516743bd","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/PhotoPermissionStrategy.m","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98e7b3c8f3cfe1b109ac3efa1e50955efc","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/SensorPermissionStrategy.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e981c5f96cbf40f904f9e29ab422d0ce706","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/SensorPermissionStrategy.m","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e983a2c663bee231b5989a516a463944f59","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/SpeechPermissionStrategy.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e98e7e08bb89a51ad6a79c5a20e523b3e07","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/SpeechPermissionStrategy.m","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e987c07dc936b130b722695b28725cee41e","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/StoragePermissionStrategy.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e9841265df3502be02cc05297d2efcfcb0d","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/StoragePermissionStrategy.m","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98e588ef7fbf3b86d982d6bbce3afc5c44","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/UnknownPermissionStrategy.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e98789323bd948a9d8bfc215048fdeb02bc","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/strategies/UnknownPermissionStrategy.m","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e9811082147c8b1478a04442e062920f01b","name":"strategies","path":"strategies","sourceTree":"","type":"group"},{"children":[{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e980949a56b17f08f811a7d6cf551797061","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/util/Codec.h","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e9870b352ea313bd20fcbee8c4f4ead4c6a","path":"../../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Classes/util/Codec.m","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e98d9b1dc3e14a266254d28947e875a9bb1","name":"util","path":"util","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98a80be5c71816e4d252394caee5d96b50","name":"Classes","path":"Classes","sourceTree":"","type":"group"},{"children":[{"fileType":"text.xml","guid":"bfdfe7dc352907fc980b868725387e982eac7f03e53587ac5e1b2814ff7688b5","path":"../../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/Resources/PrivacyInfo.xcprivacy","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e981a94462e2f28e850fc625b06a48facc5","name":"Resources","path":"Resources","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e986106551633afe0d1a3df17f3627c18b0","name":"ios","path":"ios","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98bcb93e753441deddb85db5eddceec03f","name":"permission_handler_apple","path":"permission_handler_apple","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e986d0b128697b416f2928a75122c4c0da6","name":"plugins","path":"plugins","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98721aa16300d10f033044a2fed60721c5","name":".symlinks","path":".symlinks","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e9841f5f3880a845c84e5db664295b0c4ea","name":"ios","path":"ios","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98549cc039dd71befe1f24bed47e72c2c1","name":"meshcore_sar_app","path":"meshcore_sar_app","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98fd852edb17a241d3e98ab24ab01125d6","name":"meshcore-sar","path":"meshcore-sar","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e9894d30cb008d2680bfce7ea197019d172","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98fe5d850d0894b4f5da4e5f98f6a55ccc","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98eff9c588063d918aa2a955448664d7ee","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e980eaceba6b60bc31a60b7563e85f881a8","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e987f9d129294b47c5032ff2184972ce3ae","name":"..","path":"..","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e989555c763ef989e3be358db1e19d68640","name":"..","path":"../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios","sourceTree":"","type":"group"},{"children":[{"fileType":"text","guid":"bfdfe7dc352907fc980b868725387e981839aa3835ce2269b600a92fee0aea3b","path":"../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/LICENSE","sourceTree":"","type":"file"},{"fileType":"text.script.ruby","guid":"bfdfe7dc352907fc980b868725387e98f74ab032f76c6d336e038e64ce6ad6bf","path":"../../../../../../../.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/ios/permission_handler_apple.podspec","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e985b85523a741d303e68aaf91624f47462","name":"Pod","path":"","sourceTree":"","type":"group"},{"children":[{"fileType":"sourcecode.module-map","guid":"bfdfe7dc352907fc980b868725387e9889ed0fe72b8061ee06fe2ff687d29bfb","path":"permission_handler_apple.modulemap","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e9800f96a07ad4fb260a18febc2c4f529bf","path":"permission_handler_apple-dummy.m","sourceTree":"","type":"file"},{"fileType":"text.plist.xml","guid":"bfdfe7dc352907fc980b868725387e9807af368ea775b6e5f5cbd8b1d0de5861","path":"permission_handler_apple-Info.plist","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e9816f7c8041fdc12bc3ae0615874731c49","path":"permission_handler_apple-prefix.pch","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98f10c3601c0a1f5ed402870388796e9fd","path":"permission_handler_apple-umbrella.h","sourceTree":"","type":"file"},{"fileType":"text.xcconfig","guid":"bfdfe7dc352907fc980b868725387e98b2d96934906ee3fbaef29d6d94829467","path":"permission_handler_apple.debug.xcconfig","sourceTree":"","type":"file"},{"fileType":"text.xcconfig","guid":"bfdfe7dc352907fc980b868725387e987f457f86a057c20b67c9b014731ae27e","path":"permission_handler_apple.release.xcconfig","sourceTree":"","type":"file"},{"fileType":"text.plist.xml","guid":"bfdfe7dc352907fc980b868725387e984ae153470f67a5d7ef84624feacdbadb","path":"ResourceBundle-permission_handler_apple_privacy-permission_handler_apple-Info.plist","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e98c4b98f53b2061af3d654f7880ca5b7f8","name":"Support Files","path":"../../../../Pods/Target Support Files/permission_handler_apple","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98f60513b982a61c866dc5aa2db7f83e25","name":"permission_handler_apple","path":"../.symlinks/plugins/permission_handler_apple/ios","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e9874871969ed8c41c5f244bd557389927c","name":"Development Pods","path":"","sourceTree":"","type":"group"},{"children":[{"children":[{"fileType":"wrapper.framework","guid":"bfdfe7dc352907fc980b868725387e9899753739776b473e75ef75c97d0c67bb","path":"Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.0.sdk/System/Library/Frameworks/CoreBluetooth.framework","sourceTree":"DEVELOPER_DIR","type":"file"},{"fileType":"wrapper.framework","guid":"bfdfe7dc352907fc980b868725387e98694402cafaaf96f5099d07dfc1c41bec","path":"Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.0.sdk/System/Library/Frameworks/Foundation.framework","sourceTree":"DEVELOPER_DIR","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e98f432c1385e51b373704dec23b5eddf2d","name":"iOS","path":"","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98093e0d274405de132c9336fa40762070","name":"Frameworks","path":"","sourceTree":"","type":"group"},{"children":[{"children":[{"children":[{"fileType":"wrapper.xcframework","guid":"bfdfe7dc352907fc980b868725387e9810df7cb77cd415bb1aaabd872c992ba2","path":"ObjectBox.xcframework","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e9860e7f5770914bccd55825ac579ed56d4","name":"Frameworks","path":"","sourceTree":"","type":"group"},{"children":[{"fileType":"text.script.sh","guid":"bfdfe7dc352907fc980b868725387e98b5b6b78d11ccefc3165d6251ed61eedc","path":"ObjectBox-xcframeworks.sh","sourceTree":"","type":"file"},{"fileType":"text.xcconfig","guid":"bfdfe7dc352907fc980b868725387e98c5ae77c3ed9c6121cedd0cc76f43439d","path":"ObjectBox.debug.xcconfig","sourceTree":"","type":"file"},{"fileType":"text.xcconfig","guid":"bfdfe7dc352907fc980b868725387e98bc34136e26d305900a48578fde6599dd","path":"ObjectBox.release.xcconfig","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e98ea327197f06d6f87c2bc5d6e84ba1290","name":"Support Files","path":"../Target Support Files/ObjectBox","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98f2b80688d4b944ce8cbdd4ac00a8df4b","name":"ObjectBox","path":"ObjectBox","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e980fbbcdf6fb70639a113706a10e1f7b8a","name":"Pods","path":"","sourceTree":"","type":"group"},{"guid":"bfdfe7dc352907fc980b868725387e984a6c604a899da65a3fa2355d39758407","name":"Products","path":"","sourceTree":"","type":"group"},{"children":[{"children":[{"fileType":"sourcecode.module-map","guid":"bfdfe7dc352907fc980b868725387e98a3f4680c874ecbcb5b5a6338bc13a426","path":"Pods-Runner.modulemap","sourceTree":"","type":"file"},{"fileType":"text","guid":"bfdfe7dc352907fc980b868725387e9814181933c973297b0001d0e9ee64381d","path":"Pods-Runner-acknowledgements.markdown","sourceTree":"","type":"file"},{"fileType":"text.plist.xml","guid":"bfdfe7dc352907fc980b868725387e9887440869a53d6020d968ddf6b9b30aa0","path":"Pods-Runner-acknowledgements.plist","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e98fed0970e703d355c9aff813f280aafdc","path":"Pods-Runner-dummy.m","sourceTree":"","type":"file"},{"fileType":"text.script.sh","guid":"bfdfe7dc352907fc980b868725387e9826e505869a67d81656859ded68178c1d","path":"Pods-Runner-frameworks.sh","sourceTree":"","type":"file"},{"fileType":"text.plist.xml","guid":"bfdfe7dc352907fc980b868725387e98de02ac5005ab1eb052abf25c63731e95","path":"Pods-Runner-Info.plist","sourceTree":"","type":"file"},{"fileType":"text.script.sh","guid":"bfdfe7dc352907fc980b868725387e98f6f4dcb116856f2da0fa97d3015cb1af","path":"Pods-Runner-resources.sh","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e980ec6fbca7264a6936f2adfc48dd7f5bc","path":"Pods-Runner-umbrella.h","sourceTree":"","type":"file"},{"fileType":"text.xcconfig","guid":"bfdfe7dc352907fc980b868725387e9850cc7fc2d23136fb4fac488d6c47df20","path":"Pods-Runner.debug.xcconfig","sourceTree":"","type":"file"},{"fileType":"text.xcconfig","guid":"bfdfe7dc352907fc980b868725387e98dc1a21852c7a085c7dd8f65cf0fa9907","path":"Pods-Runner.profile.xcconfig","sourceTree":"","type":"file"},{"fileType":"text.xcconfig","guid":"bfdfe7dc352907fc980b868725387e98f17abf55d75f35efcaf45a1185b085b6","path":"Pods-Runner.release.xcconfig","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e98cf3c1972df678a5e36df75a46391500d","name":"Pods-Runner","path":"Target Support Files/Pods-Runner","sourceTree":"","type":"group"},{"children":[{"fileType":"sourcecode.module-map","guid":"bfdfe7dc352907fc980b868725387e984c4f55ec853c945e234980557a98aed8","path":"Pods-RunnerTests.modulemap","sourceTree":"","type":"file"},{"fileType":"text","guid":"bfdfe7dc352907fc980b868725387e98fc0f7e7242f459f81e455145932dcafd","path":"Pods-RunnerTests-acknowledgements.markdown","sourceTree":"","type":"file"},{"fileType":"text.plist.xml","guid":"bfdfe7dc352907fc980b868725387e985f8b68b152f46f18718da20c04e675cb","path":"Pods-RunnerTests-acknowledgements.plist","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.objc","guid":"bfdfe7dc352907fc980b868725387e98022654f1ff78dd844d694dba2439dab2","path":"Pods-RunnerTests-dummy.m","sourceTree":"","type":"file"},{"fileType":"text.plist.xml","guid":"bfdfe7dc352907fc980b868725387e989e5ad6b9a07953a12c7008a15bd9c99c","path":"Pods-RunnerTests-Info.plist","sourceTree":"","type":"file"},{"fileType":"sourcecode.c.h","guid":"bfdfe7dc352907fc980b868725387e98e5e8bcdff29e5f8321be18f7989b4bc7","path":"Pods-RunnerTests-umbrella.h","sourceTree":"","type":"file"},{"fileType":"text.xcconfig","guid":"bfdfe7dc352907fc980b868725387e98144cd18850e477837c238075d5256ffe","path":"Pods-RunnerTests.debug.xcconfig","sourceTree":"","type":"file"},{"fileType":"text.xcconfig","guid":"bfdfe7dc352907fc980b868725387e981b663a2c82f0220040296818ba53477e","path":"Pods-RunnerTests.profile.xcconfig","sourceTree":"","type":"file"},{"fileType":"text.xcconfig","guid":"bfdfe7dc352907fc980b868725387e98965b92d39d30a7872295adc2841cd1b1","path":"Pods-RunnerTests.release.xcconfig","sourceTree":"","type":"file"}],"guid":"bfdfe7dc352907fc980b868725387e9859551a2ccb1df711861b574920cd49bf","name":"Pods-RunnerTests","path":"Target Support Files/Pods-RunnerTests","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98dafc421ff02609f2772b356038eb9849","name":"Targets Support Files","path":"","sourceTree":"","type":"group"}],"guid":"bfdfe7dc352907fc980b868725387e98677e601b37074db53aff90e47c8f96d1","name":"Pods","path":"","sourceTree":"","type":"group"},"guid":"bfdfe7dc352907fc980b868725387e98","path":"/Users/dz0ny/meshcore-sar/meshcore_sar_app/ios/Pods/Pods.xcodeproj","projectDirectory":"/Users/dz0ny/meshcore-sar/meshcore_sar_app/ios/Pods","targets":["TARGET@v11_hash=3567e32d075e7ae442ecbd6e7e1204e9","TARGET@v11_hash=4328e20fc8830b47baadddf888ea768a","TARGET@v11_hash=7a8ea7e02745229d8fda3bfd43749c9b","TARGET@v11_hash=05bac65c1874bef27c6481ddee5e5db7","TARGET@v11_hash=a059155a33d4882ca6c2ebd347dcbd37","TARGET@v11_hash=4568203440f9ae9309f25c7e1ea3fc93","TARGET@v11_hash=e72533b61a16b5054ea33643eac1fa25","TARGET@v11_hash=535d2a6a90460d69909cf3eea95cdff7","TARGET@v11_hash=e04399206bf67f5428d9452d06bafc04","TARGET@v11_hash=adee91e78bc79e501172d4c30e647038","TARGET@v11_hash=75037cad0fcd27243df34022d4cbd778","TARGET@v11_hash=ebee832c46821061ef3593f1aeef1803","TARGET@v11_hash=f7b9f55bd8bfe494e0bd79d6cf6a8884","TARGET@v11_hash=27000aada9ba176dfc9e12343ad61103"]} \ No newline at end of file diff --git a/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=05bac65c1874bef27c6481ddee5e5db7-json b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=05bac65c1874bef27c6481ddee5e5db7-json new file mode 100644 index 0000000..a724519 --- /dev/null +++ b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=05bac65c1874bef27c6481ddee5e5db7-json @@ -0,0 +1 @@ +{"buildConfigurations":[{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e98db4168bc813778add322f796c1886948","buildSettings":{"CODE_SIGNING_ALLOWED":"NO","CODE_SIGNING_IDENTITY":"-","CODE_SIGNING_REQUIRED":"NO","CONFIGURATION_BUILD_DIR":"$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/geolocator_apple","EXPANDED_CODE_SIGN_IDENTITY":"-","IBSC_MODULE":"geolocator_apple","INFOPLIST_FILE":"Target Support Files/geolocator_apple/ResourceBundle-geolocator_apple_privacy-geolocator_apple-Info.plist","IPHONEOS_DEPLOYMENT_TARGET":"11.0","ONLY_ACTIVE_ARCH":"NO","PRODUCT_NAME":"geolocator_apple_privacy","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","TARGETED_DEVICE_FAMILY":"1,2","WRAPPER_EXTENSION":"bundle"},"guid":"bfdfe7dc352907fc980b868725387e984f90d418214f372cb5652188b6c03ab7","name":"Debug"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e98eaf9cc3cd0e4bd5b5081a977e6dd395a","buildSettings":{"CLANG_ENABLE_OBJC_WEAK":"NO","CODE_SIGNING_ALLOWED":"NO","CODE_SIGNING_IDENTITY":"-","CODE_SIGNING_REQUIRED":"NO","CONFIGURATION_BUILD_DIR":"$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/geolocator_apple","EXPANDED_CODE_SIGN_IDENTITY":"-","IBSC_MODULE":"geolocator_apple","INFOPLIST_FILE":"Target Support Files/geolocator_apple/ResourceBundle-geolocator_apple_privacy-geolocator_apple-Info.plist","IPHONEOS_DEPLOYMENT_TARGET":"11.0","PRODUCT_NAME":"geolocator_apple_privacy","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","TARGETED_DEVICE_FAMILY":"1,2","VALIDATE_PRODUCT":"YES","WRAPPER_EXTENSION":"bundle"},"guid":"bfdfe7dc352907fc980b868725387e98ef1f6c2c0471787bb8c754d246f4e6f8","name":"Profile"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e98eaf9cc3cd0e4bd5b5081a977e6dd395a","buildSettings":{"CODE_SIGNING_ALLOWED":"NO","CODE_SIGNING_IDENTITY":"-","CODE_SIGNING_REQUIRED":"NO","CONFIGURATION_BUILD_DIR":"$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/geolocator_apple","EXPANDED_CODE_SIGN_IDENTITY":"-","IBSC_MODULE":"geolocator_apple","INFOPLIST_FILE":"Target Support Files/geolocator_apple/ResourceBundle-geolocator_apple_privacy-geolocator_apple-Info.plist","IPHONEOS_DEPLOYMENT_TARGET":"11.0","PRODUCT_NAME":"geolocator_apple_privacy","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","TARGETED_DEVICE_FAMILY":"1,2","WRAPPER_EXTENSION":"bundle"},"guid":"bfdfe7dc352907fc980b868725387e98e7e407f8bb5172b2db2019bb528593a9","name":"Release"}],"buildPhases":[{"buildFiles":[],"guid":"bfdfe7dc352907fc980b868725387e9884f731f5ac95fb5b060ee50b794122f2","type":"com.apple.buildphase.sources"},{"buildFiles":[],"guid":"bfdfe7dc352907fc980b868725387e982ce1691e61b20960a2ea685395560596","type":"com.apple.buildphase.frameworks"},{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e982d53e45b4eb2667e94d388d54e1ed196","guid":"bfdfe7dc352907fc980b868725387e98276a88038657a871d360f4cbfebc876d"}],"guid":"bfdfe7dc352907fc980b868725387e98cd4b69f26505cfa442ef066f8d043cc4","type":"com.apple.buildphase.resources"}],"buildRules":[],"dependencies":[],"guid":"bfdfe7dc352907fc980b868725387e98e1aba8ff8dc833f2269ce0a7182533b3","name":"geolocator_apple-geolocator_apple_privacy","productReference":{"guid":"bfdfe7dc352907fc980b868725387e980ae07e1806c3af2f5550d2e89780c766","name":"geolocator_apple_privacy.bundle","type":"product"},"productTypeIdentifier":"com.apple.product-type.bundle","provisioningSourceData":[{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Debug","provisioningStyle":0},{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Profile","provisioningStyle":0},{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Release","provisioningStyle":0}],"type":"standard"} \ No newline at end of file diff --git a/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=27000aada9ba176dfc9e12343ad61103-json b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=27000aada9ba176dfc9e12343ad61103-json new file mode 100644 index 0000000..82a1bbc --- /dev/null +++ b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=27000aada9ba176dfc9e12343ad61103-json @@ -0,0 +1 @@ +{"buildConfigurations":[{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e98144cd18850e477837c238075d5256ffe","buildSettings":{"ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES":"NO","CLANG_ENABLE_OBJC_WEAK":"NO","CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER":"NO","CODE_SIGN_IDENTITY[sdk=appletvos*]":"","CODE_SIGN_IDENTITY[sdk=iphoneos*]":"","CODE_SIGN_IDENTITY[sdk=watchos*]":"","CURRENT_PROJECT_VERSION":"1","DEFINES_MODULE":"YES","DYLIB_COMPATIBILITY_VERSION":"1","DYLIB_CURRENT_VERSION":"1","DYLIB_INSTALL_NAME_BASE":"@rpath","ENABLE_BITCODE":"NO","ENABLE_MODULE_VERIFIER":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","EXCLUDED_ARCHS[sdk=iphoneos*]":"$(inherited) armv7","EXCLUDED_ARCHS[sdk=iphonesimulator*]":"$(inherited) i386","FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64\" $(inherited)","FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator\" $(inherited)","INFOPLIST_FILE":"Target Support Files/Pods-RunnerTests/Pods-RunnerTests-Info.plist","INSTALL_PATH":"$(LOCAL_LIBRARY_DIR)/Frameworks","IPHONEOS_DEPLOYMENT_TARGET":"13.0","LD_RUNPATH_SEARCH_PATHS":"$(inherited) @executable_path/Frameworks @loader_path/Frameworks","MACH_O_TYPE":"staticlib","MODULEMAP_FILE":"Target Support Files/Pods-RunnerTests/Pods-RunnerTests.modulemap","ONLY_ACTIVE_ARCH":"NO","OTHER_LDFLAGS":"$(inherited) -framework Flutter","OTHER_LIBTOOLFLAGS":"","PODS_ROOT":"$(SRCROOT)","PRODUCT_BUNDLE_IDENTIFIER":"org.cocoapods.${PRODUCT_NAME:rfc1034identifier}","PRODUCT_NAME":"$(TARGET_NAME:c99extidentifier)","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","TARGETED_DEVICE_FAMILY":"1,2","VALID_ARCHS[sdk=iphonesimulator*]":"$(ARCHS_STANDARD)","VERSIONING_SYSTEM":"apple-generic","VERSION_INFO_PREFIX":""},"guid":"bfdfe7dc352907fc980b868725387e980029bc42f3dda39154e9cd2e8ce213da","name":"Debug"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e981b663a2c82f0220040296818ba53477e","buildSettings":{"ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES":"NO","CLANG_ENABLE_OBJC_WEAK":"NO","CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER":"NO","CODE_SIGN_IDENTITY[sdk=appletvos*]":"","CODE_SIGN_IDENTITY[sdk=iphoneos*]":"","CODE_SIGN_IDENTITY[sdk=watchos*]":"","CURRENT_PROJECT_VERSION":"1","DEFINES_MODULE":"YES","DYLIB_COMPATIBILITY_VERSION":"1","DYLIB_CURRENT_VERSION":"1","DYLIB_INSTALL_NAME_BASE":"@rpath","ENABLE_BITCODE":"NO","ENABLE_MODULE_VERIFIER":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","EXCLUDED_ARCHS[sdk=iphoneos*]":"$(inherited) armv7","EXCLUDED_ARCHS[sdk=iphonesimulator*]":"$(inherited) i386","FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64\" $(inherited)","FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64_x86_64-simulator\" $(inherited)","INFOPLIST_FILE":"Target Support Files/Pods-RunnerTests/Pods-RunnerTests-Info.plist","INSTALL_PATH":"$(LOCAL_LIBRARY_DIR)/Frameworks","IPHONEOS_DEPLOYMENT_TARGET":"13.0","LD_RUNPATH_SEARCH_PATHS":"$(inherited) @executable_path/Frameworks @loader_path/Frameworks","MACH_O_TYPE":"staticlib","MODULEMAP_FILE":"Target Support Files/Pods-RunnerTests/Pods-RunnerTests.modulemap","OTHER_LDFLAGS":"$(inherited) -framework Flutter","OTHER_LIBTOOLFLAGS":"","PODS_ROOT":"$(SRCROOT)","PRODUCT_BUNDLE_IDENTIFIER":"org.cocoapods.${PRODUCT_NAME:rfc1034identifier}","PRODUCT_NAME":"$(TARGET_NAME:c99extidentifier)","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","TARGETED_DEVICE_FAMILY":"1,2","VALIDATE_PRODUCT":"YES","VALID_ARCHS[sdk=iphonesimulator*]":"$(ARCHS_STANDARD)","VERSIONING_SYSTEM":"apple-generic","VERSION_INFO_PREFIX":""},"guid":"bfdfe7dc352907fc980b868725387e98d15fe13ffb666b223bfd6ee9f0a6138e","name":"Profile"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e98965b92d39d30a7872295adc2841cd1b1","buildSettings":{"ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES":"NO","CLANG_ENABLE_OBJC_WEAK":"NO","CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER":"NO","CODE_SIGN_IDENTITY[sdk=appletvos*]":"","CODE_SIGN_IDENTITY[sdk=iphoneos*]":"","CODE_SIGN_IDENTITY[sdk=watchos*]":"","CURRENT_PROJECT_VERSION":"1","DEFINES_MODULE":"YES","DYLIB_COMPATIBILITY_VERSION":"1","DYLIB_CURRENT_VERSION":"1","DYLIB_INSTALL_NAME_BASE":"@rpath","ENABLE_BITCODE":"NO","ENABLE_MODULE_VERIFIER":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","EXCLUDED_ARCHS[sdk=iphoneos*]":"$(inherited) armv7","EXCLUDED_ARCHS[sdk=iphonesimulator*]":"$(inherited) i386","FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64\" $(inherited)","FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64_x86_64-simulator\" $(inherited)","INFOPLIST_FILE":"Target Support Files/Pods-RunnerTests/Pods-RunnerTests-Info.plist","INSTALL_PATH":"$(LOCAL_LIBRARY_DIR)/Frameworks","IPHONEOS_DEPLOYMENT_TARGET":"13.0","LD_RUNPATH_SEARCH_PATHS":"$(inherited) @executable_path/Frameworks @loader_path/Frameworks","MACH_O_TYPE":"staticlib","MODULEMAP_FILE":"Target Support Files/Pods-RunnerTests/Pods-RunnerTests.modulemap","OTHER_LDFLAGS":"$(inherited) -framework Flutter","OTHER_LIBTOOLFLAGS":"","PODS_ROOT":"$(SRCROOT)","PRODUCT_BUNDLE_IDENTIFIER":"org.cocoapods.${PRODUCT_NAME:rfc1034identifier}","PRODUCT_NAME":"$(TARGET_NAME:c99extidentifier)","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","TARGETED_DEVICE_FAMILY":"1,2","VALIDATE_PRODUCT":"YES","VALID_ARCHS[sdk=iphonesimulator*]":"$(ARCHS_STANDARD)","VERSIONING_SYSTEM":"apple-generic","VERSION_INFO_PREFIX":""},"guid":"bfdfe7dc352907fc980b868725387e98d4a36e40c823f266ea5f9d0711ed6df0","name":"Release"}],"buildPhases":[{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e98e5e8bcdff29e5f8321be18f7989b4bc7","guid":"bfdfe7dc352907fc980b868725387e98ca9af5e2c54f437f9ebb0c203883ccae","headerVisibility":"public"}],"guid":"bfdfe7dc352907fc980b868725387e986e6b8bd91d07f2fb082ccd84c7dcacb1","type":"com.apple.buildphase.headers"},{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e98022654f1ff78dd844d694dba2439dab2","guid":"bfdfe7dc352907fc980b868725387e9881f185e1672aa83b98d6e30b47f8f468"}],"guid":"bfdfe7dc352907fc980b868725387e98de09b1176c796343f1f9bcd422c73402","type":"com.apple.buildphase.sources"},{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e98694402cafaaf96f5099d07dfc1c41bec","guid":"bfdfe7dc352907fc980b868725387e98e7ac2b91ee49764a75561cf994247683"}],"guid":"bfdfe7dc352907fc980b868725387e983bb5c38e7891bdb262f8e050f7d97030","type":"com.apple.buildphase.frameworks"},{"buildFiles":[],"guid":"bfdfe7dc352907fc980b868725387e987fddc24c35656402341de288e0688015","type":"com.apple.buildphase.resources"}],"buildRules":[],"dependencies":[{"guid":"bfdfe7dc352907fc980b868725387e98312b4bc59bbbe2c06c205bf4da6737f5","name":"Pods-Runner"}],"guid":"bfdfe7dc352907fc980b868725387e98483832d3c820398e9d40e1a6904b03fe","name":"Pods-RunnerTests","predominantSourceCodeLanguage":"Xcode.SourceCodeLanguage.Objective-C","productReference":{"guid":"bfdfe7dc352907fc980b868725387e984f9f39caeddf64cc331db2b69d62aa63","name":"Pods_RunnerTests.framework","type":"product"},"productTypeIdentifier":"com.apple.product-type.framework","provisioningSourceData":[{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Debug","provisioningStyle":1},{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Profile","provisioningStyle":1},{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Release","provisioningStyle":1}],"type":"standard"} \ No newline at end of file diff --git a/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=3567e32d075e7ae442ecbd6e7e1204e9-json b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=3567e32d075e7ae442ecbd6e7e1204e9-json new file mode 100644 index 0000000..2819956 --- /dev/null +++ b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=3567e32d075e7ae442ecbd6e7e1204e9-json @@ -0,0 +1 @@ +{"buildConfigurations":[{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e984da6ed4b7d87dcd4c1eb08c9fc111bbf","buildSettings":{"ASSETCATALOG_COMPILER_APPICON_NAME":"AppIcon","ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME":"AccentColor","CLANG_ENABLE_OBJC_WEAK":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","IPHONEOS_DEPLOYMENT_TARGET":"13.0","LD_RUNPATH_SEARCH_PATHS":"$(inherited) @executable_path/Frameworks","ONLY_ACTIVE_ARCH":"NO","SDKROOT":"iphoneos","TARGETED_DEVICE_FAMILY":"1,2"},"guid":"bfdfe7dc352907fc980b868725387e980bc977b873df9b0e01b3c822e5c77429","name":"Debug"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e9831c1531f7c6e1b7490400c5fb70a79a5","buildSettings":{"ASSETCATALOG_COMPILER_APPICON_NAME":"AppIcon","ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME":"AccentColor","CLANG_ENABLE_OBJC_WEAK":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","IPHONEOS_DEPLOYMENT_TARGET":"13.0","LD_RUNPATH_SEARCH_PATHS":"$(inherited) @executable_path/Frameworks","SDKROOT":"iphoneos","TARGETED_DEVICE_FAMILY":"1,2","VALIDATE_PRODUCT":"YES"},"guid":"bfdfe7dc352907fc980b868725387e98b75274b69084014a6a5ac37ea7a9d4bc","name":"Profile"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e9831c1531f7c6e1b7490400c5fb70a79a5","buildSettings":{"ASSETCATALOG_COMPILER_APPICON_NAME":"AppIcon","ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME":"AccentColor","CLANG_ENABLE_OBJC_WEAK":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","IPHONEOS_DEPLOYMENT_TARGET":"13.0","LD_RUNPATH_SEARCH_PATHS":"$(inherited) @executable_path/Frameworks","SDKROOT":"iphoneos","TARGETED_DEVICE_FAMILY":"1,2","VALIDATE_PRODUCT":"YES"},"guid":"bfdfe7dc352907fc980b868725387e988b8e6347e534cb57e9bb1b22dc47b716","name":"Release"}],"buildPhases":[],"buildRules":[],"dependencies":[],"guid":"bfdfe7dc352907fc980b868725387e989da425bb6d6d5d8dbb95e4afffb82217","name":"Flutter","provisioningSourceData":[{"bundleIdentifierFromInfoPlist":"","configurationName":"Debug","provisioningStyle":0},{"bundleIdentifierFromInfoPlist":"","configurationName":"Profile","provisioningStyle":0},{"bundleIdentifierFromInfoPlist":"","configurationName":"Release","provisioningStyle":0}],"type":"aggregate"} \ No newline at end of file diff --git a/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=4328e20fc8830b47baadddf888ea768a-json b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=4328e20fc8830b47baadddf888ea768a-json new file mode 100644 index 0000000..fdb6b2b --- /dev/null +++ b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=4328e20fc8830b47baadddf888ea768a-json @@ -0,0 +1 @@ +{"buildConfigurations":[{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e989402fcc0e483387cf03f32ac68102b2a","buildSettings":{"CLANG_ENABLE_OBJC_WEAK":"NO","CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER":"NO","CODE_SIGN_IDENTITY[sdk=appletvos*]":"","CODE_SIGN_IDENTITY[sdk=iphoneos*]":"","CODE_SIGN_IDENTITY[sdk=watchos*]":"","CURRENT_PROJECT_VERSION":"1","DYLIB_COMPATIBILITY_VERSION":"1","DYLIB_CURRENT_VERSION":"1","DYLIB_INSTALL_NAME_BASE":"@rpath","ENABLE_BITCODE":"NO","ENABLE_MODULE_VERIFIER":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","EXCLUDED_ARCHS[sdk=iphoneos*]":"$(inherited) armv7","EXCLUDED_ARCHS[sdk=iphonesimulator*]":"$(inherited) i386","FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64\" $(inherited)","FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator\" $(inherited)","GCC_PREFIX_HEADER":"Target Support Files/flutter_blue_plus_darwin/flutter_blue_plus_darwin-prefix.pch","GENERATE_INFOPLIST_FILE":"NO","INFOPLIST_FILE":"Target Support Files/flutter_blue_plus_darwin/flutter_blue_plus_darwin-Info.plist","INSTALL_PATH":"$(LOCAL_LIBRARY_DIR)/Frameworks","LD_RUNPATH_SEARCH_PATHS":"$(inherited) @executable_path/Frameworks @loader_path/Frameworks","MODULEMAP_FILE":"Target Support Files/flutter_blue_plus_darwin/flutter_blue_plus_darwin.modulemap","ONLY_ACTIVE_ARCH":"NO","OTHER_LDFLAGS":"$(inherited) -framework Flutter","PRODUCT_MODULE_NAME":"flutter_blue_plus_darwin","PRODUCT_NAME":"flutter_blue_plus_darwin","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","SWIFT_ACTIVE_COMPILATION_CONDITIONS":"$(inherited) ","SWIFT_INSTALL_OBJC_HEADER":"YES","SWIFT_VERSION":"5.0","TARGETED_DEVICE_FAMILY":"1,2","VALID_ARCHS[sdk=iphonesimulator*]":"$(ARCHS_STANDARD)","VERSIONING_SYSTEM":"apple-generic","VERSION_INFO_PREFIX":""},"guid":"bfdfe7dc352907fc980b868725387e98388992d907aebf5fac508e3bdd610c52","name":"Debug"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e98a3d4981aa1a03d0cdc1b0217800162f8","buildSettings":{"CLANG_ENABLE_OBJC_WEAK":"NO","CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER":"NO","CODE_SIGN_IDENTITY[sdk=appletvos*]":"","CODE_SIGN_IDENTITY[sdk=iphoneos*]":"","CODE_SIGN_IDENTITY[sdk=watchos*]":"","CURRENT_PROJECT_VERSION":"1","DYLIB_COMPATIBILITY_VERSION":"1","DYLIB_CURRENT_VERSION":"1","DYLIB_INSTALL_NAME_BASE":"@rpath","ENABLE_BITCODE":"NO","ENABLE_MODULE_VERIFIER":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","EXCLUDED_ARCHS[sdk=iphoneos*]":"$(inherited) armv7","EXCLUDED_ARCHS[sdk=iphonesimulator*]":"$(inherited) i386","FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64\" $(inherited)","FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64_x86_64-simulator\" $(inherited)","GCC_PREFIX_HEADER":"Target Support Files/flutter_blue_plus_darwin/flutter_blue_plus_darwin-prefix.pch","GENERATE_INFOPLIST_FILE":"NO","INFOPLIST_FILE":"Target Support Files/flutter_blue_plus_darwin/flutter_blue_plus_darwin-Info.plist","INSTALL_PATH":"$(LOCAL_LIBRARY_DIR)/Frameworks","LD_RUNPATH_SEARCH_PATHS":"$(inherited) @executable_path/Frameworks @loader_path/Frameworks","MODULEMAP_FILE":"Target Support Files/flutter_blue_plus_darwin/flutter_blue_plus_darwin.modulemap","OTHER_LDFLAGS":"$(inherited) -framework Flutter","PRODUCT_MODULE_NAME":"flutter_blue_plus_darwin","PRODUCT_NAME":"flutter_blue_plus_darwin","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","SWIFT_ACTIVE_COMPILATION_CONDITIONS":"$(inherited) ","SWIFT_INSTALL_OBJC_HEADER":"YES","SWIFT_VERSION":"5.0","TARGETED_DEVICE_FAMILY":"1,2","VALIDATE_PRODUCT":"YES","VALID_ARCHS[sdk=iphonesimulator*]":"$(ARCHS_STANDARD)","VERSIONING_SYSTEM":"apple-generic","VERSION_INFO_PREFIX":""},"guid":"bfdfe7dc352907fc980b868725387e984be5f8804d355aea6b4ae7ad8c2a684c","name":"Profile"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e98a3d4981aa1a03d0cdc1b0217800162f8","buildSettings":{"CLANG_ENABLE_OBJC_WEAK":"NO","CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER":"NO","CODE_SIGN_IDENTITY[sdk=appletvos*]":"","CODE_SIGN_IDENTITY[sdk=iphoneos*]":"","CODE_SIGN_IDENTITY[sdk=watchos*]":"","CURRENT_PROJECT_VERSION":"1","DYLIB_COMPATIBILITY_VERSION":"1","DYLIB_CURRENT_VERSION":"1","DYLIB_INSTALL_NAME_BASE":"@rpath","ENABLE_BITCODE":"NO","ENABLE_MODULE_VERIFIER":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","EXCLUDED_ARCHS[sdk=iphoneos*]":"$(inherited) armv7","EXCLUDED_ARCHS[sdk=iphonesimulator*]":"$(inherited) i386","FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64\" $(inherited)","FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64_x86_64-simulator\" $(inherited)","GCC_PREFIX_HEADER":"Target Support Files/flutter_blue_plus_darwin/flutter_blue_plus_darwin-prefix.pch","GENERATE_INFOPLIST_FILE":"NO","INFOPLIST_FILE":"Target Support Files/flutter_blue_plus_darwin/flutter_blue_plus_darwin-Info.plist","INSTALL_PATH":"$(LOCAL_LIBRARY_DIR)/Frameworks","LD_RUNPATH_SEARCH_PATHS":"$(inherited) @executable_path/Frameworks @loader_path/Frameworks","MODULEMAP_FILE":"Target Support Files/flutter_blue_plus_darwin/flutter_blue_plus_darwin.modulemap","OTHER_LDFLAGS":"$(inherited) -framework Flutter","PRODUCT_MODULE_NAME":"flutter_blue_plus_darwin","PRODUCT_NAME":"flutter_blue_plus_darwin","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","SWIFT_ACTIVE_COMPILATION_CONDITIONS":"$(inherited) ","SWIFT_INSTALL_OBJC_HEADER":"YES","SWIFT_VERSION":"5.0","TARGETED_DEVICE_FAMILY":"1,2","VALIDATE_PRODUCT":"YES","VALID_ARCHS[sdk=iphonesimulator*]":"$(ARCHS_STANDARD)","VERSIONING_SYSTEM":"apple-generic","VERSION_INFO_PREFIX":""},"guid":"bfdfe7dc352907fc980b868725387e98f217e6602a962b57036712e8828db99b","name":"Release"}],"buildPhases":[{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e9842752ec28ef1bbd3d645c3fb4f59f420","guid":"bfdfe7dc352907fc980b868725387e98401de0ace44363447ab435f270753175","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e98d232601bc15920166299009e0edcd88c","guid":"bfdfe7dc352907fc980b868725387e98b70b865e404bdca1a21ae4fb7df72ff0","headerVisibility":"public"}],"guid":"bfdfe7dc352907fc980b868725387e986674cd9adf5ba6517021df2a59cb6f52","type":"com.apple.buildphase.headers"},{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e98a95d6e94dad2a296f0a91c233139a94b","guid":"bfdfe7dc352907fc980b868725387e984c79f8109c9552c85c66b6086e718bfe"},{"fileReference":"bfdfe7dc352907fc980b868725387e9803c6560da956f8d20606a58956e84be0","guid":"bfdfe7dc352907fc980b868725387e9895b8081678d73985969b59de8501dacd"}],"guid":"bfdfe7dc352907fc980b868725387e987732a34704cb4caff004c54c87f78b12","type":"com.apple.buildphase.sources"},{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e9899753739776b473e75ef75c97d0c67bb","guid":"bfdfe7dc352907fc980b868725387e98cfba1bf486f961196412b4f1454f8961"},{"fileReference":"bfdfe7dc352907fc980b868725387e98694402cafaaf96f5099d07dfc1c41bec","guid":"bfdfe7dc352907fc980b868725387e98d160607b1fd480249051d3b082d04314"}],"guid":"bfdfe7dc352907fc980b868725387e98ecec11c59dba26c686c31c21809d4f4f","type":"com.apple.buildphase.frameworks"},{"buildFiles":[],"guid":"bfdfe7dc352907fc980b868725387e981fafdd6caa78471145910050b586faf0","type":"com.apple.buildphase.resources"}],"buildRules":[],"dependencies":[{"guid":"bfdfe7dc352907fc980b868725387e989da425bb6d6d5d8dbb95e4afffb82217","name":"Flutter"}],"guid":"bfdfe7dc352907fc980b868725387e98579f270da12a5d081d8785cf82f3dde0","name":"flutter_blue_plus_darwin","predominantSourceCodeLanguage":"Xcode.SourceCodeLanguage.Objective-C","productReference":{"guid":"bfdfe7dc352907fc980b868725387e98a28931127ba3f5f47ee022a478a28879","name":"flutter_blue_plus_darwin.framework","type":"product"},"productTypeIdentifier":"com.apple.product-type.framework","provisioningSourceData":[{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Debug","provisioningStyle":1},{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Profile","provisioningStyle":1},{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Release","provisioningStyle":1}],"type":"standard"} \ No newline at end of file diff --git a/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=4568203440f9ae9309f25c7e1ea3fc93-json b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=4568203440f9ae9309f25c7e1ea3fc93-json new file mode 100644 index 0000000..0c0dbef --- /dev/null +++ b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=4568203440f9ae9309f25c7e1ea3fc93-json @@ -0,0 +1 @@ +{"buildConfigurations":[{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e98423956da50d98a5118e0caf80fa439f6","buildSettings":{"CLANG_ENABLE_OBJC_WEAK":"NO","CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER":"NO","CODE_SIGN_IDENTITY[sdk=appletvos*]":"","CODE_SIGN_IDENTITY[sdk=iphoneos*]":"","CODE_SIGN_IDENTITY[sdk=watchos*]":"","CURRENT_PROJECT_VERSION":"1","DYLIB_COMPATIBILITY_VERSION":"1","DYLIB_CURRENT_VERSION":"1","DYLIB_INSTALL_NAME_BASE":"@rpath","ENABLE_BITCODE":"NO","ENABLE_MODULE_VERIFIER":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","EXCLUDED_ARCHS[sdk=iphoneos*]":"$(inherited) armv7","EXCLUDED_ARCHS[sdk=iphonesimulator*]":"$(inherited) i386","FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64\" $(inherited)","FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator\" $(inherited)","GCC_PREFIX_HEADER":"Target Support Files/objectbox_flutter_libs/objectbox_flutter_libs-prefix.pch","GENERATE_INFOPLIST_FILE":"NO","INFOPLIST_FILE":"Target Support Files/objectbox_flutter_libs/objectbox_flutter_libs-Info.plist","INSTALL_PATH":"$(LOCAL_LIBRARY_DIR)/Frameworks","LD_RUNPATH_SEARCH_PATHS":"$(inherited) @executable_path/Frameworks @loader_path/Frameworks","MODULEMAP_FILE":"Target Support Files/objectbox_flutter_libs/objectbox_flutter_libs.modulemap","ONLY_ACTIVE_ARCH":"NO","OTHER_LDFLAGS":"$(inherited) -framework Flutter","PRODUCT_MODULE_NAME":"objectbox_flutter_libs","PRODUCT_NAME":"objectbox_flutter_libs","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","SWIFT_ACTIVE_COMPILATION_CONDITIONS":"$(inherited) ","SWIFT_INSTALL_OBJC_HEADER":"YES","SWIFT_VERSION":"5.3","TARGETED_DEVICE_FAMILY":"1,2","VALID_ARCHS[sdk=iphonesimulator*]":"$(ARCHS_STANDARD)","VERSIONING_SYSTEM":"apple-generic","VERSION_INFO_PREFIX":""},"guid":"bfdfe7dc352907fc980b868725387e984a1282a8f84c0de2d714e93452b7aabb","name":"Debug"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e989ffef87491ab2aad1ddc7f8aeb0128f6","buildSettings":{"CLANG_ENABLE_OBJC_WEAK":"NO","CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER":"NO","CODE_SIGN_IDENTITY[sdk=appletvos*]":"","CODE_SIGN_IDENTITY[sdk=iphoneos*]":"","CODE_SIGN_IDENTITY[sdk=watchos*]":"","CURRENT_PROJECT_VERSION":"1","DYLIB_COMPATIBILITY_VERSION":"1","DYLIB_CURRENT_VERSION":"1","DYLIB_INSTALL_NAME_BASE":"@rpath","ENABLE_BITCODE":"NO","ENABLE_MODULE_VERIFIER":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","EXCLUDED_ARCHS[sdk=iphoneos*]":"$(inherited) armv7","EXCLUDED_ARCHS[sdk=iphonesimulator*]":"$(inherited) i386","FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64\" $(inherited)","FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64_x86_64-simulator\" $(inherited)","GCC_PREFIX_HEADER":"Target Support Files/objectbox_flutter_libs/objectbox_flutter_libs-prefix.pch","GENERATE_INFOPLIST_FILE":"NO","INFOPLIST_FILE":"Target Support Files/objectbox_flutter_libs/objectbox_flutter_libs-Info.plist","INSTALL_PATH":"$(LOCAL_LIBRARY_DIR)/Frameworks","LD_RUNPATH_SEARCH_PATHS":"$(inherited) @executable_path/Frameworks @loader_path/Frameworks","MODULEMAP_FILE":"Target Support Files/objectbox_flutter_libs/objectbox_flutter_libs.modulemap","OTHER_LDFLAGS":"$(inherited) -framework Flutter","PRODUCT_MODULE_NAME":"objectbox_flutter_libs","PRODUCT_NAME":"objectbox_flutter_libs","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","SWIFT_ACTIVE_COMPILATION_CONDITIONS":"$(inherited) ","SWIFT_INSTALL_OBJC_HEADER":"YES","SWIFT_VERSION":"5.3","TARGETED_DEVICE_FAMILY":"1,2","VALIDATE_PRODUCT":"YES","VALID_ARCHS[sdk=iphonesimulator*]":"$(ARCHS_STANDARD)","VERSIONING_SYSTEM":"apple-generic","VERSION_INFO_PREFIX":""},"guid":"bfdfe7dc352907fc980b868725387e9819059462abaf33d4eb0a71162e4a169f","name":"Profile"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e989ffef87491ab2aad1ddc7f8aeb0128f6","buildSettings":{"CLANG_ENABLE_OBJC_WEAK":"NO","CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER":"NO","CODE_SIGN_IDENTITY[sdk=appletvos*]":"","CODE_SIGN_IDENTITY[sdk=iphoneos*]":"","CODE_SIGN_IDENTITY[sdk=watchos*]":"","CURRENT_PROJECT_VERSION":"1","DYLIB_COMPATIBILITY_VERSION":"1","DYLIB_CURRENT_VERSION":"1","DYLIB_INSTALL_NAME_BASE":"@rpath","ENABLE_BITCODE":"NO","ENABLE_MODULE_VERIFIER":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","EXCLUDED_ARCHS[sdk=iphoneos*]":"$(inherited) armv7","EXCLUDED_ARCHS[sdk=iphonesimulator*]":"$(inherited) i386","FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64\" $(inherited)","FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64_x86_64-simulator\" $(inherited)","GCC_PREFIX_HEADER":"Target Support Files/objectbox_flutter_libs/objectbox_flutter_libs-prefix.pch","GENERATE_INFOPLIST_FILE":"NO","INFOPLIST_FILE":"Target Support Files/objectbox_flutter_libs/objectbox_flutter_libs-Info.plist","INSTALL_PATH":"$(LOCAL_LIBRARY_DIR)/Frameworks","LD_RUNPATH_SEARCH_PATHS":"$(inherited) @executable_path/Frameworks @loader_path/Frameworks","MODULEMAP_FILE":"Target Support Files/objectbox_flutter_libs/objectbox_flutter_libs.modulemap","OTHER_LDFLAGS":"$(inherited) -framework Flutter","PRODUCT_MODULE_NAME":"objectbox_flutter_libs","PRODUCT_NAME":"objectbox_flutter_libs","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","SWIFT_ACTIVE_COMPILATION_CONDITIONS":"$(inherited) ","SWIFT_INSTALL_OBJC_HEADER":"YES","SWIFT_VERSION":"5.3","TARGETED_DEVICE_FAMILY":"1,2","VALIDATE_PRODUCT":"YES","VALID_ARCHS[sdk=iphonesimulator*]":"$(ARCHS_STANDARD)","VERSIONING_SYSTEM":"apple-generic","VERSION_INFO_PREFIX":""},"guid":"bfdfe7dc352907fc980b868725387e988a08132b09060df65dc1266cc6aa2e0d","name":"Release"}],"buildPhases":[{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e988aff0b46cb00d2a5c845e267fac16e08","guid":"bfdfe7dc352907fc980b868725387e98aff32f1960a6aadfded0feb52fdb2912","headerVisibility":"public"}],"guid":"bfdfe7dc352907fc980b868725387e9890de3fe621eb544d595ee92a8b100d04","type":"com.apple.buildphase.headers"},{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e983b77c3d05996e7a019f8987926e929b3","guid":"bfdfe7dc352907fc980b868725387e987306505c353e27e9b5fdf27dd426e75a"},{"fileReference":"bfdfe7dc352907fc980b868725387e98967b5f4f73e6711930279ea1eed24859","guid":"bfdfe7dc352907fc980b868725387e989044bcc75c2892dad9b02c699af63b40"}],"guid":"bfdfe7dc352907fc980b868725387e988c16929a4d0e3b72701a788b4dfc8c07","type":"com.apple.buildphase.sources"},{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e98694402cafaaf96f5099d07dfc1c41bec","guid":"bfdfe7dc352907fc980b868725387e982a678fb2df27e373dcdd1dc1962c7e02"}],"guid":"bfdfe7dc352907fc980b868725387e989f7f2dbd73646c9ba43e92f786a16c55","type":"com.apple.buildphase.frameworks"},{"buildFiles":[],"guid":"bfdfe7dc352907fc980b868725387e98be1d0ae879b4124a58a4bbfb0dfa42f9","type":"com.apple.buildphase.resources"}],"buildRules":[],"dependencies":[{"guid":"bfdfe7dc352907fc980b868725387e989da425bb6d6d5d8dbb95e4afffb82217","name":"Flutter"},{"guid":"bfdfe7dc352907fc980b868725387e9899d473c1bf2fb661137a0585385808b4","name":"ObjectBox"}],"guid":"bfdfe7dc352907fc980b868725387e98bb7a8f7d08a55c6867609355533478c1","name":"objectbox_flutter_libs","predominantSourceCodeLanguage":"Xcode.SourceCodeLanguage.Swift","productReference":{"guid":"bfdfe7dc352907fc980b868725387e9868f2dc25f88207cd9070b4f15a044cf9","name":"objectbox_flutter_libs.framework","type":"product"},"productTypeIdentifier":"com.apple.product-type.framework","provisioningSourceData":[{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Debug","provisioningStyle":1},{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Profile","provisioningStyle":1},{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Release","provisioningStyle":1}],"type":"standard"} \ No newline at end of file diff --git a/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=535d2a6a90460d69909cf3eea95cdff7-json b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=535d2a6a90460d69909cf3eea95cdff7-json new file mode 100644 index 0000000..a5e9f86 --- /dev/null +++ b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=535d2a6a90460d69909cf3eea95cdff7-json @@ -0,0 +1 @@ +{"buildConfigurations":[{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e988447dbc9b1396f2f8b874665d7663344","buildSettings":{"CODE_SIGNING_ALLOWED":"NO","CODE_SIGNING_IDENTITY":"-","CODE_SIGNING_REQUIRED":"NO","CONFIGURATION_BUILD_DIR":"$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/package_info_plus","EXPANDED_CODE_SIGN_IDENTITY":"-","IBSC_MODULE":"package_info_plus","INFOPLIST_FILE":"Target Support Files/package_info_plus/ResourceBundle-package_info_plus_privacy-package_info_plus-Info.plist","IPHONEOS_DEPLOYMENT_TARGET":"12.0","ONLY_ACTIVE_ARCH":"NO","PRODUCT_NAME":"package_info_plus_privacy","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","TARGETED_DEVICE_FAMILY":"1,2","WRAPPER_EXTENSION":"bundle"},"guid":"bfdfe7dc352907fc980b868725387e98ea615c640c384edc0e21ed1692291823","name":"Debug"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e982618b5a51037a32a885f4497ede4dcf3","buildSettings":{"CLANG_ENABLE_OBJC_WEAK":"NO","CODE_SIGNING_ALLOWED":"NO","CODE_SIGNING_IDENTITY":"-","CODE_SIGNING_REQUIRED":"NO","CONFIGURATION_BUILD_DIR":"$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/package_info_plus","EXPANDED_CODE_SIGN_IDENTITY":"-","IBSC_MODULE":"package_info_plus","INFOPLIST_FILE":"Target Support Files/package_info_plus/ResourceBundle-package_info_plus_privacy-package_info_plus-Info.plist","IPHONEOS_DEPLOYMENT_TARGET":"12.0","PRODUCT_NAME":"package_info_plus_privacy","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","TARGETED_DEVICE_FAMILY":"1,2","VALIDATE_PRODUCT":"YES","WRAPPER_EXTENSION":"bundle"},"guid":"bfdfe7dc352907fc980b868725387e984e23d167444e6f055f38dd7a69a18dd7","name":"Profile"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e982618b5a51037a32a885f4497ede4dcf3","buildSettings":{"CODE_SIGNING_ALLOWED":"NO","CODE_SIGNING_IDENTITY":"-","CODE_SIGNING_REQUIRED":"NO","CONFIGURATION_BUILD_DIR":"$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/package_info_plus","EXPANDED_CODE_SIGN_IDENTITY":"-","IBSC_MODULE":"package_info_plus","INFOPLIST_FILE":"Target Support Files/package_info_plus/ResourceBundle-package_info_plus_privacy-package_info_plus-Info.plist","IPHONEOS_DEPLOYMENT_TARGET":"12.0","PRODUCT_NAME":"package_info_plus_privacy","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","TARGETED_DEVICE_FAMILY":"1,2","WRAPPER_EXTENSION":"bundle"},"guid":"bfdfe7dc352907fc980b868725387e9887dda0bca521f625d58f0030dc1ef821","name":"Release"}],"buildPhases":[{"buildFiles":[],"guid":"bfdfe7dc352907fc980b868725387e98bd08ace1fe49221266781def1534d061","type":"com.apple.buildphase.sources"},{"buildFiles":[],"guid":"bfdfe7dc352907fc980b868725387e987a1a049f7fcc890c93b2d478f2ebcdb3","type":"com.apple.buildphase.frameworks"},{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e987da0dca8e6b6cfc96465df580c4b6738","guid":"bfdfe7dc352907fc980b868725387e9840ce923bbef0d975d1f1dd0030483db8"}],"guid":"bfdfe7dc352907fc980b868725387e98d2fed6345309fbc2a5f123796da16852","type":"com.apple.buildphase.resources"}],"buildRules":[],"dependencies":[],"guid":"bfdfe7dc352907fc980b868725387e987b6c2f882d164ef4f3c76673562685a1","name":"package_info_plus-package_info_plus_privacy","productReference":{"guid":"bfdfe7dc352907fc980b868725387e982a9852aa81a16cf5578d0e8c78b5679a","name":"package_info_plus_privacy.bundle","type":"product"},"productTypeIdentifier":"com.apple.product-type.bundle","provisioningSourceData":[{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Debug","provisioningStyle":0},{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Profile","provisioningStyle":0},{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Release","provisioningStyle":0}],"type":"standard"} \ No newline at end of file diff --git a/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=75037cad0fcd27243df34022d4cbd778-json b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=75037cad0fcd27243df34022d4cbd778-json new file mode 100644 index 0000000..1e56dd8 --- /dev/null +++ b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=75037cad0fcd27243df34022d4cbd778-json @@ -0,0 +1 @@ +{"buildConfigurations":[{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e98b2d96934906ee3fbaef29d6d94829467","buildSettings":{"CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER":"NO","CODE_SIGN_IDENTITY[sdk=appletvos*]":"","CODE_SIGN_IDENTITY[sdk=iphoneos*]":"","CODE_SIGN_IDENTITY[sdk=watchos*]":"","CURRENT_PROJECT_VERSION":"1","DEFINES_MODULE":"YES","DYLIB_COMPATIBILITY_VERSION":"1","DYLIB_CURRENT_VERSION":"1","DYLIB_INSTALL_NAME_BASE":"@rpath","ENABLE_BITCODE":"NO","ENABLE_MODULE_VERIFIER":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","EXCLUDED_ARCHS[sdk=iphoneos*]":"$(inherited) armv7","EXCLUDED_ARCHS[sdk=iphonesimulator*]":"$(inherited) i386","FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64\" $(inherited)","FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator\" $(inherited)","GCC_PREFIX_HEADER":"Target Support Files/permission_handler_apple/permission_handler_apple-prefix.pch","GENERATE_INFOPLIST_FILE":"NO","INFOPLIST_FILE":"Target Support Files/permission_handler_apple/permission_handler_apple-Info.plist","INSTALL_PATH":"$(LOCAL_LIBRARY_DIR)/Frameworks","LD_RUNPATH_SEARCH_PATHS":"$(inherited) @executable_path/Frameworks @loader_path/Frameworks","MACH_O_TYPE":"staticlib","MODULEMAP_FILE":"Target Support Files/permission_handler_apple/permission_handler_apple.modulemap","ONLY_ACTIVE_ARCH":"NO","OTHER_LDFLAGS":"$(inherited) -framework Flutter","PRODUCT_MODULE_NAME":"permission_handler_apple","PRODUCT_NAME":"permission_handler_apple","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","SWIFT_ACTIVE_COMPILATION_CONDITIONS":"$(inherited) ","SWIFT_INSTALL_OBJC_HEADER":"YES","SWIFT_VERSION":"5.0","TARGETED_DEVICE_FAMILY":"1,2","VALID_ARCHS[sdk=iphonesimulator*]":"$(ARCHS_STANDARD)","VERSIONING_SYSTEM":"apple-generic","VERSION_INFO_PREFIX":""},"guid":"bfdfe7dc352907fc980b868725387e98519c0f1aabf34eacbf6f755b813f1496","name":"Debug"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e987f457f86a057c20b67c9b014731ae27e","buildSettings":{"CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER":"NO","CODE_SIGN_IDENTITY[sdk=appletvos*]":"","CODE_SIGN_IDENTITY[sdk=iphoneos*]":"","CODE_SIGN_IDENTITY[sdk=watchos*]":"","CURRENT_PROJECT_VERSION":"1","DEFINES_MODULE":"YES","DYLIB_COMPATIBILITY_VERSION":"1","DYLIB_CURRENT_VERSION":"1","DYLIB_INSTALL_NAME_BASE":"@rpath","ENABLE_BITCODE":"NO","ENABLE_MODULE_VERIFIER":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","EXCLUDED_ARCHS[sdk=iphoneos*]":"$(inherited) armv7","EXCLUDED_ARCHS[sdk=iphonesimulator*]":"$(inherited) i386","FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64\" $(inherited)","FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64_x86_64-simulator\" $(inherited)","GCC_PREFIX_HEADER":"Target Support Files/permission_handler_apple/permission_handler_apple-prefix.pch","GENERATE_INFOPLIST_FILE":"NO","INFOPLIST_FILE":"Target Support Files/permission_handler_apple/permission_handler_apple-Info.plist","INSTALL_PATH":"$(LOCAL_LIBRARY_DIR)/Frameworks","LD_RUNPATH_SEARCH_PATHS":"$(inherited) @executable_path/Frameworks @loader_path/Frameworks","MACH_O_TYPE":"staticlib","MODULEMAP_FILE":"Target Support Files/permission_handler_apple/permission_handler_apple.modulemap","OTHER_LDFLAGS":"$(inherited) -framework Flutter","PRODUCT_MODULE_NAME":"permission_handler_apple","PRODUCT_NAME":"permission_handler_apple","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","SWIFT_ACTIVE_COMPILATION_CONDITIONS":"$(inherited) ","SWIFT_INSTALL_OBJC_HEADER":"YES","SWIFT_VERSION":"5.0","TARGETED_DEVICE_FAMILY":"1,2","VALIDATE_PRODUCT":"YES","VALID_ARCHS[sdk=iphonesimulator*]":"$(ARCHS_STANDARD)","VERSIONING_SYSTEM":"apple-generic","VERSION_INFO_PREFIX":""},"guid":"bfdfe7dc352907fc980b868725387e98ec62137b0ee28ca4265944856877be27","name":"Profile"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e987f457f86a057c20b67c9b014731ae27e","buildSettings":{"CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER":"NO","CODE_SIGN_IDENTITY[sdk=appletvos*]":"","CODE_SIGN_IDENTITY[sdk=iphoneos*]":"","CODE_SIGN_IDENTITY[sdk=watchos*]":"","CURRENT_PROJECT_VERSION":"1","DEFINES_MODULE":"YES","DYLIB_COMPATIBILITY_VERSION":"1","DYLIB_CURRENT_VERSION":"1","DYLIB_INSTALL_NAME_BASE":"@rpath","ENABLE_BITCODE":"NO","ENABLE_MODULE_VERIFIER":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","EXCLUDED_ARCHS[sdk=iphoneos*]":"$(inherited) armv7","EXCLUDED_ARCHS[sdk=iphonesimulator*]":"$(inherited) i386","FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64\" $(inherited)","FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64_x86_64-simulator\" $(inherited)","GCC_PREFIX_HEADER":"Target Support Files/permission_handler_apple/permission_handler_apple-prefix.pch","GENERATE_INFOPLIST_FILE":"NO","INFOPLIST_FILE":"Target Support Files/permission_handler_apple/permission_handler_apple-Info.plist","INSTALL_PATH":"$(LOCAL_LIBRARY_DIR)/Frameworks","LD_RUNPATH_SEARCH_PATHS":"$(inherited) @executable_path/Frameworks @loader_path/Frameworks","MACH_O_TYPE":"staticlib","MODULEMAP_FILE":"Target Support Files/permission_handler_apple/permission_handler_apple.modulemap","OTHER_LDFLAGS":"$(inherited) -framework Flutter","PRODUCT_MODULE_NAME":"permission_handler_apple","PRODUCT_NAME":"permission_handler_apple","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","SWIFT_ACTIVE_COMPILATION_CONDITIONS":"$(inherited) ","SWIFT_INSTALL_OBJC_HEADER":"YES","SWIFT_VERSION":"5.0","TARGETED_DEVICE_FAMILY":"1,2","VALIDATE_PRODUCT":"YES","VALID_ARCHS[sdk=iphonesimulator*]":"$(ARCHS_STANDARD)","VERSIONING_SYSTEM":"apple-generic","VERSION_INFO_PREFIX":""},"guid":"bfdfe7dc352907fc980b868725387e9832ebf16d88dad2729e444c32094aa46a","name":"Release"}],"buildPhases":[{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e987c0d43853404b132f3f91c6bfe8a742a","guid":"bfdfe7dc352907fc980b868725387e98fe92b5afa8fe58bae3c9229d058e616a","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e98429a2d78511cfbbcbb96b899d3575831","guid":"bfdfe7dc352907fc980b868725387e985965519b3ec2b9053365fa530bf643bc","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e981ab79c3a05dfe31794766c005e1dfc50","guid":"bfdfe7dc352907fc980b868725387e98fa9d97f54a76579d59e404ebe634bcdc","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e9877ef64b20b01b593f09c75131fa6b102","guid":"bfdfe7dc352907fc980b868725387e9850bdaa7011aa3c91740c213b1a7fa2cf","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e98c87d3c62178ecf550810a3ebc537e8e2","guid":"bfdfe7dc352907fc980b868725387e98b69297aee86961e47e29414c45e849ac","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e980949a56b17f08f811a7d6cf551797061","guid":"bfdfe7dc352907fc980b868725387e985ca3c30a7f4851eb9b4ef33952a3f482","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e98135f69101a9ae0766a6ef49c4401df3e","guid":"bfdfe7dc352907fc980b868725387e9812df9d9973c9f97679f7de972b48f817","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e98f0ddca4567d5245602b7b04f6226e2cf","guid":"bfdfe7dc352907fc980b868725387e98abf8d1a3dd0a4ead2fb6398cea2425ad","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e9886c8cbb8c3f593a74ab208ccd5f139cc","guid":"bfdfe7dc352907fc980b868725387e986340d5835ff3d4930a87aff596993c8b","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e98b94764a92a1db6a95218db4e57cdfa2a","guid":"bfdfe7dc352907fc980b868725387e98282e717420c34bd36656734c015ab0db","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e98f651b259b0b2b2e37910aa16b734158a","guid":"bfdfe7dc352907fc980b868725387e98f79617ce3eea92130c3e8deb24ac6052","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e98246b9d724693a06412d258971aa60da9","guid":"bfdfe7dc352907fc980b868725387e989a9c98af54d171ffc5dcfcd328a9f656","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e98f10c3601c0a1f5ed402870388796e9fd","guid":"bfdfe7dc352907fc980b868725387e98dc02dbc796bf1a1c79ffc8c7bf3cea72","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e98e2305b2e53e825bcc047b3ed2d50d507","guid":"bfdfe7dc352907fc980b868725387e98892ab7216e572450585dbb7fe836780a","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e98484ed92ac29f158d62a9030f5291f267","guid":"bfdfe7dc352907fc980b868725387e983d12f44f6ad546c0e51ad40a38a62758","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e983f916e4e08534b57a6ed92c46b4d4f17","guid":"bfdfe7dc352907fc980b868725387e98a42139f6edf79b3b7cbcf3d1471e4431","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e98c187dad23ed54d5d149c80735cc002a0","guid":"bfdfe7dc352907fc980b868725387e98d954eaec4de1c4988534c19c3b497a42","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e98c44a03f56f37d9030f069d174c5b8466","guid":"bfdfe7dc352907fc980b868725387e98a1ebbf17f73356fde3a4c9c9ccaaf541","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e985b10f3e0519d74309f76e2db5ef148ea","guid":"bfdfe7dc352907fc980b868725387e9821e54dc62d1296156df602834f20fcc9","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e98e7b3c8f3cfe1b109ac3efa1e50955efc","guid":"bfdfe7dc352907fc980b868725387e986061ae92e4bce152885cc5c3a1c0e4d1","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e983a2c663bee231b5989a516a463944f59","guid":"bfdfe7dc352907fc980b868725387e98e7e268d654b1604ef998bf4cc75336d0","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e987c07dc936b130b722695b28725cee41e","guid":"bfdfe7dc352907fc980b868725387e9854f174ef0b05263e6dcd47023ed0496c","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e98e588ef7fbf3b86d982d6bbce3afc5c44","guid":"bfdfe7dc352907fc980b868725387e98a3f25623979afa23466422cd7a073ec5","headerVisibility":"public"}],"guid":"bfdfe7dc352907fc980b868725387e986a03fa67e33d48dce94be2b8eb2259ec","type":"com.apple.buildphase.headers"},{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e98c8e17c1e74111b2fac4dde6966d8285c","guid":"bfdfe7dc352907fc980b868725387e98ffd488b77237b8fc440d41413454bb07"},{"fileReference":"bfdfe7dc352907fc980b868725387e986f7d242b0924466e7b42c147361fa2fd","guid":"bfdfe7dc352907fc980b868725387e98867e367d9e5822a1ed3da2e5d879f4ea"},{"fileReference":"bfdfe7dc352907fc980b868725387e98efd1f74b10a1177c4cada7ece0196eb3","guid":"bfdfe7dc352907fc980b868725387e98f4e8406eff8c37b5cf57678723c2865d"},{"fileReference":"bfdfe7dc352907fc980b868725387e983ea8c0d1bdc8d8abbfda3e6d96a93d35","guid":"bfdfe7dc352907fc980b868725387e986a9a5442fb214160e10f186b31f4351e"},{"fileReference":"bfdfe7dc352907fc980b868725387e98ea12587b6822ff641dae391daed12640","guid":"bfdfe7dc352907fc980b868725387e9856735a0df7a10f65de67a62396d1be8d"},{"fileReference":"bfdfe7dc352907fc980b868725387e9870b352ea313bd20fcbee8c4f4ead4c6a","guid":"bfdfe7dc352907fc980b868725387e98d490619ce99b46bd5cde304795058c5a"},{"fileReference":"bfdfe7dc352907fc980b868725387e986c62d3ef794a2b435a105a8cedafd9de","guid":"bfdfe7dc352907fc980b868725387e985b6b972d31abdb37d83e0217390f1111"},{"fileReference":"bfdfe7dc352907fc980b868725387e9836fe6e082912e0edab975aa049908f1a","guid":"bfdfe7dc352907fc980b868725387e9826e5537c184a98a817fabddd8b1af46b"},{"fileReference":"bfdfe7dc352907fc980b868725387e985477f4ffe4ea412a193f3d11acc012a1","guid":"bfdfe7dc352907fc980b868725387e98a6f139e04c42be401173e09b8eb64304"},{"fileReference":"bfdfe7dc352907fc980b868725387e9873f922c06d18c7c78453703ae3e73637","guid":"bfdfe7dc352907fc980b868725387e98bba9b3f581dbe27be7f77e7dba39135c"},{"fileReference":"bfdfe7dc352907fc980b868725387e989713fad64298df7a201ab27482ce137b","guid":"bfdfe7dc352907fc980b868725387e98f5a18a02b63f8074b1935286ce097e7a"},{"fileReference":"bfdfe7dc352907fc980b868725387e98f023d88dd4984393ae4f6dfe33bb27ca","guid":"bfdfe7dc352907fc980b868725387e982a4d902c47d2e168ad1b9faadb826b40"},{"fileReference":"bfdfe7dc352907fc980b868725387e9800f96a07ad4fb260a18febc2c4f529bf","guid":"bfdfe7dc352907fc980b868725387e981850b344567e5543096f0a83d9eac0b2"},{"fileReference":"bfdfe7dc352907fc980b868725387e988b9f17c67ec312fe1d805a6f425a42e9","guid":"bfdfe7dc352907fc980b868725387e98c7209acb4bbc11473400b95ba264e570"},{"fileReference":"bfdfe7dc352907fc980b868725387e98e1b6aaaf15996f7be3b21dfbae617c18","guid":"bfdfe7dc352907fc980b868725387e98b9ad21760386409e6a8418d260c875a5"},{"fileReference":"bfdfe7dc352907fc980b868725387e9854529faa6767a3d88750593766ea6797","guid":"bfdfe7dc352907fc980b868725387e9869daee10844bdc1377101bb06b07af6f"},{"fileReference":"bfdfe7dc352907fc980b868725387e98802b8da836cc0268e3bd1370516743bd","guid":"bfdfe7dc352907fc980b868725387e9880b83d2e94cb821fc34990ec5eb08f30"},{"fileReference":"bfdfe7dc352907fc980b868725387e981c5f96cbf40f904f9e29ab422d0ce706","guid":"bfdfe7dc352907fc980b868725387e983fc554d229dec51832d227dc3c6cd4f9"},{"fileReference":"bfdfe7dc352907fc980b868725387e98e7e08bb89a51ad6a79c5a20e523b3e07","guid":"bfdfe7dc352907fc980b868725387e984d92ce2a6a775539ad9cd12b7b3c8702"},{"fileReference":"bfdfe7dc352907fc980b868725387e9841265df3502be02cc05297d2efcfcb0d","guid":"bfdfe7dc352907fc980b868725387e98b55b1eb31da0207c73caefaa35380afd"},{"fileReference":"bfdfe7dc352907fc980b868725387e98789323bd948a9d8bfc215048fdeb02bc","guid":"bfdfe7dc352907fc980b868725387e982a5ad3c71031968c83cf1f0dd2275285"}],"guid":"bfdfe7dc352907fc980b868725387e98be6229230a4715433df2f8e74fbafc5b","type":"com.apple.buildphase.sources"},{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e98694402cafaaf96f5099d07dfc1c41bec","guid":"bfdfe7dc352907fc980b868725387e980797c2152e50219ee4196549bb34f857"}],"guid":"bfdfe7dc352907fc980b868725387e984d290968aff9eafa4ed5b85c80a8c610","type":"com.apple.buildphase.frameworks"},{"buildFiles":[],"guid":"bfdfe7dc352907fc980b868725387e98fa0d11ed0b4e1a85c13d68e37d1547e0","type":"com.apple.buildphase.resources"}],"buildRules":[],"dependencies":[{"guid":"bfdfe7dc352907fc980b868725387e989da425bb6d6d5d8dbb95e4afffb82217","name":"Flutter"},{"guid":"bfdfe7dc352907fc980b868725387e9802f35ab680609a626ebd2ddd692a3822","name":"permission_handler_apple-permission_handler_apple_privacy"}],"guid":"bfdfe7dc352907fc980b868725387e98ef10255b706f98e1e88fae00855b0968","name":"permission_handler_apple","predominantSourceCodeLanguage":"Xcode.SourceCodeLanguage.Objective-C-Plus-Plus","productReference":{"guid":"bfdfe7dc352907fc980b868725387e98f8f53f8ba4165e76c7481b24262177ed","name":"permission_handler_apple.framework","type":"product"},"productTypeIdentifier":"com.apple.product-type.framework","provisioningSourceData":[{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Debug","provisioningStyle":1},{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Profile","provisioningStyle":1},{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Release","provisioningStyle":1}],"type":"standard"} \ No newline at end of file diff --git a/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=7a8ea7e02745229d8fda3bfd43749c9b-json b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=7a8ea7e02745229d8fda3bfd43749c9b-json new file mode 100644 index 0000000..9bce293 --- /dev/null +++ b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=7a8ea7e02745229d8fda3bfd43749c9b-json @@ -0,0 +1 @@ +{"buildConfigurations":[{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e98db4168bc813778add322f796c1886948","buildSettings":{"CLANG_ENABLE_OBJC_WEAK":"NO","CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER":"NO","CODE_SIGN_IDENTITY[sdk=appletvos*]":"","CODE_SIGN_IDENTITY[sdk=iphoneos*]":"","CODE_SIGN_IDENTITY[sdk=watchos*]":"","CURRENT_PROJECT_VERSION":"1","DYLIB_COMPATIBILITY_VERSION":"1","DYLIB_CURRENT_VERSION":"1","DYLIB_INSTALL_NAME_BASE":"@rpath","ENABLE_BITCODE":"NO","ENABLE_MODULE_VERIFIER":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","EXCLUDED_ARCHS[sdk=iphoneos*]":"$(inherited) armv7","EXCLUDED_ARCHS[sdk=iphonesimulator*]":"$(inherited) i386","FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64\" $(inherited)","FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator\" $(inherited)","GCC_PREFIX_HEADER":"Target Support Files/geolocator_apple/geolocator_apple-prefix.pch","GENERATE_INFOPLIST_FILE":"NO","INFOPLIST_FILE":"Target Support Files/geolocator_apple/geolocator_apple-Info.plist","INSTALL_PATH":"$(LOCAL_LIBRARY_DIR)/Frameworks","LD_RUNPATH_SEARCH_PATHS":"$(inherited) @executable_path/Frameworks @loader_path/Frameworks","MODULEMAP_FILE":"Target Support Files/geolocator_apple/geolocator_apple.modulemap","ONLY_ACTIVE_ARCH":"NO","OTHER_LDFLAGS":"$(inherited) -framework Flutter","PRODUCT_MODULE_NAME":"geolocator_apple","PRODUCT_NAME":"geolocator_apple","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","SWIFT_ACTIVE_COMPILATION_CONDITIONS":"$(inherited) ","SWIFT_INSTALL_OBJC_HEADER":"YES","SWIFT_VERSION":"5.0","TARGETED_DEVICE_FAMILY":"1,2","VALID_ARCHS[sdk=iphonesimulator*]":"$(ARCHS_STANDARD)","VERSIONING_SYSTEM":"apple-generic","VERSION_INFO_PREFIX":""},"guid":"bfdfe7dc352907fc980b868725387e984936d7cb8feef48513f6131e211caece","name":"Debug"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e98eaf9cc3cd0e4bd5b5081a977e6dd395a","buildSettings":{"CLANG_ENABLE_OBJC_WEAK":"NO","CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER":"NO","CODE_SIGN_IDENTITY[sdk=appletvos*]":"","CODE_SIGN_IDENTITY[sdk=iphoneos*]":"","CODE_SIGN_IDENTITY[sdk=watchos*]":"","CURRENT_PROJECT_VERSION":"1","DYLIB_COMPATIBILITY_VERSION":"1","DYLIB_CURRENT_VERSION":"1","DYLIB_INSTALL_NAME_BASE":"@rpath","ENABLE_BITCODE":"NO","ENABLE_MODULE_VERIFIER":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","EXCLUDED_ARCHS[sdk=iphoneos*]":"$(inherited) armv7","EXCLUDED_ARCHS[sdk=iphonesimulator*]":"$(inherited) i386","FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64\" $(inherited)","FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64_x86_64-simulator\" $(inherited)","GCC_PREFIX_HEADER":"Target Support Files/geolocator_apple/geolocator_apple-prefix.pch","GENERATE_INFOPLIST_FILE":"NO","INFOPLIST_FILE":"Target Support Files/geolocator_apple/geolocator_apple-Info.plist","INSTALL_PATH":"$(LOCAL_LIBRARY_DIR)/Frameworks","LD_RUNPATH_SEARCH_PATHS":"$(inherited) @executable_path/Frameworks @loader_path/Frameworks","MODULEMAP_FILE":"Target Support Files/geolocator_apple/geolocator_apple.modulemap","OTHER_LDFLAGS":"$(inherited) -framework Flutter","PRODUCT_MODULE_NAME":"geolocator_apple","PRODUCT_NAME":"geolocator_apple","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","SWIFT_ACTIVE_COMPILATION_CONDITIONS":"$(inherited) ","SWIFT_INSTALL_OBJC_HEADER":"YES","SWIFT_VERSION":"5.0","TARGETED_DEVICE_FAMILY":"1,2","VALIDATE_PRODUCT":"YES","VALID_ARCHS[sdk=iphonesimulator*]":"$(ARCHS_STANDARD)","VERSIONING_SYSTEM":"apple-generic","VERSION_INFO_PREFIX":""},"guid":"bfdfe7dc352907fc980b868725387e98beaaf634ac9c45a28ea8b53ae8cea921","name":"Profile"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e98eaf9cc3cd0e4bd5b5081a977e6dd395a","buildSettings":{"CLANG_ENABLE_OBJC_WEAK":"NO","CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER":"NO","CODE_SIGN_IDENTITY[sdk=appletvos*]":"","CODE_SIGN_IDENTITY[sdk=iphoneos*]":"","CODE_SIGN_IDENTITY[sdk=watchos*]":"","CURRENT_PROJECT_VERSION":"1","DYLIB_COMPATIBILITY_VERSION":"1","DYLIB_CURRENT_VERSION":"1","DYLIB_INSTALL_NAME_BASE":"@rpath","ENABLE_BITCODE":"NO","ENABLE_MODULE_VERIFIER":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","EXCLUDED_ARCHS[sdk=iphoneos*]":"$(inherited) armv7","EXCLUDED_ARCHS[sdk=iphonesimulator*]":"$(inherited) i386","FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64\" $(inherited)","FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64_x86_64-simulator\" $(inherited)","GCC_PREFIX_HEADER":"Target Support Files/geolocator_apple/geolocator_apple-prefix.pch","GENERATE_INFOPLIST_FILE":"NO","INFOPLIST_FILE":"Target Support Files/geolocator_apple/geolocator_apple-Info.plist","INSTALL_PATH":"$(LOCAL_LIBRARY_DIR)/Frameworks","LD_RUNPATH_SEARCH_PATHS":"$(inherited) @executable_path/Frameworks @loader_path/Frameworks","MODULEMAP_FILE":"Target Support Files/geolocator_apple/geolocator_apple.modulemap","OTHER_LDFLAGS":"$(inherited) -framework Flutter","PRODUCT_MODULE_NAME":"geolocator_apple","PRODUCT_NAME":"geolocator_apple","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","SWIFT_ACTIVE_COMPILATION_CONDITIONS":"$(inherited) ","SWIFT_INSTALL_OBJC_HEADER":"YES","SWIFT_VERSION":"5.0","TARGETED_DEVICE_FAMILY":"1,2","VALIDATE_PRODUCT":"YES","VALID_ARCHS[sdk=iphonesimulator*]":"$(ARCHS_STANDARD)","VERSIONING_SYSTEM":"apple-generic","VERSION_INFO_PREFIX":""},"guid":"bfdfe7dc352907fc980b868725387e9879f34f1e012c285b844492b857411475","name":"Release"}],"buildPhases":[{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e98d9ad0a4149edcd68b0bdad9f8c357f5a","guid":"bfdfe7dc352907fc980b868725387e985176eb7aa89517dd79b622378e05c296","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e981308be971bf4256165604ddfa507bedb","guid":"bfdfe7dc352907fc980b868725387e98af69fb08e313617716d0d228cf215245","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e9847f285632aedbfa1b8b80f92456c30c3","guid":"bfdfe7dc352907fc980b868725387e985e2e93614b4b998292a11ff2a2c13b6d","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e98d3aadb79cc6311582085d06ab7973697","guid":"bfdfe7dc352907fc980b868725387e98f39594556e495895558fa1a08b655ba5","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e98c10d864fa9625acfd7eefbb08fed7ca2","guid":"bfdfe7dc352907fc980b868725387e9892d2936f43a59179d3e2fc2a4021e53e","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e98ee6dabaaa5facb649fe543823039ab56","guid":"bfdfe7dc352907fc980b868725387e98de9bba16cdb7cae0aadac8b6746bb22f","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e98a765471702a0cf0920953a371b33b21f","guid":"bfdfe7dc352907fc980b868725387e986f2fd5217ee9ef9b9f743d7150a25c60","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e98fcc09e2cd63d57c1385d5c778508001b","guid":"bfdfe7dc352907fc980b868725387e9838280bfcd8b736867eaa4077fbc0d61c","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e98a6fa23beb37b4a97c18eac020b1b5d20","guid":"bfdfe7dc352907fc980b868725387e985212bf823b2dbcc093385db1f1b30dec","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e986b7ad3875c3ea0708339654b3ad07ccb","guid":"bfdfe7dc352907fc980b868725387e983b3e9d753ef701196ebaaa81a1e77d66","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e98214cc8bffc76dbc6a6f154491ae1f040","guid":"bfdfe7dc352907fc980b868725387e985cf8cb83875e6694983c229dac8bc9fb","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e982d33f4997f60f8ce0c1468d281501f96","guid":"bfdfe7dc352907fc980b868725387e988145d23612ab237ea91016460d73945a","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e9830a75396a320b25331b0eeda63b7989e","guid":"bfdfe7dc352907fc980b868725387e982690b7c043bffc9f7499a3599fc5db55","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e986484afbb8557f3859c31889364f2c681","guid":"bfdfe7dc352907fc980b868725387e984bcf2821c445a13f1ca5ddd1387c63d6","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e98c97d7107bc80f643cbef697c128ffd04","guid":"bfdfe7dc352907fc980b868725387e9814e771116f0efcc61da8fc335aa4ca3b","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e98e4997f9eeea5d8559d993be7aa37201e","guid":"bfdfe7dc352907fc980b868725387e9896786428e6a8d6c7862d939cae65f773","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e986758be54bc5de20ee932b79585bb9679","guid":"bfdfe7dc352907fc980b868725387e98790199ae3165d72360ab21230766b727","headerVisibility":"public"}],"guid":"bfdfe7dc352907fc980b868725387e9859ab3ec029f964cc4041f98492a33760","type":"com.apple.buildphase.headers"},{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e98eaaacfda5fc84c92cde1240102ea88bf","guid":"bfdfe7dc352907fc980b868725387e98ac5c52be3190abee156605bfd48912ef"},{"fileReference":"bfdfe7dc352907fc980b868725387e9854756ed1b345ed4b79c3e5f6c8ea0769","guid":"bfdfe7dc352907fc980b868725387e98e1de61ab1ff97cc94cd06a5371923da8"},{"fileReference":"bfdfe7dc352907fc980b868725387e980ae55b04d6909cbb1b9063485ed0a213","guid":"bfdfe7dc352907fc980b868725387e98d0242bdacab0261eec7e248947d90b7c"},{"fileReference":"bfdfe7dc352907fc980b868725387e98cfce3f2952ec114325f5b0f88b6d43dc","guid":"bfdfe7dc352907fc980b868725387e982d942064c23276142327490fa33537b7"},{"fileReference":"bfdfe7dc352907fc980b868725387e981ce076db35037d3d1f829dc6012a8b9c","guid":"bfdfe7dc352907fc980b868725387e98d9f834483786fc0c92f7593bcd6dd83c"},{"fileReference":"bfdfe7dc352907fc980b868725387e98bea04d3da7e1e5ef5912c12950e2b4d7","guid":"bfdfe7dc352907fc980b868725387e987f77bace7e1c1bfd0b3f575d26dfb06f"},{"fileReference":"bfdfe7dc352907fc980b868725387e985cb53c46ad908b44621e53b122861020","guid":"bfdfe7dc352907fc980b868725387e9815ed68575bdb30e9bf33141f83bd83b9"},{"fileReference":"bfdfe7dc352907fc980b868725387e9819af1a9e0db262b130c2b03ed76372b6","guid":"bfdfe7dc352907fc980b868725387e98590b8f41b31928b0a4926ce46a04415a"},{"fileReference":"bfdfe7dc352907fc980b868725387e98368837c6dbb0c73c6f9ee33524ef4b01","guid":"bfdfe7dc352907fc980b868725387e98f6d629ffc18995e49d3d77a3aef0dcb0"},{"fileReference":"bfdfe7dc352907fc980b868725387e989d63f0a23daeee92c41da32df8f05cc3","guid":"bfdfe7dc352907fc980b868725387e98af9f015ea26609a22120bcae2d16071a"},{"fileReference":"bfdfe7dc352907fc980b868725387e986e899af1504c0f230d8d2f74e0aa0bdc","guid":"bfdfe7dc352907fc980b868725387e989c0bfab68da1fedec51cf36689157069"},{"fileReference":"bfdfe7dc352907fc980b868725387e986255efa414dd1947c0a35dacd0b172e3","guid":"bfdfe7dc352907fc980b868725387e98c5820ac9b4d0a4a76d9404b84c0ec2b9"},{"fileReference":"bfdfe7dc352907fc980b868725387e98e50c45bf01dd4fbaaa8869f4cf46eb7a","guid":"bfdfe7dc352907fc980b868725387e98df9697c7b74a7cf4593f9d66eda4c228"},{"fileReference":"bfdfe7dc352907fc980b868725387e987a91c0aa92130f309e851ea8c0e40740","guid":"bfdfe7dc352907fc980b868725387e98df10a50fc47d08262ba22e5741f99c0e"}],"guid":"bfdfe7dc352907fc980b868725387e989d91e5abbad637a65716b7fef9466ccd","type":"com.apple.buildphase.sources"},{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e98694402cafaaf96f5099d07dfc1c41bec","guid":"bfdfe7dc352907fc980b868725387e9847d3b3fdbf8c6c03a84819a79f7ae5aa"}],"guid":"bfdfe7dc352907fc980b868725387e988ec00323e57392a3c283b014e048e33b","type":"com.apple.buildphase.frameworks"},{"buildFiles":[{"guid":"bfdfe7dc352907fc980b868725387e98c4b351c20ac090098b0dcaf5fd3c18e2","targetReference":"bfdfe7dc352907fc980b868725387e98e1aba8ff8dc833f2269ce0a7182533b3"}],"guid":"bfdfe7dc352907fc980b868725387e98053f546dc39b1661db608be4eb007f0a","type":"com.apple.buildphase.resources"}],"buildRules":[],"dependencies":[{"guid":"bfdfe7dc352907fc980b868725387e989da425bb6d6d5d8dbb95e4afffb82217","name":"Flutter"},{"guid":"bfdfe7dc352907fc980b868725387e98e1aba8ff8dc833f2269ce0a7182533b3","name":"geolocator_apple-geolocator_apple_privacy"}],"guid":"bfdfe7dc352907fc980b868725387e9821d372cc1e7c7587a12aeda843619e39","name":"geolocator_apple","predominantSourceCodeLanguage":"Xcode.SourceCodeLanguage.Objective-C-Plus-Plus","productReference":{"guid":"bfdfe7dc352907fc980b868725387e986ff8f87e011522b1b6328c84d9533927","name":"geolocator_apple.framework","type":"product"},"productTypeIdentifier":"com.apple.product-type.framework","provisioningSourceData":[{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Debug","provisioningStyle":1},{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Profile","provisioningStyle":1},{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Release","provisioningStyle":1}],"type":"standard"} \ No newline at end of file diff --git a/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=a059155a33d4882ca6c2ebd347dcbd37-json b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=a059155a33d4882ca6c2ebd347dcbd37-json new file mode 100644 index 0000000..53740a0 --- /dev/null +++ b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=a059155a33d4882ca6c2ebd347dcbd37-json @@ -0,0 +1 @@ +{"buildConfigurations":[{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e98c5ae77c3ed9c6121cedd0cc76f43439d","buildSettings":{"ASSETCATALOG_COMPILER_APPICON_NAME":"AppIcon","ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME":"AccentColor","CLANG_ENABLE_OBJC_WEAK":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","IPHONEOS_DEPLOYMENT_TARGET":"12.0","LD_RUNPATH_SEARCH_PATHS":"$(inherited) @executable_path/Frameworks","ONLY_ACTIVE_ARCH":"NO","SDKROOT":"iphoneos","TARGETED_DEVICE_FAMILY":"1,2"},"guid":"bfdfe7dc352907fc980b868725387e9805a7aa5f1f9ee500ad450f318d7c6bb9","name":"Debug"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e98bc34136e26d305900a48578fde6599dd","buildSettings":{"ASSETCATALOG_COMPILER_APPICON_NAME":"AppIcon","ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME":"AccentColor","CLANG_ENABLE_OBJC_WEAK":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","IPHONEOS_DEPLOYMENT_TARGET":"12.0","LD_RUNPATH_SEARCH_PATHS":"$(inherited) @executable_path/Frameworks","SDKROOT":"iphoneos","TARGETED_DEVICE_FAMILY":"1,2","VALIDATE_PRODUCT":"YES"},"guid":"bfdfe7dc352907fc980b868725387e982ce0cb00cdbfda3dc319c833ad6ae38c","name":"Profile"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e98bc34136e26d305900a48578fde6599dd","buildSettings":{"ASSETCATALOG_COMPILER_APPICON_NAME":"AppIcon","ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME":"AccentColor","CLANG_ENABLE_OBJC_WEAK":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","IPHONEOS_DEPLOYMENT_TARGET":"12.0","LD_RUNPATH_SEARCH_PATHS":"$(inherited) @executable_path/Frameworks","SDKROOT":"iphoneos","TARGETED_DEVICE_FAMILY":"1,2","VALIDATE_PRODUCT":"YES"},"guid":"bfdfe7dc352907fc980b868725387e982a78a0117e7c8676789927b020dc3cdc","name":"Release"}],"buildPhases":[{"alwaysOutOfDate":"false","alwaysRunForInstallHdrs":"false","buildFiles":[],"emitEnvironment":"false","guid":"bfdfe7dc352907fc980b868725387e9833b1d8959324e2199aa08cec6b52aa6c","inputFileListPaths":["${PODS_ROOT}/Target Support Files/ObjectBox/ObjectBox-xcframeworks-input-files.xcfilelist"],"inputFilePaths":[],"name":"[CP] Copy XCFrameworks","originalObjectID":"CF5046B1965C17C425C68434C5F4930A","outputFileListPaths":["${PODS_ROOT}/Target Support Files/ObjectBox/ObjectBox-xcframeworks-output-files.xcfilelist"],"outputFilePaths":[],"sandboxingOverride":"basedOnBuildSetting","scriptContents":"\"${PODS_ROOT}/Target Support Files/ObjectBox/ObjectBox-xcframeworks.sh\"\n","shellPath":"/bin/sh","type":"com.apple.buildphase.shell-script"}],"buildRules":[],"dependencies":[],"guid":"bfdfe7dc352907fc980b868725387e9899d473c1bf2fb661137a0585385808b4","name":"ObjectBox","provisioningSourceData":[{"bundleIdentifierFromInfoPlist":"","configurationName":"Debug","provisioningStyle":0},{"bundleIdentifierFromInfoPlist":"","configurationName":"Profile","provisioningStyle":0},{"bundleIdentifierFromInfoPlist":"","configurationName":"Release","provisioningStyle":0}],"type":"aggregate"} \ No newline at end of file diff --git a/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=adee91e78bc79e501172d4c30e647038-json b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=adee91e78bc79e501172d4c30e647038-json new file mode 100644 index 0000000..36a7c1a --- /dev/null +++ b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=adee91e78bc79e501172d4c30e647038-json @@ -0,0 +1 @@ +{"buildConfigurations":[{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e985d6c98d572eacea560ef85525944bc53","buildSettings":{"CODE_SIGNING_ALLOWED":"NO","CODE_SIGNING_IDENTITY":"-","CODE_SIGNING_REQUIRED":"NO","CONFIGURATION_BUILD_DIR":"$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/path_provider_foundation","EXPANDED_CODE_SIGN_IDENTITY":"-","IBSC_MODULE":"path_provider_foundation","INFOPLIST_FILE":"Target Support Files/path_provider_foundation/ResourceBundle-path_provider_foundation_privacy-path_provider_foundation-Info.plist","IPHONEOS_DEPLOYMENT_TARGET":"12.0","ONLY_ACTIVE_ARCH":"NO","PRODUCT_NAME":"path_provider_foundation_privacy","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","TARGETED_DEVICE_FAMILY":"1,2","WRAPPER_EXTENSION":"bundle"},"guid":"bfdfe7dc352907fc980b868725387e9880add09333c603618ba57301ef150366","name":"Debug"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e983214452bd1fb01e59882991c3a0c6270","buildSettings":{"CLANG_ENABLE_OBJC_WEAK":"NO","CODE_SIGNING_ALLOWED":"NO","CODE_SIGNING_IDENTITY":"-","CODE_SIGNING_REQUIRED":"NO","CONFIGURATION_BUILD_DIR":"$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/path_provider_foundation","EXPANDED_CODE_SIGN_IDENTITY":"-","IBSC_MODULE":"path_provider_foundation","INFOPLIST_FILE":"Target Support Files/path_provider_foundation/ResourceBundle-path_provider_foundation_privacy-path_provider_foundation-Info.plist","IPHONEOS_DEPLOYMENT_TARGET":"12.0","PRODUCT_NAME":"path_provider_foundation_privacy","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","TARGETED_DEVICE_FAMILY":"1,2","VALIDATE_PRODUCT":"YES","WRAPPER_EXTENSION":"bundle"},"guid":"bfdfe7dc352907fc980b868725387e9847c9860dbbe72e455fd62321ab015d07","name":"Profile"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e983214452bd1fb01e59882991c3a0c6270","buildSettings":{"CODE_SIGNING_ALLOWED":"NO","CODE_SIGNING_IDENTITY":"-","CODE_SIGNING_REQUIRED":"NO","CONFIGURATION_BUILD_DIR":"$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/path_provider_foundation","EXPANDED_CODE_SIGN_IDENTITY":"-","IBSC_MODULE":"path_provider_foundation","INFOPLIST_FILE":"Target Support Files/path_provider_foundation/ResourceBundle-path_provider_foundation_privacy-path_provider_foundation-Info.plist","IPHONEOS_DEPLOYMENT_TARGET":"12.0","PRODUCT_NAME":"path_provider_foundation_privacy","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","TARGETED_DEVICE_FAMILY":"1,2","WRAPPER_EXTENSION":"bundle"},"guid":"bfdfe7dc352907fc980b868725387e98015187516b84ba9413737c5495e2630f","name":"Release"}],"buildPhases":[{"buildFiles":[],"guid":"bfdfe7dc352907fc980b868725387e98e17b6ebc5129f9508fe634174cc60540","type":"com.apple.buildphase.sources"},{"buildFiles":[],"guid":"bfdfe7dc352907fc980b868725387e98b11ffdc4603d340d255431d37eda7cff","type":"com.apple.buildphase.frameworks"},{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e98f875f9d760fe29ff006006bf8a5e29db","guid":"bfdfe7dc352907fc980b868725387e98d6567728f9dc045f8d11b87239454a17"}],"guid":"bfdfe7dc352907fc980b868725387e983844082810a6bc94d89439820fcf9464","type":"com.apple.buildphase.resources"}],"buildRules":[],"dependencies":[],"guid":"bfdfe7dc352907fc980b868725387e987ea64ee8d53085bf9edd1a57aaf8cbb5","name":"path_provider_foundation-path_provider_foundation_privacy","productReference":{"guid":"bfdfe7dc352907fc980b868725387e986e649604f74c414a7c2dbe5ef4cc4e75","name":"path_provider_foundation_privacy.bundle","type":"product"},"productTypeIdentifier":"com.apple.product-type.bundle","provisioningSourceData":[{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Debug","provisioningStyle":0},{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Profile","provisioningStyle":0},{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Release","provisioningStyle":0}],"type":"standard"} \ No newline at end of file diff --git a/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=e04399206bf67f5428d9452d06bafc04-json b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=e04399206bf67f5428d9452d06bafc04-json new file mode 100644 index 0000000..e6773fa --- /dev/null +++ b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=e04399206bf67f5428d9452d06bafc04-json @@ -0,0 +1 @@ +{"buildConfigurations":[{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e985d6c98d572eacea560ef85525944bc53","buildSettings":{"CLANG_ENABLE_OBJC_WEAK":"NO","CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER":"NO","CODE_SIGN_IDENTITY[sdk=appletvos*]":"","CODE_SIGN_IDENTITY[sdk=iphoneos*]":"","CODE_SIGN_IDENTITY[sdk=watchos*]":"","CURRENT_PROJECT_VERSION":"1","DEFINES_MODULE":"YES","DYLIB_COMPATIBILITY_VERSION":"1","DYLIB_CURRENT_VERSION":"1","DYLIB_INSTALL_NAME_BASE":"@rpath","ENABLE_BITCODE":"NO","ENABLE_MODULE_VERIFIER":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","EXCLUDED_ARCHS[sdk=iphoneos*]":"$(inherited) armv7","EXCLUDED_ARCHS[sdk=iphonesimulator*]":"$(inherited) i386","FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64\" $(inherited)","FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator\" $(inherited)","GCC_PREFIX_HEADER":"Target Support Files/path_provider_foundation/path_provider_foundation-prefix.pch","GENERATE_INFOPLIST_FILE":"NO","INFOPLIST_FILE":"Target Support Files/path_provider_foundation/path_provider_foundation-Info.plist","INSTALL_PATH":"$(LOCAL_LIBRARY_DIR)/Frameworks","MODULEMAP_FILE":"Target Support Files/path_provider_foundation/path_provider_foundation.modulemap","ONLY_ACTIVE_ARCH":"NO","OTHER_LDFLAGS":"$(inherited) -framework Flutter","PRODUCT_MODULE_NAME":"path_provider_foundation","PRODUCT_NAME":"path_provider_foundation","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","SWIFT_ACTIVE_COMPILATION_CONDITIONS":"$(inherited) ","SWIFT_INSTALL_OBJC_HEADER":"YES","SWIFT_VERSION":"5.0","TARGETED_DEVICE_FAMILY":"1,2","VALID_ARCHS[sdk=iphonesimulator*]":"$(ARCHS_STANDARD)","VERSIONING_SYSTEM":"apple-generic","VERSION_INFO_PREFIX":""},"guid":"bfdfe7dc352907fc980b868725387e98ab88586633079f928287f370e8b6f07b","name":"Debug"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e983214452bd1fb01e59882991c3a0c6270","buildSettings":{"CLANG_ENABLE_OBJC_WEAK":"NO","CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER":"NO","CODE_SIGN_IDENTITY[sdk=appletvos*]":"","CODE_SIGN_IDENTITY[sdk=iphoneos*]":"","CODE_SIGN_IDENTITY[sdk=watchos*]":"","CURRENT_PROJECT_VERSION":"1","DEFINES_MODULE":"YES","DYLIB_COMPATIBILITY_VERSION":"1","DYLIB_CURRENT_VERSION":"1","DYLIB_INSTALL_NAME_BASE":"@rpath","ENABLE_BITCODE":"NO","ENABLE_MODULE_VERIFIER":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","EXCLUDED_ARCHS[sdk=iphoneos*]":"$(inherited) armv7","EXCLUDED_ARCHS[sdk=iphonesimulator*]":"$(inherited) i386","FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64\" $(inherited)","FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64_x86_64-simulator\" $(inherited)","GCC_PREFIX_HEADER":"Target Support Files/path_provider_foundation/path_provider_foundation-prefix.pch","GENERATE_INFOPLIST_FILE":"NO","INFOPLIST_FILE":"Target Support Files/path_provider_foundation/path_provider_foundation-Info.plist","INSTALL_PATH":"$(LOCAL_LIBRARY_DIR)/Frameworks","MODULEMAP_FILE":"Target Support Files/path_provider_foundation/path_provider_foundation.modulemap","OTHER_LDFLAGS":"$(inherited) -framework Flutter","PRODUCT_MODULE_NAME":"path_provider_foundation","PRODUCT_NAME":"path_provider_foundation","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","SWIFT_ACTIVE_COMPILATION_CONDITIONS":"$(inherited) ","SWIFT_INSTALL_OBJC_HEADER":"YES","SWIFT_VERSION":"5.0","TARGETED_DEVICE_FAMILY":"1,2","VALIDATE_PRODUCT":"YES","VALID_ARCHS[sdk=iphonesimulator*]":"$(ARCHS_STANDARD)","VERSIONING_SYSTEM":"apple-generic","VERSION_INFO_PREFIX":""},"guid":"bfdfe7dc352907fc980b868725387e9880f884b2537bd891ed54ff6e3ab7d0ee","name":"Profile"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e983214452bd1fb01e59882991c3a0c6270","buildSettings":{"CLANG_ENABLE_OBJC_WEAK":"NO","CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER":"NO","CODE_SIGN_IDENTITY[sdk=appletvos*]":"","CODE_SIGN_IDENTITY[sdk=iphoneos*]":"","CODE_SIGN_IDENTITY[sdk=watchos*]":"","CURRENT_PROJECT_VERSION":"1","DEFINES_MODULE":"YES","DYLIB_COMPATIBILITY_VERSION":"1","DYLIB_CURRENT_VERSION":"1","DYLIB_INSTALL_NAME_BASE":"@rpath","ENABLE_BITCODE":"NO","ENABLE_MODULE_VERIFIER":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","EXCLUDED_ARCHS[sdk=iphoneos*]":"$(inherited) armv7","EXCLUDED_ARCHS[sdk=iphonesimulator*]":"$(inherited) i386","FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64\" $(inherited)","FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64_x86_64-simulator\" $(inherited)","GCC_PREFIX_HEADER":"Target Support Files/path_provider_foundation/path_provider_foundation-prefix.pch","GENERATE_INFOPLIST_FILE":"NO","INFOPLIST_FILE":"Target Support Files/path_provider_foundation/path_provider_foundation-Info.plist","INSTALL_PATH":"$(LOCAL_LIBRARY_DIR)/Frameworks","MODULEMAP_FILE":"Target Support Files/path_provider_foundation/path_provider_foundation.modulemap","OTHER_LDFLAGS":"$(inherited) -framework Flutter","PRODUCT_MODULE_NAME":"path_provider_foundation","PRODUCT_NAME":"path_provider_foundation","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","SWIFT_ACTIVE_COMPILATION_CONDITIONS":"$(inherited) ","SWIFT_INSTALL_OBJC_HEADER":"YES","SWIFT_VERSION":"5.0","TARGETED_DEVICE_FAMILY":"1,2","VALIDATE_PRODUCT":"YES","VALID_ARCHS[sdk=iphonesimulator*]":"$(ARCHS_STANDARD)","VERSIONING_SYSTEM":"apple-generic","VERSION_INFO_PREFIX":""},"guid":"bfdfe7dc352907fc980b868725387e9858b9d941e76db42d349048c14af0e16e","name":"Release"}],"buildPhases":[{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e98946a6778d27860136a125954e88013bb","guid":"bfdfe7dc352907fc980b868725387e98e40234757d04478dc54a213f59e845fa","headerVisibility":"public"}],"guid":"bfdfe7dc352907fc980b868725387e98450b40315711083d32b0ed949174ff28","type":"com.apple.buildphase.headers"},{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e98c01ff897662d0287ccb106430b06cb25","guid":"bfdfe7dc352907fc980b868725387e98169e8c0def8fc9cbc5e9705d115443ce"},{"fileReference":"bfdfe7dc352907fc980b868725387e982c85425986bf1a49591325e47078c72c","guid":"bfdfe7dc352907fc980b868725387e986dfc1b5ca512f6383be32a7124385963"},{"fileReference":"bfdfe7dc352907fc980b868725387e9869640042be7993b8d3d4e85c9094541b","guid":"bfdfe7dc352907fc980b868725387e98852428f043c7d93455f8ba436e0dc25e"}],"guid":"bfdfe7dc352907fc980b868725387e98f5d455158bacea210fd45e1a8f3245fc","type":"com.apple.buildphase.sources"},{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e98694402cafaaf96f5099d07dfc1c41bec","guid":"bfdfe7dc352907fc980b868725387e9829f34398048903731961241124ac546e"}],"guid":"bfdfe7dc352907fc980b868725387e987ebedde198dc993f3ca38aec4ed08768","type":"com.apple.buildphase.frameworks"},{"buildFiles":[{"guid":"bfdfe7dc352907fc980b868725387e98234997a2811e55e2dfc23faf0b9d3093","targetReference":"bfdfe7dc352907fc980b868725387e987ea64ee8d53085bf9edd1a57aaf8cbb5"}],"guid":"bfdfe7dc352907fc980b868725387e98ac45f7d09c5ae0c1d8f7eb8e8ff004ab","type":"com.apple.buildphase.resources"}],"buildRules":[],"dependencies":[{"guid":"bfdfe7dc352907fc980b868725387e989da425bb6d6d5d8dbb95e4afffb82217","name":"Flutter"},{"guid":"bfdfe7dc352907fc980b868725387e987ea64ee8d53085bf9edd1a57aaf8cbb5","name":"path_provider_foundation-path_provider_foundation_privacy"}],"guid":"bfdfe7dc352907fc980b868725387e9830037b09fee48cfce1f8562d753688c8","name":"path_provider_foundation","predominantSourceCodeLanguage":"Xcode.SourceCodeLanguage.Swift","productReference":{"guid":"bfdfe7dc352907fc980b868725387e98177b75fe6f519d73b22b382cca137f1c","name":"path_provider_foundation.framework","type":"product"},"productTypeIdentifier":"com.apple.product-type.framework","provisioningSourceData":[{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Debug","provisioningStyle":1},{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Profile","provisioningStyle":1},{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Release","provisioningStyle":1}],"type":"standard"} \ No newline at end of file diff --git a/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=e72533b61a16b5054ea33643eac1fa25-json b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=e72533b61a16b5054ea33643eac1fa25-json new file mode 100644 index 0000000..12b0373 --- /dev/null +++ b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=e72533b61a16b5054ea33643eac1fa25-json @@ -0,0 +1 @@ +{"buildConfigurations":[{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e988447dbc9b1396f2f8b874665d7663344","buildSettings":{"CLANG_ENABLE_OBJC_WEAK":"NO","CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER":"NO","CODE_SIGN_IDENTITY[sdk=appletvos*]":"","CODE_SIGN_IDENTITY[sdk=iphoneos*]":"","CODE_SIGN_IDENTITY[sdk=watchos*]":"","CURRENT_PROJECT_VERSION":"1","DYLIB_COMPATIBILITY_VERSION":"1","DYLIB_CURRENT_VERSION":"1","DYLIB_INSTALL_NAME_BASE":"@rpath","ENABLE_BITCODE":"NO","ENABLE_MODULE_VERIFIER":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","EXCLUDED_ARCHS[sdk=iphoneos*]":"$(inherited) armv7","EXCLUDED_ARCHS[sdk=iphonesimulator*]":"$(inherited) i386","FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64\" $(inherited)","FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator\" $(inherited)","GCC_PREFIX_HEADER":"Target Support Files/package_info_plus/package_info_plus-prefix.pch","GENERATE_INFOPLIST_FILE":"NO","INFOPLIST_FILE":"Target Support Files/package_info_plus/package_info_plus-Info.plist","INSTALL_PATH":"$(LOCAL_LIBRARY_DIR)/Frameworks","LD_RUNPATH_SEARCH_PATHS":"$(inherited) @executable_path/Frameworks @loader_path/Frameworks","MODULEMAP_FILE":"Target Support Files/package_info_plus/package_info_plus.modulemap","ONLY_ACTIVE_ARCH":"NO","OTHER_LDFLAGS":"$(inherited) -framework Flutter","PRODUCT_MODULE_NAME":"package_info_plus","PRODUCT_NAME":"package_info_plus","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","SWIFT_ACTIVE_COMPILATION_CONDITIONS":"$(inherited) ","SWIFT_INSTALL_OBJC_HEADER":"YES","SWIFT_VERSION":"5.0","TARGETED_DEVICE_FAMILY":"1,2","VALID_ARCHS[sdk=iphonesimulator*]":"$(ARCHS_STANDARD)","VERSIONING_SYSTEM":"apple-generic","VERSION_INFO_PREFIX":""},"guid":"bfdfe7dc352907fc980b868725387e9897051622773a9cd7d8fae6ba3be0988b","name":"Debug"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e982618b5a51037a32a885f4497ede4dcf3","buildSettings":{"CLANG_ENABLE_OBJC_WEAK":"NO","CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER":"NO","CODE_SIGN_IDENTITY[sdk=appletvos*]":"","CODE_SIGN_IDENTITY[sdk=iphoneos*]":"","CODE_SIGN_IDENTITY[sdk=watchos*]":"","CURRENT_PROJECT_VERSION":"1","DYLIB_COMPATIBILITY_VERSION":"1","DYLIB_CURRENT_VERSION":"1","DYLIB_INSTALL_NAME_BASE":"@rpath","ENABLE_BITCODE":"NO","ENABLE_MODULE_VERIFIER":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","EXCLUDED_ARCHS[sdk=iphoneos*]":"$(inherited) armv7","EXCLUDED_ARCHS[sdk=iphonesimulator*]":"$(inherited) i386","FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64\" $(inherited)","FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64_x86_64-simulator\" $(inherited)","GCC_PREFIX_HEADER":"Target Support Files/package_info_plus/package_info_plus-prefix.pch","GENERATE_INFOPLIST_FILE":"NO","INFOPLIST_FILE":"Target Support Files/package_info_plus/package_info_plus-Info.plist","INSTALL_PATH":"$(LOCAL_LIBRARY_DIR)/Frameworks","LD_RUNPATH_SEARCH_PATHS":"$(inherited) @executable_path/Frameworks @loader_path/Frameworks","MODULEMAP_FILE":"Target Support Files/package_info_plus/package_info_plus.modulemap","OTHER_LDFLAGS":"$(inherited) -framework Flutter","PRODUCT_MODULE_NAME":"package_info_plus","PRODUCT_NAME":"package_info_plus","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","SWIFT_ACTIVE_COMPILATION_CONDITIONS":"$(inherited) ","SWIFT_INSTALL_OBJC_HEADER":"YES","SWIFT_VERSION":"5.0","TARGETED_DEVICE_FAMILY":"1,2","VALIDATE_PRODUCT":"YES","VALID_ARCHS[sdk=iphonesimulator*]":"$(ARCHS_STANDARD)","VERSIONING_SYSTEM":"apple-generic","VERSION_INFO_PREFIX":""},"guid":"bfdfe7dc352907fc980b868725387e98937974f840ad34ce898c3a62a0a52a8d","name":"Profile"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e982618b5a51037a32a885f4497ede4dcf3","buildSettings":{"CLANG_ENABLE_OBJC_WEAK":"NO","CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER":"NO","CODE_SIGN_IDENTITY[sdk=appletvos*]":"","CODE_SIGN_IDENTITY[sdk=iphoneos*]":"","CODE_SIGN_IDENTITY[sdk=watchos*]":"","CURRENT_PROJECT_VERSION":"1","DYLIB_COMPATIBILITY_VERSION":"1","DYLIB_CURRENT_VERSION":"1","DYLIB_INSTALL_NAME_BASE":"@rpath","ENABLE_BITCODE":"NO","ENABLE_MODULE_VERIFIER":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","EXCLUDED_ARCHS[sdk=iphoneos*]":"$(inherited) armv7","EXCLUDED_ARCHS[sdk=iphonesimulator*]":"$(inherited) i386","FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64\" $(inherited)","FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64_x86_64-simulator\" $(inherited)","GCC_PREFIX_HEADER":"Target Support Files/package_info_plus/package_info_plus-prefix.pch","GENERATE_INFOPLIST_FILE":"NO","INFOPLIST_FILE":"Target Support Files/package_info_plus/package_info_plus-Info.plist","INSTALL_PATH":"$(LOCAL_LIBRARY_DIR)/Frameworks","LD_RUNPATH_SEARCH_PATHS":"$(inherited) @executable_path/Frameworks @loader_path/Frameworks","MODULEMAP_FILE":"Target Support Files/package_info_plus/package_info_plus.modulemap","OTHER_LDFLAGS":"$(inherited) -framework Flutter","PRODUCT_MODULE_NAME":"package_info_plus","PRODUCT_NAME":"package_info_plus","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","SWIFT_ACTIVE_COMPILATION_CONDITIONS":"$(inherited) ","SWIFT_INSTALL_OBJC_HEADER":"YES","SWIFT_VERSION":"5.0","TARGETED_DEVICE_FAMILY":"1,2","VALIDATE_PRODUCT":"YES","VALID_ARCHS[sdk=iphonesimulator*]":"$(ARCHS_STANDARD)","VERSIONING_SYSTEM":"apple-generic","VERSION_INFO_PREFIX":""},"guid":"bfdfe7dc352907fc980b868725387e98f7c4cdd694f93dd8f9baf8a7be82dba5","name":"Release"}],"buildPhases":[{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e98c91b2a33ca061d402a5f34f11e59bc60","guid":"bfdfe7dc352907fc980b868725387e987f4731fb83fa015966f7ba81907c9dbf","headerVisibility":"public"},{"fileReference":"bfdfe7dc352907fc980b868725387e98dbc9b5763bc15b649380ea8c9ebcb117","guid":"bfdfe7dc352907fc980b868725387e984a3cde720e889627fced5106f157da46","headerVisibility":"public"}],"guid":"bfdfe7dc352907fc980b868725387e9882bf16bb6e470ae110c9ab32e9a6916b","type":"com.apple.buildphase.headers"},{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e984ebae4f4ea02c4e93b29e3d78d2d2baf","guid":"bfdfe7dc352907fc980b868725387e98d723e02e693621ee0fa0b2b55e92c6f6"},{"fileReference":"bfdfe7dc352907fc980b868725387e989af135c45ee40240df056a1bf4f99431","guid":"bfdfe7dc352907fc980b868725387e98807c0f13ab38bf78a255422ace44851d"}],"guid":"bfdfe7dc352907fc980b868725387e9802e6907f47df982f511318ee6421866b","type":"com.apple.buildphase.sources"},{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e98694402cafaaf96f5099d07dfc1c41bec","guid":"bfdfe7dc352907fc980b868725387e98f9972619f6373dcc7a588e3720ff6b1d"}],"guid":"bfdfe7dc352907fc980b868725387e9853f06540a2b47e2bce34c4f52b96b9b7","type":"com.apple.buildphase.frameworks"},{"buildFiles":[{"guid":"bfdfe7dc352907fc980b868725387e98d3f2eef9a97764f5506e64926c3bef1a","targetReference":"bfdfe7dc352907fc980b868725387e987b6c2f882d164ef4f3c76673562685a1"}],"guid":"bfdfe7dc352907fc980b868725387e981ef7df0f5e6435e5f909151e5c6d893c","type":"com.apple.buildphase.resources"}],"buildRules":[],"dependencies":[{"guid":"bfdfe7dc352907fc980b868725387e989da425bb6d6d5d8dbb95e4afffb82217","name":"Flutter"},{"guid":"bfdfe7dc352907fc980b868725387e987b6c2f882d164ef4f3c76673562685a1","name":"package_info_plus-package_info_plus_privacy"}],"guid":"bfdfe7dc352907fc980b868725387e98a5ae7244e41cc249cf7186dbb9962ecb","name":"package_info_plus","predominantSourceCodeLanguage":"Xcode.SourceCodeLanguage.Objective-C","productReference":{"guid":"bfdfe7dc352907fc980b868725387e98d9c4afca85b28d898f3002d0bb74c874","name":"package_info_plus.framework","type":"product"},"productTypeIdentifier":"com.apple.product-type.framework","provisioningSourceData":[{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Debug","provisioningStyle":1},{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Profile","provisioningStyle":1},{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Release","provisioningStyle":1}],"type":"standard"} \ No newline at end of file diff --git a/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=ebee832c46821061ef3593f1aeef1803-json b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=ebee832c46821061ef3593f1aeef1803-json new file mode 100644 index 0000000..1ac23d6 --- /dev/null +++ b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=ebee832c46821061ef3593f1aeef1803-json @@ -0,0 +1 @@ +{"buildConfigurations":[{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e98b2d96934906ee3fbaef29d6d94829467","buildSettings":{"CODE_SIGNING_ALLOWED":"NO","CODE_SIGNING_IDENTITY":"-","CODE_SIGNING_REQUIRED":"NO","CONFIGURATION_BUILD_DIR":"$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/permission_handler_apple","EXPANDED_CODE_SIGN_IDENTITY":"-","IBSC_MODULE":"permission_handler_apple","INFOPLIST_FILE":"Target Support Files/permission_handler_apple/ResourceBundle-permission_handler_apple_privacy-permission_handler_apple-Info.plist","IPHONEOS_DEPLOYMENT_TARGET":"9.0","ONLY_ACTIVE_ARCH":"NO","PRODUCT_NAME":"permission_handler_apple_privacy","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","TARGETED_DEVICE_FAMILY":"1,2","WRAPPER_EXTENSION":"bundle"},"guid":"bfdfe7dc352907fc980b868725387e98f766aa246d1b90c876b6e3208c1336fe","name":"Debug"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e987f457f86a057c20b67c9b014731ae27e","buildSettings":{"CLANG_ENABLE_OBJC_WEAK":"NO","CODE_SIGNING_ALLOWED":"NO","CODE_SIGNING_IDENTITY":"-","CODE_SIGNING_REQUIRED":"NO","CONFIGURATION_BUILD_DIR":"$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/permission_handler_apple","EXPANDED_CODE_SIGN_IDENTITY":"-","IBSC_MODULE":"permission_handler_apple","INFOPLIST_FILE":"Target Support Files/permission_handler_apple/ResourceBundle-permission_handler_apple_privacy-permission_handler_apple-Info.plist","IPHONEOS_DEPLOYMENT_TARGET":"9.0","PRODUCT_NAME":"permission_handler_apple_privacy","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","TARGETED_DEVICE_FAMILY":"1,2","VALIDATE_PRODUCT":"YES","WRAPPER_EXTENSION":"bundle"},"guid":"bfdfe7dc352907fc980b868725387e98e895a43ffa62f210c41ab4ed9f6b378d","name":"Profile"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e987f457f86a057c20b67c9b014731ae27e","buildSettings":{"CODE_SIGNING_ALLOWED":"NO","CODE_SIGNING_IDENTITY":"-","CODE_SIGNING_REQUIRED":"NO","CONFIGURATION_BUILD_DIR":"$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/permission_handler_apple","EXPANDED_CODE_SIGN_IDENTITY":"-","IBSC_MODULE":"permission_handler_apple","INFOPLIST_FILE":"Target Support Files/permission_handler_apple/ResourceBundle-permission_handler_apple_privacy-permission_handler_apple-Info.plist","IPHONEOS_DEPLOYMENT_TARGET":"9.0","PRODUCT_NAME":"permission_handler_apple_privacy","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","TARGETED_DEVICE_FAMILY":"1,2","WRAPPER_EXTENSION":"bundle"},"guid":"bfdfe7dc352907fc980b868725387e9859313236931631f81cee652c06e89e82","name":"Release"}],"buildPhases":[{"buildFiles":[],"guid":"bfdfe7dc352907fc980b868725387e987f3961a0227401794e66b2ad691417b2","type":"com.apple.buildphase.sources"},{"buildFiles":[],"guid":"bfdfe7dc352907fc980b868725387e98fd3f2136c497a33f11909a4555f0b9de","type":"com.apple.buildphase.frameworks"},{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e982eac7f03e53587ac5e1b2814ff7688b5","guid":"bfdfe7dc352907fc980b868725387e98692c4078ff878e239810d50f748be088"}],"guid":"bfdfe7dc352907fc980b868725387e98d8dfe8c885fcb7f295edd748d6ae4f67","type":"com.apple.buildphase.resources"}],"buildRules":[],"dependencies":[],"guid":"bfdfe7dc352907fc980b868725387e9802f35ab680609a626ebd2ddd692a3822","name":"permission_handler_apple-permission_handler_apple_privacy","productReference":{"guid":"bfdfe7dc352907fc980b868725387e983e9a904e8a35cb34b69458780be142b3","name":"permission_handler_apple_privacy.bundle","type":"product"},"productTypeIdentifier":"com.apple.product-type.bundle","provisioningSourceData":[{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Debug","provisioningStyle":0},{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Profile","provisioningStyle":0},{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Release","provisioningStyle":0}],"type":"standard"} \ No newline at end of file diff --git a/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=f7b9f55bd8bfe494e0bd79d6cf6a8884-json b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=f7b9f55bd8bfe494e0bd79d6cf6a8884-json new file mode 100644 index 0000000..dc127d7 --- /dev/null +++ b/ios/build/ios/XCBuildData/PIFCache/target/TARGET@v11_hash=f7b9f55bd8bfe494e0bd79d6cf6a8884-json @@ -0,0 +1 @@ +{"buildConfigurations":[{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e9850cc7fc2d23136fb4fac488d6c47df20","buildSettings":{"ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES":"NO","CLANG_ENABLE_OBJC_WEAK":"NO","CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER":"NO","CODE_SIGN_IDENTITY[sdk=appletvos*]":"","CODE_SIGN_IDENTITY[sdk=iphoneos*]":"","CODE_SIGN_IDENTITY[sdk=watchos*]":"","CURRENT_PROJECT_VERSION":"1","DEFINES_MODULE":"YES","DYLIB_COMPATIBILITY_VERSION":"1","DYLIB_CURRENT_VERSION":"1","DYLIB_INSTALL_NAME_BASE":"@rpath","ENABLE_BITCODE":"NO","ENABLE_MODULE_VERIFIER":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","EXCLUDED_ARCHS[sdk=iphoneos*]":"$(inherited) armv7","EXCLUDED_ARCHS[sdk=iphonesimulator*]":"$(inherited) i386","FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64\" $(inherited)","FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator\" $(inherited)","INFOPLIST_FILE":"Target Support Files/Pods-Runner/Pods-Runner-Info.plist","INSTALL_PATH":"$(LOCAL_LIBRARY_DIR)/Frameworks","IPHONEOS_DEPLOYMENT_TARGET":"13.0","LD_RUNPATH_SEARCH_PATHS":"$(inherited) @executable_path/Frameworks @loader_path/Frameworks","MACH_O_TYPE":"staticlib","MODULEMAP_FILE":"Target Support Files/Pods-Runner/Pods-Runner.modulemap","ONLY_ACTIVE_ARCH":"NO","OTHER_LDFLAGS":"$(inherited) -framework Flutter","OTHER_LIBTOOLFLAGS":"","PODS_ROOT":"$(SRCROOT)","PRODUCT_BUNDLE_IDENTIFIER":"org.cocoapods.${PRODUCT_NAME:rfc1034identifier}","PRODUCT_NAME":"$(TARGET_NAME:c99extidentifier)","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","TARGETED_DEVICE_FAMILY":"1,2","VALID_ARCHS[sdk=iphonesimulator*]":"$(ARCHS_STANDARD)","VERSIONING_SYSTEM":"apple-generic","VERSION_INFO_PREFIX":""},"guid":"bfdfe7dc352907fc980b868725387e984e23a083557799a825eafd2fe7a6318b","name":"Debug"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e98dc1a21852c7a085c7dd8f65cf0fa9907","buildSettings":{"ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES":"NO","CLANG_ENABLE_OBJC_WEAK":"NO","CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER":"NO","CODE_SIGN_IDENTITY[sdk=appletvos*]":"","CODE_SIGN_IDENTITY[sdk=iphoneos*]":"","CODE_SIGN_IDENTITY[sdk=watchos*]":"","CURRENT_PROJECT_VERSION":"1","DEFINES_MODULE":"YES","DYLIB_COMPATIBILITY_VERSION":"1","DYLIB_CURRENT_VERSION":"1","DYLIB_INSTALL_NAME_BASE":"@rpath","ENABLE_BITCODE":"NO","ENABLE_MODULE_VERIFIER":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","EXCLUDED_ARCHS[sdk=iphoneos*]":"$(inherited) armv7","EXCLUDED_ARCHS[sdk=iphonesimulator*]":"$(inherited) i386","FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64\" $(inherited)","FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64_x86_64-simulator\" $(inherited)","INFOPLIST_FILE":"Target Support Files/Pods-Runner/Pods-Runner-Info.plist","INSTALL_PATH":"$(LOCAL_LIBRARY_DIR)/Frameworks","IPHONEOS_DEPLOYMENT_TARGET":"13.0","LD_RUNPATH_SEARCH_PATHS":"$(inherited) @executable_path/Frameworks @loader_path/Frameworks","MACH_O_TYPE":"staticlib","MODULEMAP_FILE":"Target Support Files/Pods-Runner/Pods-Runner.modulemap","OTHER_LDFLAGS":"$(inherited) -framework Flutter","OTHER_LIBTOOLFLAGS":"","PODS_ROOT":"$(SRCROOT)","PRODUCT_BUNDLE_IDENTIFIER":"org.cocoapods.${PRODUCT_NAME:rfc1034identifier}","PRODUCT_NAME":"$(TARGET_NAME:c99extidentifier)","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","TARGETED_DEVICE_FAMILY":"1,2","VALIDATE_PRODUCT":"YES","VALID_ARCHS[sdk=iphonesimulator*]":"$(ARCHS_STANDARD)","VERSIONING_SYSTEM":"apple-generic","VERSION_INFO_PREFIX":""},"guid":"bfdfe7dc352907fc980b868725387e9842bd2c26350da50235c576ed7f260732","name":"Profile"},{"baseConfigurationFileReference":"bfdfe7dc352907fc980b868725387e98f17abf55d75f35efcaf45a1185b085b6","buildSettings":{"ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES":"NO","CLANG_ENABLE_OBJC_WEAK":"NO","CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER":"NO","CODE_SIGN_IDENTITY[sdk=appletvos*]":"","CODE_SIGN_IDENTITY[sdk=iphoneos*]":"","CODE_SIGN_IDENTITY[sdk=watchos*]":"","CURRENT_PROJECT_VERSION":"1","DEFINES_MODULE":"YES","DYLIB_COMPATIBILITY_VERSION":"1","DYLIB_CURRENT_VERSION":"1","DYLIB_INSTALL_NAME_BASE":"@rpath","ENABLE_BITCODE":"NO","ENABLE_MODULE_VERIFIER":"NO","ENABLE_USER_SCRIPT_SANDBOXING":"NO","EXCLUDED_ARCHS[sdk=iphoneos*]":"$(inherited) armv7","EXCLUDED_ARCHS[sdk=iphonesimulator*]":"$(inherited) i386","FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64\" $(inherited)","FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]":"\"/Users/dz0ny/.local/share/mise/installs/flutter/3.35.6-stable/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64_x86_64-simulator\" $(inherited)","INFOPLIST_FILE":"Target Support Files/Pods-Runner/Pods-Runner-Info.plist","INSTALL_PATH":"$(LOCAL_LIBRARY_DIR)/Frameworks","IPHONEOS_DEPLOYMENT_TARGET":"13.0","LD_RUNPATH_SEARCH_PATHS":"$(inherited) @executable_path/Frameworks @loader_path/Frameworks","MACH_O_TYPE":"staticlib","MODULEMAP_FILE":"Target Support Files/Pods-Runner/Pods-Runner.modulemap","OTHER_LDFLAGS":"$(inherited) -framework Flutter","OTHER_LIBTOOLFLAGS":"","PODS_ROOT":"$(SRCROOT)","PRODUCT_BUNDLE_IDENTIFIER":"org.cocoapods.${PRODUCT_NAME:rfc1034identifier}","PRODUCT_NAME":"$(TARGET_NAME:c99extidentifier)","SDKROOT":"iphoneos","SKIP_INSTALL":"YES","TARGETED_DEVICE_FAMILY":"1,2","VALIDATE_PRODUCT":"YES","VALID_ARCHS[sdk=iphonesimulator*]":"$(ARCHS_STANDARD)","VERSIONING_SYSTEM":"apple-generic","VERSION_INFO_PREFIX":""},"guid":"bfdfe7dc352907fc980b868725387e98fcfe6c17e220fe7c253c661721750552","name":"Release"}],"buildPhases":[{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e980ec6fbca7264a6936f2adfc48dd7f5bc","guid":"bfdfe7dc352907fc980b868725387e98efea14ad16dbc3c46ca18fca7effa489","headerVisibility":"public"}],"guid":"bfdfe7dc352907fc980b868725387e98c1b2ec221e765f58aca4ef8826290570","type":"com.apple.buildphase.headers"},{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e98fed0970e703d355c9aff813f280aafdc","guid":"bfdfe7dc352907fc980b868725387e9880fe47b93f84defed54bad7d711db33f"}],"guid":"bfdfe7dc352907fc980b868725387e9880a3048c22e25f000f819064c11e7b83","type":"com.apple.buildphase.sources"},{"buildFiles":[{"fileReference":"bfdfe7dc352907fc980b868725387e98694402cafaaf96f5099d07dfc1c41bec","guid":"bfdfe7dc352907fc980b868725387e980327eea6674f77f40e3bc1cc4dc58e94"}],"guid":"bfdfe7dc352907fc980b868725387e98dc26aca2e59e2b05aa98d4453df25ef4","type":"com.apple.buildphase.frameworks"},{"buildFiles":[],"guid":"bfdfe7dc352907fc980b868725387e98ee370b0cb4c150e6eaea0bc6deb04263","type":"com.apple.buildphase.resources"}],"buildRules":[],"dependencies":[{"guid":"bfdfe7dc352907fc980b868725387e989da425bb6d6d5d8dbb95e4afffb82217","name":"Flutter"},{"guid":"bfdfe7dc352907fc980b868725387e9899d473c1bf2fb661137a0585385808b4","name":"ObjectBox"},{"guid":"bfdfe7dc352907fc980b868725387e98579f270da12a5d081d8785cf82f3dde0","name":"flutter_blue_plus_darwin"},{"guid":"bfdfe7dc352907fc980b868725387e9821d372cc1e7c7587a12aeda843619e39","name":"geolocator_apple"},{"guid":"bfdfe7dc352907fc980b868725387e98bb7a8f7d08a55c6867609355533478c1","name":"objectbox_flutter_libs"},{"guid":"bfdfe7dc352907fc980b868725387e98a5ae7244e41cc249cf7186dbb9962ecb","name":"package_info_plus"},{"guid":"bfdfe7dc352907fc980b868725387e9830037b09fee48cfce1f8562d753688c8","name":"path_provider_foundation"},{"guid":"bfdfe7dc352907fc980b868725387e98ef10255b706f98e1e88fae00855b0968","name":"permission_handler_apple"}],"guid":"bfdfe7dc352907fc980b868725387e98312b4bc59bbbe2c06c205bf4da6737f5","name":"Pods-Runner","predominantSourceCodeLanguage":"Xcode.SourceCodeLanguage.Objective-C","productReference":{"guid":"bfdfe7dc352907fc980b868725387e98699846e06e93b50cafdb00290784c775","name":"Pods_Runner.framework","type":"product"},"productTypeIdentifier":"com.apple.product-type.framework","provisioningSourceData":[{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Debug","provisioningStyle":1},{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Profile","provisioningStyle":1},{"bundleIdentifierFromInfoPlist":"${PRODUCT_BUNDLE_IDENTIFIER}","configurationName":"Release","provisioningStyle":1}],"type":"standard"} \ No newline at end of file diff --git a/ios/build/ios/XCBuildData/PIFCache/workspace/WORKSPACE@v11_hash=(null)_subobjects=e4d7db43bed3c238de0dbf86186f0fd9-json b/ios/build/ios/XCBuildData/PIFCache/workspace/WORKSPACE@v11_hash=(null)_subobjects=e4d7db43bed3c238de0dbf86186f0fd9-json new file mode 100644 index 0000000..f23fd43 --- /dev/null +++ b/ios/build/ios/XCBuildData/PIFCache/workspace/WORKSPACE@v11_hash=(null)_subobjects=e4d7db43bed3c238de0dbf86186f0fd9-json @@ -0,0 +1 @@ +{"guid":"dc4b70c03e8043e50e38f2068887b1d4","name":"Pods","path":"/Users/dz0ny/meshcore-sar/meshcore_sar_app/ios/Pods/Pods.xcodeproj/project.xcworkspace","projects":["PROJECT@v11_mod=8087a2fc1456ece247eee30e0163f06f_hash=bfdfe7dc352907fc980b868725387e98plugins=1OJSG6M1FOV3XYQCBH7Z29RZ0FPR9XDE1"]} \ No newline at end of file diff --git a/lib/main.dart b/lib/main.dart new file mode 100644 index 0000000..827d69e --- /dev/null +++ b/lib/main.dart @@ -0,0 +1,104 @@ +import 'package:flutter/material.dart'; +import 'package:provider/provider.dart'; +import 'providers/connection_provider.dart'; +import 'providers/contacts_provider.dart'; +import 'providers/messages_provider.dart'; +import 'providers/map_provider.dart'; +import 'providers/app_provider.dart'; +import 'services/tile_cache_service.dart'; +import 'screens/home_screen.dart'; + +void main() { + runApp(const MeshCoreSarApp()); +} + +class MeshCoreSarApp extends StatelessWidget { + const MeshCoreSarApp({super.key}); + + @override + Widget build(BuildContext context) { + return MultiProvider( + providers: [ + // Core providers + ChangeNotifierProvider(create: (_) => ConnectionProvider()), + ChangeNotifierProvider(create: (_) => ContactsProvider()), + ChangeNotifierProvider(create: (_) => MessagesProvider()), + ChangeNotifierProvider(create: (_) => MapProvider()), + + // Tile cache service + Provider(create: (_) => TileCacheService()), + + // App provider that coordinates everything + ChangeNotifierProxyProvider4( + create: (context) => AppProvider( + connectionProvider: context.read(), + contactsProvider: context.read(), + messagesProvider: context.read(), + tileCacheService: context.read(), + ), + update: (context, conn, contacts, messages, tileCache, previous) => + previous ?? + AppProvider( + connectionProvider: conn, + contactsProvider: contacts, + messagesProvider: messages, + tileCacheService: tileCache, + ), + ), + ], + child: MaterialApp( + title: 'MeshCore SAR', + debugShowCheckedModeBanner: false, + theme: ThemeData( + useMaterial3: true, + colorScheme: ColorScheme.fromSeed( + seedColor: Colors.orange, + brightness: Brightness.light, + ), + appBarTheme: const AppBarTheme( + centerTitle: true, + elevation: 0, + ), + cardTheme: CardThemeData( + elevation: 2, + shape: RoundedRectangleBorder( + borderRadius: BorderRadius.circular(12), + ), + ), + inputDecorationTheme: InputDecorationTheme( + border: OutlineInputBorder( + borderRadius: BorderRadius.circular(12), + ), + filled: true, + ), + ), + darkTheme: ThemeData( + useMaterial3: true, + colorScheme: ColorScheme.fromSeed( + seedColor: Colors.orange, + brightness: Brightness.dark, + ), + appBarTheme: const AppBarTheme( + centerTitle: true, + elevation: 0, + ), + cardTheme: CardThemeData( + elevation: 2, + shape: RoundedRectangleBorder( + borderRadius: BorderRadius.circular(12), + ), + ), + inputDecorationTheme: InputDecorationTheme( + border: OutlineInputBorder( + borderRadius: BorderRadius.circular(12), + ), + filled: true, + ), + ), + themeMode: ThemeMode.system, + home: const HomeScreen(), + ), + ); + } +} diff --git a/lib/models/contact.dart b/lib/models/contact.dart new file mode 100644 index 0000000..bf37b59 --- /dev/null +++ b/lib/models/contact.dart @@ -0,0 +1,174 @@ +import 'dart:typed_data'; +import 'package:latlong2/latlong.dart'; +import 'contact_telemetry.dart'; + +/// MeshCore contact types +enum ContactType { + none(0), + chat(1), + repeater(2), + room(3); + + const ContactType(this.value); + final int value; + + static ContactType fromValue(int value) { + return ContactType.values.firstWhere( + (e) => e.value == value, + orElse: () => ContactType.none, + ); + } + + String get displayName { + switch (this) { + case ContactType.chat: + return 'Chat'; + case ContactType.repeater: + return 'Repeater'; + case ContactType.room: + return 'Room'; + default: + return 'Unknown'; + } + } +} + +/// MeshCore contact model +class Contact { + final Uint8List publicKey; + final ContactType type; + final int flags; + final int outPathLen; + final Uint8List outPath; + final String advName; + final int lastAdvert; // Unix timestamp + final int advLat; // Latitude as int32 + final int advLon; // Longitude as int32 + final int lastMod; // Unix timestamp + + // Telemetry data (updated separately) + ContactTelemetry? telemetry; + + Contact({ + required this.publicKey, + required this.type, + required this.flags, + required this.outPathLen, + required this.outPath, + required this.advName, + required this.lastAdvert, + required this.advLat, + required this.advLon, + required this.lastMod, + this.telemetry, + }); + + /// Get public key as hex string (first 8 bytes) + String get publicKeyShort { + if (publicKey.length < 8) return ''; + return publicKey.sublist(0, 8).map((b) => b.toRadixString(16).padLeft(2, '0')).join(''); + } + + /// Get full public key as hex string + String get publicKeyHex { + return publicKey.map((b) => b.toRadixString(16).padLeft(2, '0')).join(''); + } + + /// Convert advLat/advLon to LatLng + LatLng? get advertLocation { + if (advLat == 0 && advLon == 0) return null; + // Convert from int32 to double (degrees) + final lat = advLat / 1e7; + final lon = advLon / 1e7; + return LatLng(lat, lon); + } + + /// Get display location (prefer telemetry over advert) + LatLng? get displayLocation { + if (telemetry?.gpsLocation != null && telemetry!.isRecent) { + return telemetry!.gpsLocation; + } + return advertLocation; + } + + /// Get display battery (from telemetry or null) + double? get displayBattery { + return telemetry?.batteryPercentage; + } + + /// Check if contact is a chat type (team member) + bool get isChat => type == ContactType.chat; + + /// Check if contact is a repeater + bool get isRepeater => type == ContactType.repeater; + + /// Check if contact is a room/channel + bool get isRoom => type == ContactType.room; + + /// Get last seen time + DateTime get lastSeenTime { + return DateTime.fromMillisecondsSinceEpoch(lastAdvert * 1000); + } + + /// Get last modified time + DateTime get lastModifiedTime { + return DateTime.fromMillisecondsSinceEpoch(lastMod * 1000); + } + + /// Check if contact was seen recently (within last 10 minutes) + bool get isRecentlySeen { + return DateTime.now().difference(lastSeenTime).inMinutes < 10; + } + + /// Get friendly time since last seen + String get timeSinceLastSeen { + final diff = DateTime.now().difference(lastSeenTime); + if (diff.inMinutes < 1) return 'Just now'; + if (diff.inMinutes < 60) return '${diff.inMinutes}m ago'; + if (diff.inHours < 24) return '${diff.inHours}h ago'; + return '${diff.inDays}d ago'; + } + + Contact copyWith({ + Uint8List? publicKey, + ContactType? type, + int? flags, + int? outPathLen, + Uint8List? outPath, + String? advName, + int? lastAdvert, + int? advLat, + int? advLon, + int? lastMod, + ContactTelemetry? telemetry, + }) { + return Contact( + publicKey: publicKey ?? this.publicKey, + type: type ?? this.type, + flags: flags ?? this.flags, + outPathLen: outPathLen ?? this.outPathLen, + outPath: outPath ?? this.outPath, + advName: advName ?? this.advName, + lastAdvert: lastAdvert ?? this.lastAdvert, + advLat: advLat ?? this.advLat, + advLon: advLon ?? this.advLon, + lastMod: lastMod ?? this.lastMod, + telemetry: telemetry ?? this.telemetry, + ); + } + + @override + String toString() { + return 'Contact(name: $advName, type: ${type.displayName}, key: $publicKeyShort)'; + } + + @override + bool operator ==(Object other) { + if (identical(this, other)) return true; + return other is Contact && + publicKeyHex == other.publicKeyHex; + } + + @override + int get hashCode => publicKeyHex.hashCode; +} diff --git a/lib/models/contact_telemetry.dart b/lib/models/contact_telemetry.dart new file mode 100644 index 0000000..e146cb9 --- /dev/null +++ b/lib/models/contact_telemetry.dart @@ -0,0 +1,76 @@ +import 'package:latlong2/latlong.dart'; + +/// Contact telemetry data from MeshCore device +class ContactTelemetry { + final LatLng? gpsLocation; + final double? batteryPercentage; + final double? batteryMilliVolts; + final double? temperature; + final DateTime timestamp; + + // Additional sensor data + final double? humidity; + final double? pressure; + final Map? extraSensorData; + + ContactTelemetry({ + this.gpsLocation, + this.batteryPercentage, + this.batteryMilliVolts, + this.temperature, + required this.timestamp, + this.humidity, + this.pressure, + this.extraSensorData, + }); + + /// Check if telemetry data is recent (within last 5 minutes) + bool get isRecent { + return DateTime.now().difference(timestamp).inMinutes < 5; + } + + /// Check if battery level is low (< 20%) + bool get isLowBattery { + return batteryPercentage != null && batteryPercentage! < 20.0; + } + + /// Check if battery level is critical (< 10%) + bool get isCriticalBattery { + return batteryPercentage != null && batteryPercentage! < 10.0; + } + + /// Get battery status color indicator + String get batteryStatus { + if (batteryPercentage == null) return 'unknown'; + if (batteryPercentage! > 50) return 'good'; + if (batteryPercentage! > 20) return 'medium'; + return 'low'; + } + + ContactTelemetry copyWith({ + LatLng? gpsLocation, + double? batteryPercentage, + double? batteryMilliVolts, + double? temperature, + DateTime? timestamp, + double? humidity, + double? pressure, + Map? extraSensorData, + }) { + return ContactTelemetry( + gpsLocation: gpsLocation ?? this.gpsLocation, + batteryPercentage: batteryPercentage ?? this.batteryPercentage, + batteryMilliVolts: batteryMilliVolts ?? this.batteryMilliVolts, + temperature: temperature ?? this.temperature, + timestamp: timestamp ?? this.timestamp, + humidity: humidity ?? this.humidity, + pressure: pressure ?? this.pressure, + extraSensorData: extraSensorData ?? this.extraSensorData, + ); + } + + @override + String toString() { + return 'ContactTelemetry(gps: $gpsLocation, battery: $batteryPercentage%, temp: $temperature°C, time: $timestamp)'; + } +} diff --git a/lib/models/device_info.dart b/lib/models/device_info.dart new file mode 100644 index 0000000..f655b19 --- /dev/null +++ b/lib/models/device_info.dart @@ -0,0 +1,173 @@ +import 'dart:typed_data'; + +/// BLE connection state +enum ConnectionState { + disconnected, + connecting, + connected, + disconnecting, + error, +} + +/// MeshCore device information +class DeviceInfo { + final String? deviceId; + final String? deviceName; + final ConnectionState connectionState; + final int? batteryMilliVolts; + final double? batteryPercentage; + final int? signalRssi; + final double? signalSnr; + final DateTime? lastUpdate; + + // Self info from MeshCore device + final int? deviceType; + final int? txPower; + final int? maxTxPower; + final Uint8List? publicKey; + final int? advLat; + final int? advLon; + final bool? manualAddContacts; + final int? radioFreq; + final int? radioBw; + final int? radioSf; + final int? radioCr; + final String? selfName; + + // Firmware info + final int? firmwareVersion; + final String? firmwareBuildDate; + final String? manufacturerModel; + + DeviceInfo({ + this.deviceId, + this.deviceName, + this.connectionState = ConnectionState.disconnected, + this.batteryMilliVolts, + this.batteryPercentage, + this.signalRssi, + this.signalSnr, + this.lastUpdate, + this.deviceType, + this.txPower, + this.maxTxPower, + this.publicKey, + this.advLat, + this.advLon, + this.manualAddContacts, + this.radioFreq, + this.radioBw, + this.radioSf, + this.radioCr, + this.selfName, + this.firmwareVersion, + this.firmwareBuildDate, + this.manufacturerModel, + }); + + /// Check if device is connected + bool get isConnected => connectionState == ConnectionState.connected; + + /// Check if device is connecting + bool get isConnecting => connectionState == ConnectionState.connecting; + + /// Check if device has error + bool get hasError => connectionState == ConnectionState.error; + + /// Get battery percentage (calculated or provided) + double? get batteryPercent { + if (batteryPercentage != null) return batteryPercentage!; + if (batteryMilliVolts == null) return null; + + // Rough conversion from mV to percentage (3.0V = 0%, 4.2V = 100%) + final voltage = batteryMilliVolts! / 1000.0; + if (voltage <= 3.0) return 0.0; + if (voltage >= 4.2) return 100.0; + return ((voltage - 3.0) / 1.2) * 100.0; + } + + /// Get battery status + String get batteryStatus { + final percent = batteryPercent; + if (percent == null) return 'Unknown'; + if (percent > 80) return 'Excellent'; + if (percent > 50) return 'Good'; + if (percent > 20) return 'Low'; + return 'Critical'; + } + + /// Get signal strength category + String get signalStrength { + if (signalRssi == null) return 'Unknown'; + if (signalRssi! > -60) return 'Excellent'; + if (signalRssi! > -70) return 'Good'; + if (signalRssi! > -80) return 'Fair'; + return 'Poor'; + } + + /// Get public key as hex string (short) + String? get publicKeyShort { + if (publicKey == null || publicKey!.length < 8) return null; + return publicKey! + .sublist(0, 8) + .map((b) => b.toRadixString(16).padLeft(2, '0')) + .join(''); + } + + DeviceInfo copyWith({ + String? deviceId, + String? deviceName, + ConnectionState? connectionState, + int? batteryMilliVolts, + double? batteryPercentage, + int? signalRssi, + double? signalSnr, + DateTime? lastUpdate, + int? deviceType, + int? txPower, + int? maxTxPower, + Uint8List? publicKey, + int? advLat, + int? advLon, + bool? manualAddContacts, + int? radioFreq, + int? radioBw, + int? radioSf, + int? radioCr, + String? selfName, + int? firmwareVersion, + String? firmwareBuildDate, + String? manufacturerModel, + }) { + return DeviceInfo( + deviceId: deviceId ?? this.deviceId, + deviceName: deviceName ?? this.deviceName, + connectionState: connectionState ?? this.connectionState, + batteryMilliVolts: batteryMilliVolts ?? this.batteryMilliVolts, + batteryPercentage: batteryPercentage ?? this.batteryPercentage, + signalRssi: signalRssi ?? this.signalRssi, + signalSnr: signalSnr ?? this.signalSnr, + lastUpdate: lastUpdate ?? this.lastUpdate, + deviceType: deviceType ?? this.deviceType, + txPower: txPower ?? this.txPower, + maxTxPower: maxTxPower ?? this.maxTxPower, + publicKey: publicKey ?? this.publicKey, + advLat: advLat ?? this.advLat, + advLon: advLon ?? this.advLon, + manualAddContacts: manualAddContacts ?? this.manualAddContacts, + radioFreq: radioFreq ?? this.radioFreq, + radioBw: radioBw ?? this.radioBw, + radioSf: radioSf ?? this.radioSf, + radioCr: radioCr ?? this.radioCr, + selfName: selfName ?? this.selfName, + firmwareVersion: firmwareVersion ?? this.firmwareVersion, + firmwareBuildDate: firmwareBuildDate ?? this.firmwareBuildDate, + manufacturerModel: manufacturerModel ?? this.manufacturerModel, + ); + } + + @override + String toString() { + return 'DeviceInfo(name: $deviceName, state: $connectionState, battery: ${batteryPercent?.toStringAsFixed(0)}%, signal: $signalRssi dBm)'; + } +} diff --git a/lib/models/map_layer.dart b/lib/models/map_layer.dart new file mode 100644 index 0000000..980d72e --- /dev/null +++ b/lib/models/map_layer.dart @@ -0,0 +1,56 @@ +enum MapLayerType { + openStreetMap, + openTopoMap, + esriWorldImagery, +} + +class MapLayer { + final MapLayerType type; + final String name; + final String urlTemplate; + final String attribution; + final int maxZoom; + + const MapLayer({ + required this.type, + required this.name, + required this.urlTemplate, + required this.attribution, + required this.maxZoom, + }); + + static const openStreetMap = MapLayer( + type: MapLayerType.openStreetMap, + name: 'OpenStreetMap', + urlTemplate: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', + attribution: '© OpenStreetMap contributors', + maxZoom: 19, + ); + + static const openTopoMap = MapLayer( + type: MapLayerType.openTopoMap, + name: 'OpenTopoMap', + urlTemplate: 'https://a.tile.opentopomap.org/{z}/{x}/{y}.png', + attribution: '© OpenTopoMap (CC-BY-SA)', + maxZoom: 17, + ); + + static const esriWorldImagery = MapLayer( + type: MapLayerType.esriWorldImagery, + name: 'ESRI Satellite', + urlTemplate: + 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}', + attribution: '© Esri', + maxZoom: 19, + ); + + static const List allLayers = [ + openStreetMap, + openTopoMap, + esriWorldImagery, + ]; + + static MapLayer fromType(MapLayerType type) { + return allLayers.firstWhere((layer) => layer.type == type); + } +} diff --git a/lib/models/message.dart b/lib/models/message.dart new file mode 100644 index 0000000..30d3684 --- /dev/null +++ b/lib/models/message.dart @@ -0,0 +1,171 @@ +import 'dart:typed_data'; +import 'package:latlong2/latlong.dart'; +import 'sar_marker.dart'; + +/// Message text types from MeshCore protocol +enum MessageTextType { + plain(0), + cliData(1), + signedPlain(2); + + const MessageTextType(this.value); + final int value; + + static MessageTextType fromValue(int value) { + return MessageTextType.values.firstWhere( + (e) => e.value == value, + orElse: () => MessageTextType.plain, + ); + } +} + +/// Message type (contact or channel) +enum MessageType { + contact, + channel, +} + +/// MeshCore message model +class Message { + final String id; + final MessageType messageType; + final Uint8List? senderPublicKeyPrefix; // 6 bytes for contact messages + final int? channelIdx; // For channel messages + final int pathLen; + final MessageTextType textType; + final int senderTimestamp; // Unix timestamp + final String text; + + // SAR marker data (if this is a SAR message) + final bool isSarMarker; + final SarMarkerType? sarMarkerType; + final LatLng? sarGpsCoordinates; + + // Display metadata + final DateTime receivedAt; + final String? senderName; + + Message({ + required this.id, + required this.messageType, + this.senderPublicKeyPrefix, + this.channelIdx, + required this.pathLen, + required this.textType, + required this.senderTimestamp, + required this.text, + this.isSarMarker = false, + this.sarMarkerType, + this.sarGpsCoordinates, + required this.receivedAt, + this.senderName, + }); + + /// Get sender public key as hex string + String? get senderKeyShort { + if (senderPublicKeyPrefix == null) return null; + return senderPublicKeyPrefix! + .map((b) => b.toRadixString(16).padLeft(2, '0')) + .join(''); + } + + /// Get sender timestamp as DateTime + DateTime get sentAt { + return DateTime.fromMillisecondsSinceEpoch(senderTimestamp * 1000); + } + + /// Check if message is from a channel + bool get isChannelMessage => messageType == MessageType.channel; + + /// Check if message is from a contact + bool get isContactMessage => messageType == MessageType.contact; + + /// Get friendly time since message was sent + String get timeAgo { + final diff = DateTime.now().difference(sentAt); + if (diff.inMinutes < 1) return 'Just now'; + if (diff.inMinutes < 60) return '${diff.inMinutes}m ago'; + if (diff.inHours < 24) return '${diff.inHours}h ago'; + return '${diff.inDays}d ago'; + } + + /// Get display name for sender + String get displaySender { + if (senderName != null && senderName!.isNotEmpty) { + return senderName!; + } + if (senderKeyShort != null) { + return senderKeyShort!.substring(0, 8); + } + if (isChannelMessage && channelIdx != null) { + return 'Channel $channelIdx'; + } + return 'Unknown'; + } + + /// Convert to SAR marker if applicable + SarMarker? toSarMarker() { + if (!isSarMarker || sarMarkerType == null || sarGpsCoordinates == null) { + return null; + } + + return SarMarker( + id: id, + type: sarMarkerType!, + location: sarGpsCoordinates!, + timestamp: sentAt, + senderPublicKey: senderPublicKeyPrefix, + senderName: senderName, + notes: text, + ); + } + + Message copyWith({ + String? id, + MessageType? messageType, + Uint8List? senderPublicKeyPrefix, + int? channelIdx, + int? pathLen, + MessageTextType? textType, + int? senderTimestamp, + String? text, + bool? isSarMarker, + SarMarkerType? sarMarkerType, + LatLng? sarGpsCoordinates, + DateTime? receivedAt, + String? senderName, + }) { + return Message( + id: id ?? this.id, + messageType: messageType ?? this.messageType, + senderPublicKeyPrefix: senderPublicKeyPrefix ?? this.senderPublicKeyPrefix, + channelIdx: channelIdx ?? this.channelIdx, + pathLen: pathLen ?? this.pathLen, + textType: textType ?? this.textType, + senderTimestamp: senderTimestamp ?? this.senderTimestamp, + text: text ?? this.text, + isSarMarker: isSarMarker ?? this.isSarMarker, + sarMarkerType: sarMarkerType ?? this.sarMarkerType, + sarGpsCoordinates: sarGpsCoordinates ?? this.sarGpsCoordinates, + receivedAt: receivedAt ?? this.receivedAt, + senderName: senderName ?? this.senderName, + ); + } + + @override + String toString() { + if (isSarMarker) { + return 'Message(SAR: ${sarMarkerType?.displayName}, from: $displaySender)'; + } + return 'Message(from: $displaySender, text: ${text.length > 30 ? '${text.substring(0, 30)}...' : text})'; + } + + @override + bool operator ==(Object other) { + if (identical(this, other)) return true; + return other is Message && id == other.id; + } + + @override + int get hashCode => id.hashCode; +} diff --git a/lib/models/sar_marker.dart b/lib/models/sar_marker.dart new file mode 100644 index 0000000..e241738 --- /dev/null +++ b/lib/models/sar_marker.dart @@ -0,0 +1,126 @@ +import 'dart:typed_data'; +import 'package:latlong2/latlong.dart'; + +/// SAR (Search & Rescue) marker types +enum SarMarkerType { + foundPerson('🧑', 'Found Person'), + fire('🔥', 'Fire'), + stagingArea('🏕️', 'Staging Area'), + unknown('❓', 'Unknown'); + + const SarMarkerType(this.emoji, this.displayName); + final String emoji; + final String displayName; + + static SarMarkerType fromEmoji(String emoji) { + switch (emoji) { + case '🧑': + case '👤': + return SarMarkerType.foundPerson; + case '🔥': + return SarMarkerType.fire; + case '🏕️': + case '⛺': + return SarMarkerType.stagingArea; + default: + return SarMarkerType.unknown; + } + } + + /// Get map marker color + String get markerColor { + switch (this) { + case SarMarkerType.foundPerson: + return '#4CAF50'; // Green + case SarMarkerType.fire: + return '#F44336'; // Red + case SarMarkerType.stagingArea: + return '#2196F3'; // Blue + default: + return '#9E9E9E'; // Gray + } + } +} + +/// SAR marker from special messages +class SarMarker { + final String id; + final SarMarkerType type; + final LatLng location; + final DateTime timestamp; + final Uint8List? senderPublicKey; + final String? senderName; + final String? notes; + + SarMarker({ + required this.id, + required this.type, + required this.location, + required this.timestamp, + this.senderPublicKey, + this.senderName, + this.notes, + }); + + /// Get sender public key as hex string (short) + String? get senderKeyShort { + if (senderPublicKey == null || senderPublicKey!.length < 8) return null; + return senderPublicKey! + .sublist(0, 8) + .map((b) => b.toRadixString(16).padLeft(2, '0')) + .join(''); + } + + /// Get friendly time since marker was created + String get timeAgo { + final diff = DateTime.now().difference(timestamp); + if (diff.inMinutes < 1) return 'Just now'; + if (diff.inMinutes < 60) return '${diff.inMinutes}m ago'; + if (diff.inHours < 24) return '${diff.inHours}h ago'; + return '${diff.inDays}d ago'; + } + + /// Check if marker is recent (within last hour) + bool get isRecent { + return DateTime.now().difference(timestamp).inHours < 1; + } + + /// Get display name + String get displayName { + return '${type.emoji} ${type.displayName}'; + } + + SarMarker copyWith({ + String? id, + SarMarkerType? type, + LatLng? location, + DateTime? timestamp, + Uint8List? senderPublicKey, + String? senderName, + String? notes, + }) { + return SarMarker( + id: id ?? this.id, + type: type ?? this.type, + location: location ?? this.location, + timestamp: timestamp ?? this.timestamp, + senderPublicKey: senderPublicKey ?? this.senderPublicKey, + senderName: senderName ?? this.senderName, + notes: notes ?? this.notes, + ); + } + + @override + String toString() { + return 'SarMarker(type: ${type.displayName}, location: $location, sender: $senderName, time: $timeAgo)'; + } + + @override + bool operator ==(Object other) { + if (identical(this, other)) return true; + return other is SarMarker && id == other.id; + } + + @override + int get hashCode => id.hashCode; +} diff --git a/lib/providers/app_provider.dart b/lib/providers/app_provider.dart new file mode 100644 index 0000000..047183b --- /dev/null +++ b/lib/providers/app_provider.dart @@ -0,0 +1,121 @@ +import 'package:flutter/foundation.dart'; +import 'connection_provider.dart'; +import 'contacts_provider.dart'; +import 'messages_provider.dart'; +import '../services/tile_cache_service.dart'; + +/// Main App Provider - coordinates all other providers +class AppProvider with ChangeNotifier { + final ConnectionProvider connectionProvider; + final ContactsProvider contactsProvider; + final MessagesProvider messagesProvider; + final TileCacheService tileCacheService; + + bool _isInitialized = false; + bool get isInitialized => _isInitialized; + + AppProvider({ + required this.connectionProvider, + required this.contactsProvider, + required this.messagesProvider, + required this.tileCacheService, + }) { + _setupCallbacks(); + _initializeTileCache(); + _isInitialized = true; + } + + /// Initialize tile cache service + Future _initializeTileCache() async { + try { + await tileCacheService.initialize(); + debugPrint('Tile cache initialized'); + } catch (e) { + debugPrint('Error initializing tile cache: $e'); + } + } + + /// Setup callbacks between providers + void _setupCallbacks() { + // When a contact is received from BLE + connectionProvider.onContactReceived = (contact) { + contactsProvider.addOrUpdateContact(contact); + }; + + // When all contacts are received + connectionProvider.onContactsComplete = (contacts) { + contactsProvider.addContacts(contacts); + debugPrint('Received ${contacts.length} contacts'); + }; + + // When a message is received + connectionProvider.onMessageReceived = (message) { + messagesProvider.addMessage(message); + + // Optionally update sender name from contacts + if (message.senderPublicKeyPrefix != null) { + final contact = contactsProvider + .findContactByKey(message.senderPublicKeyPrefix!); + if (contact != null) { + final updatedMessage = message.copyWith(senderName: contact.advName); + // Note: You might want to update the message in the list + } + } + }; + + // When telemetry is received + connectionProvider.onTelemetryReceived = (publicKey, lppData) { + contactsProvider.updateTelemetry(publicKey, lppData); + }; + } + + /// Initialize the app (load contacts, sync time, etc.) + Future initialize() async { + if (!connectionProvider.deviceInfo.isConnected) return; + + try { + // Sync device time + await connectionProvider.syncDeviceTime(); + + // Load contacts + await connectionProvider.getContacts(); + + notifyListeners(); + } catch (e) { + debugPrint('Initialization error: $e'); + } + } + + /// Refresh data (contacts, messages) + Future refresh() async { + if (!connectionProvider.deviceInfo.isConnected) return; + + try { + await connectionProvider.getContacts(); + notifyListeners(); + } catch (e) { + debugPrint('Refresh error: $e'); + } + } + + /// Clear all data + void clearAllData() { + contactsProvider.clearContacts(); + messagesProvider.clearAll(); + notifyListeners(); + } + + /// Get app statistics + Map get statistics { + return { + 'connection': { + 'isConnected': connectionProvider.deviceInfo.isConnected, + 'deviceName': connectionProvider.deviceInfo.deviceName, + 'battery': connectionProvider.deviceInfo.batteryPercent, + }, + 'contacts': contactsProvider.contactCounts, + 'messages': messagesProvider.messageStats, + 'sarMarkers': messagesProvider.sarMarkerStats, + }; + } +} diff --git a/lib/providers/connection_provider.dart b/lib/providers/connection_provider.dart new file mode 100644 index 0000000..121ee27 --- /dev/null +++ b/lib/providers/connection_provider.dart @@ -0,0 +1,240 @@ +import 'dart:async'; +import 'dart:typed_data'; +import 'package:flutter/foundation.dart'; +import 'package:flutter_blue_plus/flutter_blue_plus.dart'; +import '../models/device_info.dart'; +import '../models/contact.dart'; +import '../models/message.dart'; +import '../services/meshcore_ble_service.dart'; +import '../services/cayenne_lpp_parser.dart'; +import '../utils/sar_message_parser.dart'; + +/// Connection Provider - manages MeshCore BLE connection +class ConnectionProvider with ChangeNotifier { + final MeshCoreBleService _bleService = MeshCoreBleService(); + + DeviceInfo _deviceInfo = DeviceInfo(); + DeviceInfo get deviceInfo => _deviceInfo; + + List _scannedDevices = []; + List get scannedDevices => _scannedDevices; + + bool _isScanning = false; + bool get isScanning => _isScanning; + + String? _error; + String? get error => _error; + + // Callbacks for other providers + Function(Contact)? onContactReceived; + Function(List)? onContactsComplete; + Function(Message)? onMessageReceived; + Function(Uint8List publicKey, Uint8List lppData)? onTelemetryReceived; + + ConnectionProvider() { + _initializeBleService(); + } + + void _initializeBleService() { + _bleService.onConnectionStateChanged = (isConnected) { + _deviceInfo = _deviceInfo.copyWith( + connectionState: isConnected + ? ConnectionState.connected + : ConnectionState.disconnected, + lastUpdate: DateTime.now(), + ); + notifyListeners(); + }; + + _bleService.onError = (error) { + _error = error; + _deviceInfo = _deviceInfo.copyWith( + connectionState: ConnectionState.error, + ); + notifyListeners(); + }; + + _bleService.onContactReceived = (contact) { + onContactReceived?.call(contact); + }; + + _bleService.onContactsComplete = (contacts) { + onContactsComplete?.call(contacts); + }; + + _bleService.onMessageReceived = (message) { + // Parse SAR markers + final enhancedMessage = SarMessageParser.enhanceMessage(message); + onMessageReceived?.call(enhancedMessage); + }; + + _bleService.onTelemetryReceived = (publicKey, lppData) { + onTelemetryReceived?.call(publicKey, lppData); + }; + } + + /// Start scanning for MeshCore devices + Future startScan() async { + _isScanning = true; + _scannedDevices.clear(); + _error = null; + notifyListeners(); + + try { + await for (final device + in _bleService.scanForDevices(timeout: const Duration(seconds: 10))) { + if (!_scannedDevices.any((d) => d.remoteId == device.remoteId)) { + _scannedDevices.add(device); + notifyListeners(); + } + } + } catch (e) { + _error = 'Scan error: $e'; + } finally { + _isScanning = false; + notifyListeners(); + } + } + + /// Stop scanning + Future stopScan() async { + await FlutterBluePlus.stopScan(); + _isScanning = false; + notifyListeners(); + } + + /// Connect to a device + Future connect(BluetoothDevice device) async { + _deviceInfo = _deviceInfo.copyWith( + deviceId: device.remoteId.toString(), + deviceName: device.platformName.isNotEmpty ? device.platformName : 'Unknown', + connectionState: ConnectionState.connecting, + ); + _error = null; + notifyListeners(); + + final success = await _bleService.connect(device); + if (!success) { + _deviceInfo = _deviceInfo.copyWith( + connectionState: ConnectionState.error, + ); + notifyListeners(); + } + return success; + } + + /// Disconnect from device + Future disconnect() async { + _deviceInfo = _deviceInfo.copyWith( + connectionState: ConnectionState.disconnecting, + ); + notifyListeners(); + + await _bleService.disconnect(); + + _deviceInfo = DeviceInfo( + connectionState: ConnectionState.disconnected, + ); + notifyListeners(); + } + + /// Get contacts from device + Future getContacts() async { + if (!_bleService.isConnected) { + _error = 'Not connected to device'; + notifyListeners(); + return; + } + + try { + await _bleService.getContacts(); + } catch (e) { + _error = 'Failed to get contacts: $e'; + notifyListeners(); + } + } + + /// Send text message to contact + Future sendTextMessage({ + required Uint8List contactPublicKey, + required String text, + }) async { + if (!_bleService.isConnected) { + _error = 'Not connected to device'; + notifyListeners(); + return; + } + + try { + await _bleService.sendTextMessage( + contactPublicKey: contactPublicKey, + text: text, + ); + } catch (e) { + _error = 'Failed to send message: $e'; + notifyListeners(); + } + } + + /// Send channel message + Future sendChannelMessage({ + required int channelIdx, + required String text, + }) async { + if (!_bleService.isConnected) { + _error = 'Not connected to device'; + notifyListeners(); + return; + } + + try { + await _bleService.sendChannelMessage( + channelIdx: channelIdx, + text: text, + ); + } catch (e) { + _error = 'Failed to send channel message: $e'; + notifyListeners(); + } + } + + /// Request telemetry from contact + Future requestTelemetry(Uint8List contactPublicKey) async { + if (!_bleService.isConnected) { + _error = 'Not connected to device'; + notifyListeners(); + return; + } + + try { + await _bleService.requestTelemetry(contactPublicKey); + } catch (e) { + _error = 'Failed to request telemetry: $e'; + notifyListeners(); + } + } + + /// Set device time to current time + Future syncDeviceTime() async { + if (!_bleService.isConnected) return; + + try { + await _bleService.setDeviceTime(); + } catch (e) { + _error = 'Failed to sync time: $e'; + notifyListeners(); + } + } + + /// Clear error message + void clearError() { + _error = null; + notifyListeners(); + } + + @override + void dispose() { + _bleService.dispose(); + super.dispose(); + } +} diff --git a/lib/providers/contacts_provider.dart b/lib/providers/contacts_provider.dart new file mode 100644 index 0000000..211d1ee --- /dev/null +++ b/lib/providers/contacts_provider.dart @@ -0,0 +1,135 @@ +import 'dart:async'; +import 'dart:typed_data'; +import 'package:flutter/foundation.dart'; +import '../models/contact.dart'; +import '../models/contact_telemetry.dart'; +import '../services/cayenne_lpp_parser.dart'; + +/// Contacts Provider - manages contact list and telemetry +class ContactsProvider with ChangeNotifier { + final Map _contacts = {}; + + List get contacts => _contacts.values.toList(); + + List get chatContacts => + contacts.where((c) => c.isChat).toList()..sort(_sortByLastSeen); + + List get repeaters => + contacts.where((c) => c.isRepeater).toList()..sort(_sortByLastSeen); + + List get rooms => + contacts.where((c) => c.isRoom).toList()..sort(_sortByLastSeen); + + /// Get contacts with location (for map display) + List get contactsWithLocation => + contacts.where((c) => c.displayLocation != null).toList(); + + /// Get chat contacts with location (team members on map) + List get chatContactsWithLocation => + chatContacts.where((c) => c.displayLocation != null).toList(); + + /// Sort contacts by last seen (most recent first) + int _sortByLastSeen(Contact a, Contact b) { + return b.lastSeenTime.compareTo(a.lastSeenTime); + } + + /// Add or update a contact + void addOrUpdateContact(Contact contact) { + _contacts[contact.publicKeyHex] = contact; + notifyListeners(); + } + + /// Add multiple contacts + void addContacts(List contacts) { + for (final contact in contacts) { + _contacts[contact.publicKeyHex] = contact; + } + notifyListeners(); + } + + /// Update contact telemetry + void updateTelemetry(Uint8List publicKeyPrefix, Uint8List lppData) { + // Find contact by public key prefix + final contact = _findContactByPrefix(publicKeyPrefix); + if (contact == null) return; + + try { + // Parse Cayenne LPP data + final telemetry = CayenneLppParser.parse(lppData); + + // Update contact with new telemetry + final updatedContact = contact.copyWith(telemetry: telemetry); + _contacts[contact.publicKeyHex] = updatedContact; + notifyListeners(); + } catch (e) { + debugPrint('Failed to parse telemetry: $e'); + } + } + + /// Find contact by public key prefix (6 bytes) + Contact? _findContactByPrefix(Uint8List prefix) { + if (prefix.length < 6) return null; + + final prefixHex = prefix + .sublist(0, 6) + .map((b) => b.toRadixString(16).padLeft(2, '0')) + .join(''); + + for (final contact in contacts) { + if (contact.publicKeyHex.startsWith(prefixHex)) { + return contact; + } + } + return null; + } + + /// Find contact by public key + Contact? findContactByKey(Uint8List publicKey) { + final keyHex = + publicKey.map((b) => b.toRadixString(16).padLeft(2, '0')).join(''); + return _contacts[keyHex]; + } + + /// Find contact by name + Contact? findContactByName(String name) { + return contacts.firstWhere( + (c) => c.advName == name, + orElse: () => contacts.first, + ); + } + + /// Get contacts with low battery + List get lowBatteryContacts { + return contacts.where((c) { + final battery = c.displayBattery; + return battery != null && battery < 20.0; + }).toList(); + } + + /// Get recently seen contacts (within last 10 minutes) + List get recentlySeenContacts { + return contacts.where((c) => c.isRecentlySeen).toList(); + } + + /// Clear all contacts + void clearContacts() { + _contacts.clear(); + notifyListeners(); + } + + /// Remove a contact + void removeContact(String publicKeyHex) { + _contacts.remove(publicKeyHex); + notifyListeners(); + } + + /// Get contact count by type + Map get contactCounts { + return { + 'chat': chatContacts.length, + 'repeater': repeaters.length, + 'room': rooms.length, + 'total': contacts.length, + }; + } +} diff --git a/lib/providers/map_provider.dart b/lib/providers/map_provider.dart new file mode 100644 index 0000000..da16be0 --- /dev/null +++ b/lib/providers/map_provider.dart @@ -0,0 +1,35 @@ +import 'package:flutter/foundation.dart'; +import 'package:latlong2/latlong.dart'; + +class MapProvider with ChangeNotifier { + LatLng? _targetLocation; + double? _targetZoom; + bool _shouldAnimate = false; + + LatLng? get targetLocation => _targetLocation; + double? get targetZoom => _targetZoom; + bool get shouldAnimate => _shouldAnimate; + + void navigateToLocation({ + required LatLng location, + double zoom = 15.0, + bool animate = true, + }) { + _targetLocation = location; + _targetZoom = zoom; + _shouldAnimate = animate; + notifyListeners(); + } + + void clearNavigation() { + _targetLocation = null; + _targetZoom = null; + _shouldAnimate = false; + // Don't notify listeners to avoid rebuilds + } + + void updateZoom(double zoom) { + _targetZoom = zoom; + notifyListeners(); + } +} diff --git a/lib/providers/messages_provider.dart b/lib/providers/messages_provider.dart new file mode 100644 index 0000000..771eb72 --- /dev/null +++ b/lib/providers/messages_provider.dart @@ -0,0 +1,156 @@ +import 'package:flutter/foundation.dart'; +import '../models/message.dart'; +import '../models/sar_marker.dart'; + +/// Messages Provider - manages message history and SAR markers +class MessagesProvider with ChangeNotifier { + final List _messages = []; + final Map _sarMarkers = {}; + + List get messages => List.unmodifiable(_messages); + + List get contactMessages => + _messages.where((m) => m.isContactMessage).toList(); + + List get channelMessages => + _messages.where((m) => m.isChannelMessage).toList(); + + List get sarMarkerMessages => + _messages.where((m) => m.isSarMarker).toList(); + + List get sarMarkers => _sarMarkers.values.toList(); + + List get foundPersonMarkers => + sarMarkers.where((m) => m.type == SarMarkerType.foundPerson).toList(); + + List get fireMarkers => + sarMarkers.where((m) => m.type == SarMarkerType.fire).toList(); + + List get stagingAreaMarkers => + sarMarkers.where((m) => m.type == SarMarkerType.stagingArea).toList(); + + /// Add a message + void addMessage(Message message) { + _messages.add(message); + + // If it's a SAR marker message, extract and store the marker + if (message.isSarMarker) { + final marker = message.toSarMarker(); + if (marker != null) { + _sarMarkers[marker.id] = marker; + } + } + + notifyListeners(); + } + + /// Add multiple messages + void addMessages(List messages) { + for (final message in messages) { + _messages.add(message); + + if (message.isSarMarker) { + final marker = message.toSarMarker(); + if (marker != null) { + _sarMarkers[marker.id] = marker; + } + } + } + notifyListeners(); + } + + /// Get messages for a specific contact + List getMessagesForContact(String senderKeyShort) { + return _messages + .where((m) => + m.isContactMessage && + m.senderKeyShort != null && + m.senderKeyShort!.startsWith(senderKeyShort)) + .toList(); + } + + /// Get messages for a specific channel + List getMessagesForChannel(int channelIdx) { + return _messages + .where((m) => m.isChannelMessage && m.channelIdx == channelIdx) + .toList(); + } + + /// Get recent messages (last N messages) + List getRecentMessages({int count = 50}) { + final sorted = List.from(_messages) + ..sort((a, b) => b.sentAt.compareTo(a.sentAt)); + return sorted.take(count).toList(); + } + + /// Get messages from last N hours + List getMessagesSince(Duration duration) { + final cutoff = DateTime.now().subtract(duration); + return _messages.where((m) => m.sentAt.isAfter(cutoff)).toList(); + } + + /// Search messages by text + List searchMessages(String query) { + if (query.isEmpty) return []; + final lowerQuery = query.toLowerCase(); + return _messages + .where((m) => m.text.toLowerCase().contains(lowerQuery)) + .toList(); + } + + /// Get SAR marker by ID + SarMarker? getSarMarker(String id) { + return _sarMarkers[id]; + } + + /// Get recent SAR markers (within last hour) + List getRecentSarMarkers() { + return sarMarkers.where((m) => m.isRecent).toList(); + } + + /// Remove a SAR marker + void removeSarMarker(String id) { + _sarMarkers.remove(id); + notifyListeners(); + } + + /// Clear all messages + void clearMessages() { + _messages.clear(); + notifyListeners(); + } + + /// Clear all SAR markers + void clearSarMarkers() { + _sarMarkers.clear(); + notifyListeners(); + } + + /// Clear all data + void clearAll() { + _messages.clear(); + _sarMarkers.clear(); + notifyListeners(); + } + + /// Get message statistics + Map get messageStats { + return { + 'total': _messages.length, + 'contact': contactMessages.length, + 'channel': channelMessages.length, + 'sar': sarMarkerMessages.length, + 'sarMarkers': sarMarkers.length, + }; + } + + /// Get SAR marker statistics + Map get sarMarkerStats { + return { + 'total': sarMarkers.length, + 'foundPerson': foundPersonMarkers.length, + 'fire': fireMarkers.length, + 'stagingArea': stagingAreaMarkers.length, + }; + } +} diff --git a/lib/screens/contacts_tab.dart b/lib/screens/contacts_tab.dart new file mode 100644 index 0000000..83d05b8 --- /dev/null +++ b/lib/screens/contacts_tab.dart @@ -0,0 +1,351 @@ +import 'package:flutter/material.dart'; +import 'package:provider/provider.dart'; +import '../providers/contacts_provider.dart'; +import '../providers/connection_provider.dart'; +import '../models/contact.dart'; + +class ContactsTab extends StatelessWidget { + const ContactsTab({super.key}); + + @override + Widget build(BuildContext context) { + return Consumer( + builder: (context, contactsProvider, child) { + final chatContacts = contactsProvider.chatContacts; + final repeaters = contactsProvider.repeaters; + final rooms = contactsProvider.rooms; + + if (contactsProvider.contacts.isEmpty) { + return Center( + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + Icon( + Icons.contacts_outlined, + size: 64, + color: Theme.of(context).disabledColor, + ), + const SizedBox(height: 16), + Text( + 'No contacts yet', + style: Theme.of(context).textTheme.titleLarge, + ), + const SizedBox(height: 8), + Text( + 'Connect to a device and refresh to load contacts', + style: Theme.of(context).textTheme.bodyMedium, + textAlign: TextAlign.center, + ), + ], + ), + ); + } + + return ListView( + padding: const EdgeInsets.all(8), + children: [ + // Team Members (Chat contacts) + if (chatContacts.isNotEmpty) ...[ + _SectionHeader( + title: 'Team Members', + count: chatContacts.length, + icon: Icons.people, + ), + ...chatContacts.map((contact) => _ContactTile(contact: contact)), + const Divider(height: 32), + ], + + // Repeaters + if (repeaters.isNotEmpty) ...[ + _SectionHeader( + title: 'Repeaters', + count: repeaters.length, + icon: Icons.router, + ), + ...repeaters.map((contact) => _ContactTile(contact: contact)), + const Divider(height: 32), + ], + + // Rooms/Channels + if (rooms.isNotEmpty) ...[ + _SectionHeader( + title: 'Rooms/Channels', + count: rooms.length, + icon: Icons.tag, + ), + ...rooms.map((contact) => _ContactTile(contact: contact)), + ], + ], + ); + }, + ); + } +} + +class _SectionHeader extends StatelessWidget { + final String title; + final int count; + final IconData icon; + + const _SectionHeader({ + required this.title, + required this.count, + required this.icon, + }); + + @override + Widget build(BuildContext context) { + return Padding( + padding: const EdgeInsets.symmetric(vertical: 8), + child: Row( + children: [ + Icon(icon, size: 20), + const SizedBox(width: 8), + Text( + title, + style: Theme.of(context).textTheme.titleMedium?.copyWith( + fontWeight: FontWeight.bold, + ), + ), + const SizedBox(width: 8), + Container( + padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 2), + decoration: BoxDecoration( + color: Theme.of(context).colorScheme.primaryContainer, + borderRadius: BorderRadius.circular(12), + ), + child: Text( + count.toString(), + style: Theme.of(context).textTheme.labelSmall, + ), + ), + ], + ), + ); + } +} + +class _ContactTile extends StatelessWidget { + final Contact contact; + + const _ContactTile({required this.contact}); + + @override + Widget build(BuildContext context) { + final hasTelemetry = contact.telemetry != null && contact.telemetry!.isRecent; + final battery = contact.displayBattery; + final location = contact.displayLocation; + + return Card( + margin: const EdgeInsets.only(bottom: 8), + child: ListTile( + leading: CircleAvatar( + backgroundColor: _getTypeColor(contact.type), + child: Icon( + _getTypeIcon(contact.type), + color: Colors.white, + ), + ), + title: Row( + children: [ + Expanded( + child: Text( + contact.advName, + style: const TextStyle(fontWeight: FontWeight.bold), + ), + ), + // Battery indicator + if (battery != null) ...[ + Icon( + _getBatteryIcon(battery), + size: 16, + color: _getBatteryColor(battery), + ), + const SizedBox(width: 4), + Text( + '${battery.round()}%', + style: Theme.of(context).textTheme.labelSmall, + ), + ], + ], + ), + subtitle: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + const SizedBox(height: 4), + // Type and last seen + Row( + children: [ + Container( + padding: const EdgeInsets.symmetric( + horizontal: 6, + vertical: 2, + ), + decoration: BoxDecoration( + color: _getTypeColor(contact.type).withOpacity(0.2), + borderRadius: BorderRadius.circular(4), + ), + child: Text( + contact.type.displayName, + style: Theme.of(context).textTheme.labelSmall, + ), + ), + const SizedBox(width: 8), + Icon( + Icons.access_time, + size: 12, + color: contact.isRecentlySeen ? Colors.green : Colors.grey, + ), + const SizedBox(width: 4), + Text( + contact.timeSinceLastSeen, + style: Theme.of(context).textTheme.labelSmall, + ), + ], + ), + const SizedBox(height: 4), + // Telemetry info + Row( + children: [ + if (hasTelemetry) + const Icon(Icons.sensors, size: 12, color: Colors.green) + else + const Icon(Icons.sensors_off, size: 12, color: Colors.grey), + const SizedBox(width: 4), + if (location != null) + Expanded( + child: Text( + 'GPS: ${location.latitude.toStringAsFixed(4)}, ${location.longitude.toStringAsFixed(4)}', + style: Theme.of(context).textTheme.labelSmall, + overflow: TextOverflow.ellipsis, + ), + ) + else + Text( + 'No GPS data', + style: Theme.of(context).textTheme.labelSmall, + ), + ], + ), + ], + ), + trailing: IconButton( + icon: const Icon(Icons.refresh, size: 20), + onPressed: () { + final connectionProvider = context.read(); + connectionProvider.requestTelemetry(contact.publicKey); + ScaffoldMessenger.of(context).showSnackBar( + SnackBar( + content: Text('Requesting telemetry from ${contact.advName}'), + duration: const Duration(seconds: 2), + ), + ); + }, + tooltip: 'Request telemetry', + ), + onTap: () => _showContactDetails(context, contact), + ), + ); + } + + void _showContactDetails(BuildContext context, Contact contact) { + showDialog( + context: context, + builder: (context) => AlertDialog( + title: Text(contact.advName), + content: SingleChildScrollView( + child: Column( + mainAxisSize: MainAxisSize.min, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + _DetailRow('Type', contact.type.displayName), + _DetailRow('Public Key', contact.publicKeyShort), + _DetailRow('Last Seen', contact.timeSinceLastSeen), + const Divider(), + if (contact.displayLocation != null) ...[ + const Text('Location:', style: TextStyle(fontWeight: FontWeight.bold)), + _DetailRow('Latitude', contact.displayLocation!.latitude.toStringAsFixed(6)), + _DetailRow('Longitude', contact.displayLocation!.longitude.toStringAsFixed(6)), + const Divider(), + ], + if (contact.telemetry != null) ...[ + const Text('Telemetry:', style: TextStyle(fontWeight: FontWeight.bold)), + if (contact.telemetry!.batteryPercentage != null) + _DetailRow('Battery', '${contact.telemetry!.batteryPercentage!.toStringAsFixed(1)}%'), + if (contact.telemetry!.temperature != null) + _DetailRow('Temperature', '${contact.telemetry!.temperature!.toStringAsFixed(1)}°C'), + _DetailRow('Updated', contact.telemetry!.isRecent ? 'Recently' : 'Stale'), + ], + ], + ), + ), + actions: [ + TextButton( + onPressed: () => Navigator.pop(context), + child: const Text('Close'), + ), + ], + ), + ); + } + + Widget _DetailRow(String label, String value) { + return Padding( + padding: const EdgeInsets.symmetric(vertical: 4), + child: Row( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + SizedBox( + width: 100, + child: Text( + '$label:', + style: const TextStyle(fontWeight: FontWeight.w500), + ), + ), + Expanded( + child: Text(value), + ), + ], + ), + ); + } + + IconData _getTypeIcon(ContactType type) { + switch (type) { + case ContactType.chat: + return Icons.person; + case ContactType.repeater: + return Icons.router; + case ContactType.room: + return Icons.tag; + default: + return Icons.help; + } + } + + Color _getTypeColor(ContactType type) { + switch (type) { + case ContactType.chat: + return Colors.blue; + case ContactType.repeater: + return Colors.green; + case ContactType.room: + return Colors.orange; + default: + return Colors.grey; + } + } + + IconData _getBatteryIcon(double percentage) { + if (percentage > 80) return Icons.battery_full; + if (percentage > 50) return Icons.battery_5_bar; + if (percentage > 20) return Icons.battery_3_bar; + return Icons.battery_1_bar; + } + + Color _getBatteryColor(double percentage) { + if (percentage > 50) return Colors.green; + if (percentage > 20) return Colors.orange; + return Colors.red; + } +} diff --git a/lib/screens/home_screen.dart b/lib/screens/home_screen.dart new file mode 100644 index 0000000..54c9bd5 --- /dev/null +++ b/lib/screens/home_screen.dart @@ -0,0 +1,514 @@ +import 'package:flutter/material.dart'; +import 'package:provider/provider.dart'; +import '../providers/connection_provider.dart'; +import '../providers/app_provider.dart'; +import '../models/device_info.dart' as models; +import '../services/tile_cache_service.dart'; +import 'messages_tab.dart'; +import 'contacts_tab.dart'; +import 'map_tab.dart'; +import 'map_management_screen.dart'; + +class HomeScreen extends StatefulWidget { + const HomeScreen({super.key}); + + @override + State createState() => _HomeScreenState(); +} + +class _HomeScreenState extends State with SingleTickerProviderStateMixin { + late TabController _tabController; + int _currentIndex = 0; + + @override + void initState() { + super.initState(); + _tabController = TabController(length: 3, vsync: this); + _tabController.addListener(() { + setState(() { + _currentIndex = _tabController.index; + }); + }); + } + + @override + void dispose() { + _tabController.dispose(); + super.dispose(); + } + + void _showConnectionDialog(BuildContext context) { + final connectionProvider = context.read(); + + // Start scanning immediately + connectionProvider.startScan(); + + showModalBottomSheet( + context: context, + isScrollControlled: true, + backgroundColor: Colors.transparent, + builder: (context) => Container( + height: MediaQuery.of(context).size.height * 0.9, + decoration: const BoxDecoration( + color: Color(0xFF1E1E1E), + borderRadius: BorderRadius.vertical(top: Radius.circular(20)), + ), + child: Column( + children: [ + // Header + Container( + padding: const EdgeInsets.all(16), + child: Row( + children: [ + IconButton( + icon: const Icon(Icons.arrow_back, color: Colors.white), + onPressed: () { + connectionProvider.stopScan(); + Navigator.pop(context); + }, + ), + const Expanded( + child: Column( + children: [ + Text( + 'MeshCore', + style: TextStyle( + color: Colors.white, + fontSize: 18, + fontWeight: FontWeight.bold, + ), + ), + Text( + 'Scanning for devices...', + style: TextStyle( + color: Colors.grey, + fontSize: 14, + ), + ), + ], + ), + ), + IconButton( + icon: const Icon(Icons.more_vert, color: Colors.white), + onPressed: () {}, + ), + ], + ), + ), + + // Info banner + Container( + margin: const EdgeInsets.symmetric(horizontal: 16), + padding: const EdgeInsets.all(16), + decoration: BoxDecoration( + color: Colors.blue, + borderRadius: BorderRadius.circular(8), + ), + child: const Row( + children: [ + Icon(Icons.info_outline, color: Colors.white), + SizedBox(width: 12), + Expanded( + child: Text( + 'The default pin for devices without a screen is 123456. Trouble pairing? Forget the bluetooth device in system settings.', + style: TextStyle(color: Colors.white, fontSize: 13), + ), + ), + ], + ), + ), + + const SizedBox(height: 16), + + // Device list + Expanded( + child: Consumer( + builder: (context, provider, child) { + if (provider.isScanning && provider.scannedDevices.isEmpty) { + return const Center( + child: CircularProgressIndicator(), + ); + } + + if (provider.scannedDevices.isEmpty) { + return const Center( + child: Text( + 'No devices found', + style: TextStyle(color: Colors.grey, fontSize: 16), + ), + ); + } + + return ListView.builder( + itemCount: provider.scannedDevices.length, + itemBuilder: (context, index) { + final device = provider.scannedDevices[index]; + return Container( + margin: const EdgeInsets.symmetric( + horizontal: 16, + vertical: 4, + ), + decoration: BoxDecoration( + color: const Color(0xFF2D2D2D), + borderRadius: BorderRadius.circular(8), + ), + child: ListTile( + leading: const Icon( + Icons.bluetooth, + color: Colors.white, + size: 32, + ), + title: Text( + device.platformName.isNotEmpty + ? device.platformName + : 'Unknown Device', + style: const TextStyle( + color: Colors.white, + fontSize: 16, + fontWeight: FontWeight.w500, + ), + ), + subtitle: const Text( + 'Tap to connect', + style: TextStyle(color: Colors.grey, fontSize: 14), + ), + trailing: const Icon( + Icons.chevron_right, + color: Colors.white, + ), + onTap: () async { + Navigator.pop(context); + await provider.connect(device); + if (context.mounted && + provider.deviceInfo.isConnected) { + final appProvider = context.read(); + await appProvider.initialize(); + } + }, + ), + ); + }, + ); + }, + ), + ), + ], + ), + ), + ); + } + + @override + Widget build(BuildContext context) { + return Scaffold( + appBar: AppBar( + title: _buildCompactStatusBar(), + actions: [ + PopupMenuButton( + icon: const Icon(Icons.more_vert), + itemBuilder: (context) => [ + PopupMenuItem( + child: const Row( + children: [ + Icon(Icons.refresh), + SizedBox(width: 8), + Text('Refresh Contacts'), + ], + ), + onTap: () async { + final appProvider = context.read(); + await appProvider.refresh(); + if (context.mounted) { + ScaffoldMessenger.of(context).showSnackBar( + const SnackBar(content: Text('Refreshed contacts')), + ); + } + }, + ), + PopupMenuItem( + child: const Row( + children: [ + Icon(Icons.map), + SizedBox(width: 8), + Text('Map Management'), + ], + ), + onTap: () { + Future.delayed(Duration.zero, () { + final appProvider = context.read(); + Navigator.push( + context, + MaterialPageRoute( + builder: (context) => MapManagementScreen( + tileCacheService: appProvider.tileCacheService, + ), + ), + ); + }); + }, + ), + ], + ), + ], + ), + body: TabBarView( + controller: _tabController, + children: [ + MessagesTab(onNavigateToMap: () => _tabController.animateTo(2)), + const ContactsTab(), + const MapTab(), + ], + ), + bottomNavigationBar: Container( + decoration: BoxDecoration( + boxShadow: [ + BoxShadow( + color: Colors.black.withOpacity(0.1), + blurRadius: 4, + offset: const Offset(0, -2), + ), + ], + ), + child: TabBar( + controller: _tabController, + tabs: const [ + Tab(icon: Icon(Icons.message), text: 'Messages'), + Tab(icon: Icon(Icons.contacts), text: 'Contacts'), + Tab(icon: Icon(Icons.map), text: 'Map'), + ], + ), + ), + ); + } + + Widget _buildCompactStatusBar() { + return Consumer( + builder: (context, provider, child) { + final deviceInfo = provider.deviceInfo; + final isConnected = deviceInfo.isConnected; + + return Row( + children: [ + Expanded( + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + mainAxisSize: MainAxisSize.min, + children: [ + const Text( + 'MeshCore', + style: TextStyle( + fontSize: 20, + fontWeight: FontWeight.bold, + ), + ), + Text( + isConnected + ? deviceInfo.deviceName ?? 'Connected' + : 'Disconnected', + style: TextStyle( + fontSize: 14, + color: Colors.grey[600], + ), + ), + ], + ), + ), + if (!isConnected) + ElevatedButton.icon( + onPressed: () => _showConnectionDialog(context), + icon: const Icon(Icons.bluetooth, size: 18), + label: const Text('Connect'), + style: ElevatedButton.styleFrom( + backgroundColor: Colors.white, + foregroundColor: Colors.black87, + elevation: 0, + shape: RoundedRectangleBorder( + borderRadius: BorderRadius.circular(20), + ), + ), + ) + else + OutlinedButton( + onPressed: () async { + await provider.disconnect(); + if (context.mounted) { + context.read().clearAllData(); + } + }, + style: OutlinedButton.styleFrom( + foregroundColor: Colors.white, + side: const BorderSide(color: Colors.white), + shape: RoundedRectangleBorder( + borderRadius: BorderRadius.circular(20), + ), + ), + child: const Text('Disconnect'), + ), + ], + ); + }, + ); + } + + Widget _buildStatusBar() { + return Consumer( + builder: (context, provider, child) { + final deviceInfo = provider.deviceInfo; + final isConnected = deviceInfo.isConnected; + + return Container( + padding: const EdgeInsets.all(12), + color: Theme.of(context).colorScheme.surface, + child: Column( + children: [ + Row( + children: [ + // Connection status + Icon( + isConnected ? Icons.bluetooth_connected : Icons.bluetooth_disabled, + color: isConnected ? Colors.green : Colors.grey, + ), + const SizedBox(width: 8), + Expanded( + child: Text( + isConnected + ? deviceInfo.deviceName ?? 'Connected' + : 'Not Connected', + style: Theme.of(context).textTheme.bodyMedium, + ), + ), + // Battery indicator + if (deviceInfo.batteryPercent != null) ...[ + Icon( + _getBatteryIcon(deviceInfo.batteryPercent!), + color: _getBatteryColor(deviceInfo.batteryPercent!), + ), + const SizedBox(width: 4), + Text( + '${deviceInfo.batteryPercent!.round()}%', + style: Theme.of(context).textTheme.bodySmall, + ), + ], + // Signal strength + if (deviceInfo.signalRssi != null) ...[ + const SizedBox(width: 12), + Icon( + Icons.signal_cellular_alt, + color: _getSignalColor(deviceInfo.signalRssi!), + size: 20, + ), + const SizedBox(width: 4), + Text( + '${deviceInfo.signalRssi} dBm', + style: Theme.of(context).textTheme.bodySmall, + ), + ], + ], + ), + const SizedBox(height: 8), + // Connection buttons + Row( + children: [ + Expanded( + child: ElevatedButton.icon( + onPressed: isConnected + ? null + : () => _showConnectionDialog(context), + icon: const Icon(Icons.bluetooth_searching, size: 18), + label: const Text('Connect'), + style: ElevatedButton.styleFrom( + padding: const EdgeInsets.symmetric(vertical: 8), + ), + ), + ), + const SizedBox(width: 8), + Expanded( + child: OutlinedButton.icon( + onPressed: !isConnected + ? null + : () async { + await provider.disconnect(); + if (context.mounted) { + context.read().clearAllData(); + } + }, + icon: const Icon(Icons.bluetooth_disabled, size: 18), + label: const Text('Disconnect'), + style: OutlinedButton.styleFrom( + padding: const EdgeInsets.symmetric(vertical: 8), + ), + ), + ), + if (isConnected) ...[ + const SizedBox(width: 8), + IconButton( + onPressed: () async { + final appProvider = context.read(); + await appProvider.refresh(); + if (context.mounted) { + ScaffoldMessenger.of(context).showSnackBar( + const SnackBar(content: Text('Refreshed contacts')), + ); + } + }, + icon: const Icon(Icons.refresh), + tooltip: 'Refresh', + ), + ], + ], + ), + // Error message + if (provider.error != null) ...[ + const SizedBox(height: 8), + Container( + padding: const EdgeInsets.all(8), + decoration: BoxDecoration( + color: Colors.red.withOpacity(0.1), + borderRadius: BorderRadius.circular(8), + ), + child: Row( + children: [ + const Icon(Icons.error, color: Colors.red, size: 16), + const SizedBox(width: 8), + Expanded( + child: Text( + provider.error!, + style: const TextStyle(color: Colors.red, fontSize: 12), + ), + ), + IconButton( + icon: const Icon(Icons.close, size: 16), + onPressed: provider.clearError, + padding: EdgeInsets.zero, + constraints: const BoxConstraints(), + ), + ], + ), + ), + ], + ], + ), + ); + }, + ); + } + + IconData _getBatteryIcon(double percentage) { + if (percentage > 80) return Icons.battery_full; + if (percentage > 50) return Icons.battery_5_bar; + if (percentage > 20) return Icons.battery_3_bar; + return Icons.battery_1_bar; + } + + Color _getBatteryColor(double percentage) { + if (percentage > 50) return Colors.green; + if (percentage > 20) return Colors.orange; + return Colors.red; + } + + Color _getSignalColor(int rssi) { + if (rssi > -60) return Colors.green; + if (rssi > -70) return Colors.orange; + return Colors.red; + } +} diff --git a/lib/screens/map_management_screen.dart b/lib/screens/map_management_screen.dart new file mode 100644 index 0000000..f224a22 --- /dev/null +++ b/lib/screens/map_management_screen.dart @@ -0,0 +1,728 @@ +import 'package:flutter/material.dart'; +import 'package:flutter_map/flutter_map.dart'; +import 'package:latlong2/latlong.dart'; +import 'package:file_picker/file_picker.dart'; +import 'package:share_plus/share_plus.dart'; +import '../services/tile_cache_service.dart'; +import '../models/map_layer.dart'; + +class MapManagementScreen extends StatefulWidget { + final TileCacheService tileCacheService; + final MapLayer? initialLayer; + final LatLngBounds? initialBounds; + final int? initialZoom; + + const MapManagementScreen({ + super.key, + required this.tileCacheService, + this.initialLayer, + this.initialBounds, + this.initialZoom, + }); + + @override + State createState() => _MapManagementScreenState(); +} + +class _MapManagementScreenState extends State { + bool _isLoading = false; + String? _statusMessage; + Map? _cacheStats; + + // Download parameters + late MapLayer _selectedLayer; + late TextEditingController _northController; + late TextEditingController _southController; + late TextEditingController _eastController; + late TextEditingController _westController; + late int _minZoom; + late int _maxZoom; + double _downloadProgress = 0.0; + bool _isDownloading = false; + + @override + void initState() { + super.initState(); + + // Initialize with provided values or defaults + _selectedLayer = widget.initialLayer ?? MapLayer.openStreetMap; + + if (widget.initialBounds != null) { + _northController = TextEditingController( + text: widget.initialBounds!.north.toStringAsFixed(4), + ); + _southController = TextEditingController( + text: widget.initialBounds!.south.toStringAsFixed(4), + ); + _eastController = TextEditingController( + text: widget.initialBounds!.east.toStringAsFixed(4), + ); + _westController = TextEditingController( + text: widget.initialBounds!.west.toStringAsFixed(4), + ); + } else { + _northController = TextEditingController(text: '46.1'); + _southController = TextEditingController(text: '46.0'); + _eastController = TextEditingController(text: '14.6'); + _westController = TextEditingController(text: '14.4'); + } + + // Set zoom levels + if (widget.initialZoom != null) { + _minZoom = (widget.initialZoom! - 2).clamp(1, 19); + _maxZoom = (widget.initialZoom! + 2).clamp(1, 19); + } else { + _minZoom = 10; + _maxZoom = 16; + } + + _loadCacheStats(); + } + + @override + void dispose() { + _northController.dispose(); + _southController.dispose(); + _eastController.dispose(); + _westController.dispose(); + super.dispose(); + } + + Future _loadCacheStats() async { + if (!mounted) return; + setState(() => _isLoading = true); + try { + final stats = await widget.tileCacheService.getStoreStats(); + if (!mounted) return; + setState(() { + _cacheStats = stats; + _isLoading = false; + }); + } catch (e) { + if (!mounted) return; + setState(() { + _statusMessage = 'Error loading stats: $e'; + _isLoading = false; + }); + } + } + + Future _downloadRegion() async { + try { + final north = double.tryParse(_northController.text); + final south = double.tryParse(_southController.text); + final east = double.tryParse(_eastController.text); + final west = double.tryParse(_westController.text); + + if (north == null || south == null || east == null || west == null) { + _showError('Invalid coordinates. Please enter valid numbers.'); + return; + } + + if (north <= south || east <= west) { + _showError('Invalid bounds. North must be > South, East must be > West.'); + return; + } + + final bounds = LatLngBounds( + LatLng(south, west), + LatLng(north, east), + ); + + if (!mounted) return; + setState(() { + _isDownloading = true; + _downloadProgress = 0.0; + _statusMessage = 'Starting download...'; + }); + + await widget.tileCacheService.downloadRegion( + layer: _selectedLayer, + bounds: bounds, + minZoom: _minZoom, + maxZoom: _maxZoom, + onProgress: (progress) { + print('UI received progress update: $progress%'); + if (!mounted) return; + setState(() { + _downloadProgress = progress; + _statusMessage = 'Downloading map tiles...'; + }); + }, + ); + + if (!mounted) return; + setState(() { + _isDownloading = false; + _statusMessage = 'Download completed successfully!'; + }); + + await _loadCacheStats(); + + if (mounted) { + ScaffoldMessenger.of(context).showSnackBar( + const SnackBar( + content: Text('Map download completed!'), + backgroundColor: Colors.green, + ), + ); + } + } catch (e) { + if (!mounted) return; + setState(() { + _isDownloading = false; + _statusMessage = 'Download failed: $e'; + }); + _showError('Download failed: $e'); + } + } + + Future _cancelDownload() async { + try { + if (!mounted) return; + setState(() => _statusMessage = 'Cancelling download...'); + + await widget.tileCacheService.cancelDownload(); + + if (!mounted) return; + setState(() { + _isDownloading = false; + _statusMessage = 'Download cancelled'; + }); + + await _loadCacheStats(); + + if (mounted) { + ScaffoldMessenger.of(context).showSnackBar( + const SnackBar( + content: Text('Download cancelled'), + backgroundColor: Colors.orange, + ), + ); + } + } catch (e) { + if (!mounted) return; + setState(() { + _isDownloading = false; + _statusMessage = 'Cancel failed: $e'; + }); + _showError('Cancel failed: $e'); + } + } + + Future _exportMaps() async { + if (!mounted) return; + setState(() => _isLoading = true); + try { + final exportPath = await widget.tileCacheService.exportCache(); + if (!mounted) return; + setState(() => _isLoading = false); + + if (mounted) { + await Share.shareXFiles( + [XFile(exportPath)], + subject: 'MeshCore SAR Maps Export', + text: 'Offline maps export from MeshCore SAR', + ); + + ScaffoldMessenger.of(context).showSnackBar( + SnackBar( + content: Text('Maps exported to: $exportPath'), + backgroundColor: Colors.green, + duration: const Duration(seconds: 5), + ), + ); + } + } catch (e) { + if (!mounted) return; + setState(() => _isLoading = false); + _showError('Export failed: $e'); + } + } + + Future _importMaps() async { + try { + final result = await FilePicker.platform.pickFiles( + type: FileType.custom, + allowedExtensions: ['fmtc'], + allowMultiple: false, + ); + + if (result == null || result.files.isEmpty) { + return; + } + + if (!mounted) return; + setState(() => _isLoading = true); + + final filePath = result.files.first.path; + if (filePath == null) { + throw Exception('Invalid file path'); + } + + await widget.tileCacheService.importCache(filePath); + + if (!mounted) return; + setState(() => _isLoading = false); + await _loadCacheStats(); + + if (mounted) { + ScaffoldMessenger.of(context).showSnackBar( + const SnackBar( + content: Text('Maps imported successfully!'), + backgroundColor: Colors.green, + ), + ); + } + } catch (e) { + if (!mounted) return; + setState(() => _isLoading = false); + _showError('Import failed: $e'); + } + } + + Future _clearCache() async { + final confirmed = await showDialog( + context: context, + builder: (context) => AlertDialog( + title: const Text('Clear Cache'), + content: const Text( + 'Are you sure you want to delete all downloaded maps? This action cannot be undone.', + ), + actions: [ + TextButton( + onPressed: () => Navigator.pop(context, false), + child: const Text('Cancel'), + ), + TextButton( + onPressed: () => Navigator.pop(context, true), + style: TextButton.styleFrom(foregroundColor: Colors.red), + child: const Text('Clear'), + ), + ], + ), + ); + + if (confirmed != true) return; + + if (!mounted) return; + setState(() => _isLoading = true); + try { + await widget.tileCacheService.clearCache(); + if (!mounted) return; + setState(() => _isLoading = false); + await _loadCacheStats(); + + if (mounted) { + ScaffoldMessenger.of(context).showSnackBar( + const SnackBar( + content: Text('Cache cleared successfully!'), + backgroundColor: Colors.green, + ), + ); + } + } catch (e) { + setState(() => _isLoading = false); + _showError('Clear cache failed: $e'); + } + } + + void _showError(String message) { + if (mounted) { + ScaffoldMessenger.of(context).showSnackBar( + SnackBar( + content: Text(message), + backgroundColor: Colors.red, + duration: const Duration(seconds: 4), + ), + ); + } + } + + @override + Widget build(BuildContext context) { + return Scaffold( + appBar: AppBar( + title: const Text('Map Management'), + ), + body: _isLoading + ? const Center(child: CircularProgressIndicator()) + : SingleChildScrollView( + padding: const EdgeInsets.all(16), + child: Column( + crossAxisAlignment: CrossAxisAlignment.stretch, + children: [ + // Cache Statistics + _buildStatisticsCard(), + const SizedBox(height: 16), + + // Download Region + _buildDownloadCard(), + const SizedBox(height: 16), + + // Import/Export/Clear + _buildActionsCard(), + ], + ), + ), + ); + } + + Widget _buildStatisticsCard() { + return Card( + child: Padding( + padding: const EdgeInsets.all(16), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + Text( + 'Cache Statistics', + style: Theme.of(context).textTheme.titleLarge, + ), + IconButton( + icon: const Icon(Icons.refresh), + onPressed: _loadCacheStats, + ), + ], + ), + const SizedBox(height: 16), + if (_cacheStats != null) ...[ + _buildStatRow( + 'Total Tiles', + '${_cacheStats!['tileCount'] ?? 0}', + Icons.grid_on, + ), + _buildStatRow( + 'Cache Size', + '${(_cacheStats!['sizeMB'] ?? 0.0).toStringAsFixed(2)} MB', + Icons.storage, + ), + _buildStatRow( + 'Store Name', + _cacheStats!['storeName'] ?? 'Unknown', + Icons.folder, + ), + ] else + const Text('No cache statistics available'), + ], + ), + ), + ); + } + + Widget _buildStatRow(String label, String value, IconData icon) { + return Padding( + padding: const EdgeInsets.symmetric(vertical: 8), + child: Row( + children: [ + Icon(icon, size: 20, color: Colors.grey[600]), + const SizedBox(width: 12), + Expanded( + child: Text(label, style: const TextStyle(fontWeight: FontWeight.w500)), + ), + Text(value, style: TextStyle(color: Colors.grey[600])), + ], + ), + ); + } + + Widget _buildDownloadCard() { + return Card( + child: Padding( + padding: const EdgeInsets.all(16), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + 'Download Region', + style: Theme.of(context).textTheme.titleLarge, + ), + const SizedBox(height: 16), + + // Map Layer Selection + DropdownButtonFormField( + value: _selectedLayer, + decoration: const InputDecoration( + labelText: 'Map Layer', + border: OutlineInputBorder(), + ), + items: MapLayer.allLayers.map((layer) { + return DropdownMenuItem( + value: layer, + child: Text(layer.name), + ); + }).toList(), + onChanged: _isDownloading ? null : (layer) { + if (layer != null) { + setState(() => _selectedLayer = layer); + } + }, + ), + const SizedBox(height: 16), + + // Coordinates + Text( + 'Region Bounds', + style: Theme.of(context).textTheme.titleMedium, + ), + const SizedBox(height: 8), + Row( + children: [ + Expanded( + child: TextField( + controller: _northController, + decoration: const InputDecoration( + labelText: 'North', + border: OutlineInputBorder(), + hintText: '46.1', + ), + keyboardType: const TextInputType.numberWithOptions(decimal: true), + enabled: !_isDownloading, + ), + ), + const SizedBox(width: 8), + Expanded( + child: TextField( + controller: _southController, + decoration: const InputDecoration( + labelText: 'South', + border: OutlineInputBorder(), + hintText: '46.0', + ), + keyboardType: const TextInputType.numberWithOptions(decimal: true), + enabled: !_isDownloading, + ), + ), + ], + ), + const SizedBox(height: 8), + Row( + children: [ + Expanded( + child: TextField( + controller: _eastController, + decoration: const InputDecoration( + labelText: 'East', + border: OutlineInputBorder(), + hintText: '14.6', + ), + keyboardType: const TextInputType.numberWithOptions(decimal: true), + enabled: !_isDownloading, + ), + ), + const SizedBox(width: 8), + Expanded( + child: TextField( + controller: _westController, + decoration: const InputDecoration( + labelText: 'West', + border: OutlineInputBorder(), + hintText: '14.4', + ), + keyboardType: const TextInputType.numberWithOptions(decimal: true), + enabled: !_isDownloading, + ), + ), + ], + ), + const SizedBox(height: 16), + + // Zoom Levels + Text( + 'Zoom Levels', + style: Theme.of(context).textTheme.titleMedium, + ), + const SizedBox(height: 8), + Row( + children: [ + Expanded( + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text('Min: $_minZoom'), + Slider( + value: _minZoom.toDouble(), + min: 1, + max: 19, + divisions: 18, + label: '$_minZoom', + onChanged: _isDownloading ? null : (value) { + setState(() { + _minZoom = value.toInt(); + if (_minZoom > _maxZoom) { + _maxZoom = _minZoom; + } + }); + }, + ), + ], + ), + ), + const SizedBox(width: 16), + Expanded( + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text('Max: $_maxZoom'), + Slider( + value: _maxZoom.toDouble(), + min: 1, + max: 19, + divisions: 18, + label: '$_maxZoom', + onChanged: _isDownloading ? null : (value) { + setState(() { + _maxZoom = value.toInt(); + if (_maxZoom < _minZoom) { + _minZoom = _maxZoom; + } + }); + }, + ), + ], + ), + ), + ], + ), + + // Download Progress + if (_isDownloading) ...[ + const SizedBox(height: 16), + Container( + padding: const EdgeInsets.all(12), + decoration: BoxDecoration( + color: Theme.of(context).colorScheme.primaryContainer, + borderRadius: BorderRadius.circular(8), + border: Border.all( + color: Theme.of(context).colorScheme.primary.withOpacity(0.3), + ), + ), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + Text( + _statusMessage ?? 'Downloading...', + style: TextStyle( + fontWeight: FontWeight.w500, + color: Theme.of(context).colorScheme.onPrimaryContainer, + ), + ), + Text( + '${_downloadProgress.toStringAsFixed(1)}%', + style: TextStyle( + fontWeight: FontWeight.bold, + fontSize: 16, + color: Theme.of(context).colorScheme.onPrimaryContainer, + ), + ), + ], + ), + const SizedBox(height: 8), + ClipRRect( + borderRadius: BorderRadius.circular(4), + child: LinearProgressIndicator( + value: _downloadProgress / 100, + minHeight: 8, + backgroundColor: Theme.of(context).colorScheme.primary.withOpacity(0.2), + valueColor: AlwaysStoppedAnimation( + Theme.of(context).colorScheme.primary, + ), + ), + ), + ], + ), + ), + ], + + const SizedBox(height: 16), + + // Download/Cancel Button + if (_isDownloading) + ElevatedButton.icon( + onPressed: _cancelDownload, + icon: const Icon(Icons.cancel), + label: const Text('Cancel Download'), + style: ElevatedButton.styleFrom( + minimumSize: const Size.fromHeight(48), + backgroundColor: Colors.red, + foregroundColor: Colors.white, + ), + ) + else + ElevatedButton.icon( + onPressed: _downloadRegion, + icon: const Icon(Icons.download), + label: const Text('Download Region'), + style: ElevatedButton.styleFrom( + minimumSize: const Size.fromHeight(48), + ), + ), + + const SizedBox(height: 8), + Text( + 'Note: Large regions or high zoom levels may take significant time and storage.', + style: TextStyle(fontSize: 12, color: Colors.grey[600]), + ), + ], + ), + ), + ); + } + + Widget _buildActionsCard() { + return Card( + child: Padding( + padding: const EdgeInsets.all(16), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + 'Map Actions', + style: Theme.of(context).textTheme.titleLarge, + ), + const SizedBox(height: 16), + + // Export Button + ElevatedButton.icon( + onPressed: _isDownloading ? null : _exportMaps, + icon: const Icon(Icons.upload), + label: const Text('Export Maps'), + style: ElevatedButton.styleFrom( + minimumSize: const Size.fromHeight(48), + ), + ), + const SizedBox(height: 8), + + // Import Button + ElevatedButton.icon( + onPressed: _isDownloading ? null : _importMaps, + icon: const Icon(Icons.download), + label: const Text('Import Maps'), + style: ElevatedButton.styleFrom( + minimumSize: const Size.fromHeight(48), + ), + ), + const SizedBox(height: 8), + + // Clear Cache Button + OutlinedButton.icon( + onPressed: _isDownloading ? null : _clearCache, + icon: const Icon(Icons.delete_forever), + label: const Text('Clear All Maps'), + style: OutlinedButton.styleFrom( + foregroundColor: Colors.red, + minimumSize: const Size.fromHeight(48), + ), + ), + ], + ), + ), + ); + } +} diff --git a/lib/screens/map_tab.dart b/lib/screens/map_tab.dart new file mode 100644 index 0000000..d12b6f9 --- /dev/null +++ b/lib/screens/map_tab.dart @@ -0,0 +1,626 @@ +import 'dart:async'; +import 'package:flutter/material.dart'; +import 'package:flutter_map/flutter_map.dart'; +import 'package:latlong2/latlong.dart'; +import 'package:provider/provider.dart'; +import 'package:geolocator/geolocator.dart'; +import '../providers/contacts_provider.dart'; +import '../providers/messages_provider.dart'; +import '../providers/map_provider.dart'; +import '../providers/app_provider.dart'; +import '../models/contact.dart'; +import '../models/sar_marker.dart'; +import '../models/map_layer.dart'; +import '../services/tile_cache_service.dart'; +import '../widgets/map_markers.dart'; +import 'map_management_screen.dart'; + +class MapTab extends StatefulWidget { + const MapTab({super.key}); + + @override + State createState() => _MapTabState(); +} + +class _MapTabState extends State { + final MapController _mapController = MapController(); + final TileCacheService _tileCache = TileCacheService(); + bool _isInitialized = false; + MapLayer _currentLayer = MapLayer.openStreetMap; + Position? _currentPosition; + bool _showLegend = true; + double _gpsUpdateDistance = 3.0; // meters + StreamSubscription? _positionStreamSubscription; + + // Default center point (will be updated based on markers) + static const LatLng _defaultCenter = LatLng(46.0569, 14.5058); // Ljubljana, Slovenia + static const double _defaultZoom = 13.0; + + @override + void initState() { + super.initState(); + _initializeTileCache(); + _requestLocationPermission(); + + // Listen to map provider for navigation requests + WidgetsBinding.instance.addPostFrameCallback((_) { + final mapProvider = context.read(); + mapProvider.addListener(_handleMapNavigation); + }); + } + + Future _requestLocationPermission() async { + bool serviceEnabled = await Geolocator.isLocationServiceEnabled(); + if (!serviceEnabled) { + return; + } + + LocationPermission permission = await Geolocator.checkPermission(); + if (permission == LocationPermission.denied) { + permission = await Geolocator.requestPermission(); + if (permission == LocationPermission.denied) { + return; + } + } + + if (permission == LocationPermission.deniedForever) { + return; + } + + // Get initial position + try { + final position = await Geolocator.getCurrentPosition( + locationSettings: const LocationSettings( + accuracy: LocationAccuracy.best, + distanceFilter: 0, + ), + ); + if (mounted) { + setState(() { + _currentPosition = position; + }); + } + } catch (e) { + debugPrint('Error getting location: $e'); + } + + // Start listening to location updates + _positionStreamSubscription = Geolocator.getPositionStream( + locationSettings: LocationSettings( + accuracy: LocationAccuracy.best, + distanceFilter: _gpsUpdateDistance.toInt(), + ), + ).listen((Position position) { + if (mounted) { + setState(() { + _currentPosition = position; + }); + } + }); + } + + void _handleMapNavigation() { + final mapProvider = context.read(); + if (mapProvider.targetLocation != null && _isInitialized) { + _mapController.move( + mapProvider.targetLocation!, + mapProvider.targetZoom ?? _defaultZoom, + ); + // Clear the navigation request after handling + mapProvider.clearNavigation(); + } + } + + Future _initializeTileCache() async { + try { + await _tileCache.initialize(); + if (mounted) { + setState(() { + _isInitialized = true; + }); + } + } catch (e) { + debugPrint('Error initializing tile cache: $e'); + if (mounted) { + setState(() { + _isInitialized = true; // Continue without caching + }); + } + } + } + + @override + void dispose() { + final mapProvider = context.read(); + mapProvider.removeListener(_handleMapNavigation); + _positionStreamSubscription?.cancel(); + _mapController.dispose(); + _tileCache.dispose(); + super.dispose(); + } + + LatLng _calculateCenter(List contacts, List sarMarkers) { + final allPoints = []; + + for (final contact in contacts) { + if (contact.displayLocation != null) { + allPoints.add(contact.displayLocation!); + } + } + + for (final marker in sarMarkers) { + allPoints.add(marker.location); + } + + if (allPoints.isEmpty) return _defaultCenter; + + double lat = 0, lng = 0; + for (final point in allPoints) { + lat += point.latitude; + lng += point.longitude; + } + + return LatLng(lat / allPoints.length, lng / allPoints.length); + } + + void _showLayerSelector(BuildContext context) { + showModalBottomSheet( + context: context, + builder: (context) => Container( + padding: const EdgeInsets.symmetric(vertical: 16), + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + Padding( + padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 8), + child: Row( + children: [ + const Icon(Icons.layers), + const SizedBox(width: 12), + Expanded( + child: Text( + 'Select Map Layer', + style: Theme.of(context).textTheme.titleMedium?.copyWith( + fontWeight: FontWeight.bold, + ), + ), + ), + IconButton( + icon: const Icon(Icons.download), + tooltip: 'Download visible area', + onPressed: () { + Navigator.pop(context); + _navigateToDownload(context); + }, + ), + ], + ), + ), + const Divider(), + ...MapLayer.allLayers.map((layer) => ListTile( + leading: _currentLayer.type == layer.type + ? const Icon(Icons.check_circle, color: Colors.green) + : const Icon(Icons.radio_button_unchecked), + title: Text(layer.name), + subtitle: Text(layer.attribution), + onTap: () { + setState(() { + _currentLayer = layer; + }); + Navigator.pop(context); + }, + )), + ], + ), + ), + ); + } + + void _navigateToDownload(BuildContext context) { + // Get current map bounds + final bounds = _mapController.camera.visibleBounds; + final currentZoom = _mapController.camera.zoom.round(); + + // Navigate to Map Management screen with pre-populated data + final appProvider = context.read(); + Navigator.push( + context, + MaterialPageRoute( + builder: (context) => MapManagementScreen( + tileCacheService: appProvider.tileCacheService, + initialLayer: _currentLayer, + initialBounds: bounds, + initialZoom: currentZoom, + ), + ), + ); + } + + void _showOptionsMenu(BuildContext context) { + showModalBottomSheet( + context: context, + builder: (context) => StatefulBuilder( + builder: (context, setModalState) => Container( + padding: const EdgeInsets.symmetric(vertical: 16), + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + Padding( + padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 8), + child: Row( + children: [ + const Icon(Icons.settings), + const SizedBox(width: 12), + Text( + 'Map Options', + style: Theme.of(context).textTheme.titleMedium?.copyWith( + fontWeight: FontWeight.bold, + ), + ), + ], + ), + ), + const Divider(), + // Legend toggle + SwitchListTile( + secondary: const Icon(Icons.info_outline), + title: const Text('Show Legend'), + subtitle: const Text('Display marker type counts'), + value: _showLegend, + onChanged: (value) { + setState(() { + _showLegend = value; + }); + setModalState(() {}); + }, + ), + const Divider(), + // GPS Update Distance + ListTile( + leading: const Icon(Icons.gps_fixed), + title: const Text('GPS Update Distance'), + subtitle: Text('${_gpsUpdateDistance.toStringAsFixed(0)} meters'), + ), + Padding( + padding: const EdgeInsets.symmetric(horizontal: 16), + child: Column( + children: [ + Slider( + value: _gpsUpdateDistance, + min: 1, + max: 20, + divisions: 19, + label: '${_gpsUpdateDistance.toStringAsFixed(0)}m', + onChanged: (value) { + setModalState(() { + _gpsUpdateDistance = value; + }); + }, + onChangeEnd: (value) { + setState(() { + _gpsUpdateDistance = value; + }); + // Restart location stream with new distance + _restartLocationStream(); + }, + ), + Padding( + padding: const EdgeInsets.symmetric(horizontal: 8), + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + Text( + '1m', + style: Theme.of(context).textTheme.bodySmall, + ), + Text( + '20m', + style: Theme.of(context).textTheme.bodySmall, + ), + ], + ), + ), + ], + ), + ), + ], + ), + ), + ), + ); + } + + void _restartLocationStream() { + // Cancel existing subscription + _positionStreamSubscription?.cancel(); + + // Start new stream with updated distance + _positionStreamSubscription = Geolocator.getPositionStream( + locationSettings: LocationSettings( + accuracy: LocationAccuracy.best, + distanceFilter: _gpsUpdateDistance.toInt(), + ), + ).listen((Position position) { + if (mounted) { + setState(() { + _currentPosition = position; + }); + } + }); + } + + @override + Widget build(BuildContext context) { + return Consumer2( + builder: (context, contactsProvider, messagesProvider, child) { + final contactsWithLocation = contactsProvider.chatContactsWithLocation; + final sarMarkers = messagesProvider.sarMarkers; + final center = _calculateCenter(contactsWithLocation, sarMarkers); + + return Stack( + children: [ + // Map widget + _isInitialized + ? FlutterMap( + mapController: _mapController, + options: MapOptions( + initialCenter: center, + initialZoom: _defaultZoom, + minZoom: 5, + maxZoom: 18, + interactionOptions: const InteractionOptions( + flags: InteractiveFlag.all, + ), + ), + children: [ + TileLayer( + urlTemplate: _currentLayer.urlTemplate, + tileProvider: _tileCache.getTileProvider(_currentLayer), + userAgentPackageName: 'com.meshcore.sar', + maxZoom: _currentLayer.maxZoom.toDouble(), + ), + MarkerLayer( + markers: [ + ...MapMarkers.createTeamMemberMarkers( + contactsWithLocation, + context, + ), + ...MapMarkers.createSarMarkers( + sarMarkers, + context, + ), + // User location marker + if (_currentPosition != null) + Marker( + point: LatLng( + _currentPosition!.latitude, + _currentPosition!.longitude, + ), + width: 40, + height: 40, + child: Container( + decoration: BoxDecoration( + color: Colors.blue.withOpacity(0.3), + shape: BoxShape.circle, + ), + child: Container( + margin: const EdgeInsets.all(8), + decoration: const BoxDecoration( + color: Colors.blue, + shape: BoxShape.circle, + boxShadow: [ + BoxShadow( + color: Colors.black26, + blurRadius: 4, + ), + ], + ), + child: const Icon( + Icons.navigation, + color: Colors.white, + size: 16, + ), + ), + ), + ), + ], + ), + ], + ) + : Center( + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + const CircularProgressIndicator(), + const SizedBox(height: 16), + Text( + 'Initializing map...', + style: Theme.of(context).textTheme.bodyMedium, + ), + ], + ), + ), + // Map legend overlay + if (_showLegend) + Positioned( + top: 16, + right: 16, + child: _MapLegend( + teamMemberCount: contactsWithLocation.length, + foundPersonCount: messagesProvider.foundPersonMarkers.length, + fireCount: messagesProvider.fireMarkers.length, + stagingAreaCount: messagesProvider.stagingAreaMarkers.length, + ), + ), + // Map controls - right side + Positioned( + bottom: 16, + right: 16, + child: Column( + children: [ + FloatingActionButton.small( + heroTag: 'center_map', + onPressed: () async { + // Force update GPS location and jump to it + try { + final position = await Geolocator.getCurrentPosition( + locationSettings: const LocationSettings( + accuracy: LocationAccuracy.best, + distanceFilter: 0, + ), + ); + if (mounted) { + setState(() { + _currentPosition = position; + }); + _mapController.move( + LatLng(position.latitude, position.longitude), + 16, + ); + } + } catch (e) { + debugPrint('Error getting location: $e'); + // Fallback to cached position or default center + if (_currentPosition != null) { + _mapController.move( + LatLng( + _currentPosition!.latitude, + _currentPosition!.longitude, + ), + 16, + ); + } else { + _mapController.move(center, _defaultZoom); + } + } + }, + child: const Icon(Icons.my_location), + ), + const SizedBox(height: 8), + FloatingActionButton.small( + heroTag: 'layer_selector', + onPressed: () => _showLayerSelector(context), + child: const Icon(Icons.layers), + ), + const SizedBox(height: 8), + FloatingActionButton.small( + heroTag: 'options_menu', + onPressed: () => _showOptionsMenu(context), + child: const Icon(Icons.more_vert), + ), + ], + ), + ), + ], + ); + }, + ); + } +} + +class _MapLegend extends StatelessWidget { + final int teamMemberCount; + final int foundPersonCount; + final int fireCount; + final int stagingAreaCount; + + const _MapLegend({ + required this.teamMemberCount, + required this.foundPersonCount, + required this.fireCount, + required this.stagingAreaCount, + }); + + @override + Widget build(BuildContext context) { + return Card( + child: Padding( + padding: const EdgeInsets.all(12), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + mainAxisSize: MainAxisSize.min, + children: [ + Text( + 'Legend', + style: Theme.of(context).textTheme.titleSmall?.copyWith( + fontWeight: FontWeight.bold, + ), + ), + const SizedBox(height: 8), + _LegendItem( + icon: Icons.person, + color: Colors.blue, + label: 'Team', + count: teamMemberCount, + ), + _LegendItem( + icon: Icons.person_pin, + color: Colors.green, + label: 'Found', + count: foundPersonCount, + ), + _LegendItem( + icon: Icons.local_fire_department, + color: Colors.red, + label: 'Fire', + count: fireCount, + ), + _LegendItem( + icon: Icons.home_work, + color: Colors.orange, + label: 'Staging', + count: stagingAreaCount, + ), + ], + ), + ), + ); + } +} + +class _LegendItem extends StatelessWidget { + final IconData icon; + final Color color; + final String label; + final int count; + + const _LegendItem({ + required this.icon, + required this.color, + required this.label, + required this.count, + }); + + @override + Widget build(BuildContext context) { + return Padding( + padding: const EdgeInsets.symmetric(vertical: 4), + child: Row( + mainAxisSize: MainAxisSize.min, + children: [ + Icon(icon, size: 16, color: color), + const SizedBox(width: 8), + Text( + label, + style: Theme.of(context).textTheme.bodySmall, + ), + const SizedBox(width: 4), + Container( + padding: const EdgeInsets.symmetric(horizontal: 6, vertical: 1), + decoration: BoxDecoration( + color: color.withOpacity(0.2), + borderRadius: BorderRadius.circular(8), + ), + child: Text( + count.toString(), + style: Theme.of(context).textTheme.labelSmall?.copyWith( + fontWeight: FontWeight.bold, + ), + ), + ), + ], + ), + ); + } +} + diff --git a/lib/screens/messages_tab.dart b/lib/screens/messages_tab.dart new file mode 100644 index 0000000..71d74fb --- /dev/null +++ b/lib/screens/messages_tab.dart @@ -0,0 +1,205 @@ +import 'package:flutter/material.dart'; +import 'package:provider/provider.dart'; +import '../providers/messages_provider.dart'; +import '../providers/contacts_provider.dart'; +import '../providers/map_provider.dart'; +import '../models/message.dart'; +import '../utils/sar_message_parser.dart'; + +class MessagesTab extends StatelessWidget { + final VoidCallback onNavigateToMap; + + const MessagesTab({super.key, required this.onNavigateToMap}); + + @override + Widget build(BuildContext context) { + return Consumer( + builder: (context, messagesProvider, child) { + final messages = messagesProvider.getRecentMessages(count: 100); + + if (messages.isEmpty) { + return Center( + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + Icon( + Icons.message_outlined, + size: 64, + color: Theme.of(context).disabledColor, + ), + const SizedBox(height: 16), + Text( + 'No messages yet', + style: Theme.of(context).textTheme.titleLarge, + ), + const SizedBox(height: 8), + Text( + 'Connect to a device to start receiving messages', + style: Theme.of(context).textTheme.bodyMedium, + textAlign: TextAlign.center, + ), + ], + ), + ); + } + + return ListView.builder( + reverse: true, + padding: const EdgeInsets.all(8), + itemCount: messages.length, + itemBuilder: (context, index) { + final message = messages[index]; + return _MessageBubble( + message: message, + onTap: message.isSarMarker && message.sarGpsCoordinates != null + ? () { + final mapProvider = context.read(); + mapProvider.navigateToLocation( + location: message.sarGpsCoordinates!, + zoom: 15.0, + ); + onNavigateToMap(); + } + : null, + ); + }, + ); + }, + ); + } +} + +class _MessageBubble extends StatelessWidget { + final Message message; + final VoidCallback? onTap; + + const _MessageBubble({ + required this.message, + this.onTap, + }); + + @override + Widget build(BuildContext context) { + final isSarMarker = message.isSarMarker; + + return GestureDetector( + onTap: onTap, + child: Container( + margin: const EdgeInsets.only(bottom: 8), + padding: const EdgeInsets.all(12), + decoration: BoxDecoration( + color: isSarMarker + ? _getSarMarkerColor(context) + : Theme.of(context).colorScheme.surfaceVariant, + borderRadius: BorderRadius.circular(12), + border: isSarMarker + ? Border.all( + color: Theme.of(context).colorScheme.primary, + width: 2, + ) + : null, + ), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + // Header: Sender and time + Row( + children: [ + if (message.isChannelMessage) + const Icon(Icons.tag, size: 16) + else + const Icon(Icons.person, size: 16), + const SizedBox(width: 4), + Text( + message.displaySender, + style: Theme.of(context).textTheme.labelMedium?.copyWith( + fontWeight: FontWeight.bold, + ), + ), + const Spacer(), + if (isSarMarker) + Container( + padding: const EdgeInsets.symmetric( + horizontal: 6, + vertical: 2, + ), + decoration: BoxDecoration( + color: Theme.of(context).colorScheme.primary, + borderRadius: BorderRadius.circular(4), + ), + child: Text( + 'SAR', + style: Theme.of(context).textTheme.labelSmall?.copyWith( + color: Theme.of(context).colorScheme.onPrimary, + fontWeight: FontWeight.bold, + ), + ), + ), + const SizedBox(width: 8), + Text( + message.timeAgo, + style: Theme.of(context).textTheme.labelSmall, + ), + ], + ), + const SizedBox(height: 8), + + // SAR marker content + if (isSarMarker && message.sarMarkerType != null) ...[ + Row( + children: [ + Text( + message.sarMarkerType!.emoji, + style: const TextStyle(fontSize: 32), + ), + const SizedBox(width: 12), + Expanded( + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + message.sarMarkerType!.displayName, + style: + Theme.of(context).textTheme.titleMedium?.copyWith( + fontWeight: FontWeight.bold, + ), + ), + if (message.sarGpsCoordinates != null) + Text( + '${message.sarGpsCoordinates!.latitude.toStringAsFixed(5)}, ${message.sarGpsCoordinates!.longitude.toStringAsFixed(5)}', + style: Theme.of(context).textTheme.bodySmall, + ), + ], + ), + ), + Icon( + Icons.chevron_right, + color: Theme.of(context).colorScheme.primary, + ), + ], + ), + const SizedBox(height: 4), + Text( + 'Tap to view on map', + style: Theme.of(context).textTheme.labelSmall?.copyWith( + color: Theme.of(context).colorScheme.primary, + fontStyle: FontStyle.italic, + ), + ), + ] + // Regular message content + else + Text( + message.text, + style: Theme.of(context).textTheme.bodyMedium, + ), + ], + ), + ), + ); + } + + Color _getSarMarkerColor(BuildContext context) { + return Theme.of(context).colorScheme.primaryContainer; + } +} diff --git a/lib/services/buffer_reader.dart b/lib/services/buffer_reader.dart new file mode 100644 index 0000000..a259c3a --- /dev/null +++ b/lib/services/buffer_reader.dart @@ -0,0 +1,139 @@ +import 'dart:typed_data'; +import 'dart:convert'; + +/// Buffer reader for parsing MeshCore protocol binary data +class BufferReader { + final Uint8List _buffer; + int _offset = 0; + + BufferReader(this._buffer); + + /// Get remaining bytes count + int get remainingBytesCount => _buffer.length - _offset; + + /// Check if there are bytes remaining + bool get hasRemaining => _offset < _buffer.length; + + /// Get current offset + int get offset => _offset; + + /// Set offset + set offset(int value) => _offset = value; + + /// Read a single byte (uint8) + int readByte() { + if (_offset >= _buffer.length) { + throw Exception('Buffer overflow: attempting to read beyond buffer length'); + } + return _buffer[_offset++]; + } + + /// Read a signed byte (int8) + int readInt8() { + final value = readByte(); + return value > 127 ? value - 256 : value; + } + + /// Read unsigned 16-bit integer (little-endian) + int readUInt16LE() { + if (_offset + 2 > _buffer.length) { + throw Exception('Buffer overflow: attempting to read beyond buffer length'); + } + final value = _buffer[_offset] | (_buffer[_offset + 1] << 8); + _offset += 2; + return value; + } + + /// Read signed 16-bit integer (little-endian) + int readInt16LE() { + final value = readUInt16LE(); + return value > 32767 ? value - 65536 : value; + } + + /// Read unsigned 32-bit integer (little-endian) + int readUInt32LE() { + if (_offset + 4 > _buffer.length) { + throw Exception('Buffer overflow: attempting to read beyond buffer length'); + } + final value = _buffer[_offset] | + (_buffer[_offset + 1] << 8) | + (_buffer[_offset + 2] << 16) | + (_buffer[_offset + 3] << 24); + _offset += 4; + return value; + } + + /// Read signed 32-bit integer (little-endian) + int readInt32LE() { + final value = readUInt32LE(); + return value > 2147483647 ? value - 4294967296 : value; + } + + /// Read a fixed number of bytes + Uint8List readBytes(int length) { + if (_offset + length > _buffer.length) { + throw Exception('Buffer overflow: attempting to read beyond buffer length'); + } + final bytes = _buffer.sublist(_offset, _offset + length); + _offset += length; + return bytes; + } + + /// Read remaining bytes + Uint8List readRemainingBytes() { + final bytes = _buffer.sublist(_offset); + _offset = _buffer.length; + return bytes; + } + + /// Read null-terminated string (C-string) with max length + String readCString(int maxLength) { + if (_offset + maxLength > _buffer.length) { + throw Exception('Buffer overflow: attempting to read beyond buffer length'); + } + + final bytes = _buffer.sublist(_offset, _offset + maxLength); + _offset += maxLength; + + // Find null terminator + int nullIndex = bytes.indexOf(0); + if (nullIndex == -1) { + nullIndex = maxLength; + } + + // Decode string up to null terminator + return utf8.decode(bytes.sublist(0, nullIndex)); + } + + /// Read length-prefixed string (remaining bytes as UTF-8) + String readString() { + final bytes = readRemainingBytes(); + return utf8.decode(bytes); + } + + /// Peek at next byte without advancing offset + int peekByte() { + if (_offset >= _buffer.length) { + throw Exception('Buffer overflow: attempting to peek beyond buffer length'); + } + return _buffer[_offset]; + } + + /// Skip bytes + void skip(int count) { + if (_offset + count > _buffer.length) { + throw Exception('Buffer overflow: attempting to skip beyond buffer length'); + } + _offset += count; + } + + /// Reset offset to beginning + void reset() { + _offset = 0; + } + + @override + String toString() { + return 'BufferReader(length: ${_buffer.length}, offset: $_offset, remaining: $remainingBytesCount)'; + } +} diff --git a/lib/services/buffer_writer.dart b/lib/services/buffer_writer.dart new file mode 100644 index 0000000..9c05fe9 --- /dev/null +++ b/lib/services/buffer_writer.dart @@ -0,0 +1,129 @@ +import 'dart:typed_data'; +import 'dart:convert'; + +/// Buffer writer for creating MeshCore protocol binary data +class BufferWriter { + final List _buffer = []; + + /// Get current buffer length + int get length => _buffer.length; + + /// Write a single byte (uint8) + void writeByte(int value) { + if (value < 0 || value > 255) { + throw ArgumentError('Byte value must be between 0 and 255'); + } + _buffer.add(value); + } + + /// Write a signed byte (int8) + void writeInt8(int value) { + if (value < -128 || value > 127) { + throw ArgumentError('Int8 value must be between -128 and 127'); + } + _buffer.add(value < 0 ? value + 256 : value); + } + + /// Write unsigned 16-bit integer (little-endian) + void writeUInt16LE(int value) { + if (value < 0 || value > 65535) { + throw ArgumentError('UInt16 value must be between 0 and 65535'); + } + _buffer.add(value & 0xFF); + _buffer.add((value >> 8) & 0xFF); + } + + /// Write signed 16-bit integer (little-endian) + void writeInt16LE(int value) { + if (value < -32768 || value > 32767) { + throw ArgumentError('Int16 value must be between -32768 and 32767'); + } + final unsigned = value < 0 ? value + 65536 : value; + writeUInt16LE(unsigned); + } + + /// Write unsigned 32-bit integer (little-endian) + void writeUInt32LE(int value) { + if (value < 0 || value > 4294967295) { + throw ArgumentError('UInt32 value must be between 0 and 4294967295'); + } + _buffer.add(value & 0xFF); + _buffer.add((value >> 8) & 0xFF); + _buffer.add((value >> 16) & 0xFF); + _buffer.add((value >> 24) & 0xFF); + } + + /// Write signed 32-bit integer (little-endian) + void writeInt32LE(int value) { + if (value < -2147483648 || value > 2147483647) { + throw ArgumentError('Int32 value must be between -2147483648 and 2147483647'); + } + final unsigned = value < 0 ? value + 4294967296 : value; + writeUInt32LE(unsigned); + } + + /// Write bytes from Uint8List + void writeBytes(Uint8List bytes) { + _buffer.addAll(bytes); + } + + /// Write bytes from List + void writeBytesFromList(List bytes) { + _buffer.addAll(bytes); + } + + /// Write null-terminated string (C-string) with fixed length + /// Pads with zeros if string is shorter than maxLength + void writeCString(String str, int maxLength) { + final bytes = utf8.encode(str); + + // Ensure we don't exceed max length + final length = bytes.length < maxLength ? bytes.length : maxLength; + + // Write string bytes + for (int i = 0; i < length; i++) { + _buffer.add(bytes[i]); + } + + // Pad with zeros + for (int i = length; i < maxLength; i++) { + _buffer.add(0); + } + } + + /// Write length-prefixed string + void writeString(String str) { + final bytes = utf8.encode(str); + _buffer.addAll(bytes); + } + + /// Write string with length prefix (1 byte) + void writeLengthPrefixedString(String str) { + final bytes = utf8.encode(str); + if (bytes.length > 255) { + throw ArgumentError('String too long for length-prefixed format (max 255 bytes)'); + } + writeByte(bytes.length); + _buffer.addAll(bytes); + } + + /// Get buffer as Uint8List + Uint8List toBytes() { + return Uint8List.fromList(_buffer); + } + + /// Clear the buffer + void clear() { + _buffer.clear(); + } + + /// Get buffer as hex string (for debugging) + String toHexString() { + return _buffer.map((b) => b.toRadixString(16).padLeft(2, '0')).join(' '); + } + + @override + String toString() { + return 'BufferWriter(length: $length, hex: ${toHexString()})'; + } +} diff --git a/lib/services/cayenne_lpp_parser.dart b/lib/services/cayenne_lpp_parser.dart new file mode 100644 index 0000000..d4d091b --- /dev/null +++ b/lib/services/cayenne_lpp_parser.dart @@ -0,0 +1,186 @@ +import 'dart:typed_data'; +import 'package:latlong2/latlong.dart'; +import '../models/contact_telemetry.dart'; +import 'buffer_reader.dart'; +import 'meshcore_constants.dart'; + +/// Cayenne LPP (Low Power Payload) data parser +/// Used for decoding telemetry sensor data from MeshCore devices +class CayenneLppParser { + /// Parse Cayenne LPP data into ContactTelemetry + static ContactTelemetry parse(Uint8List data) { + final reader = BufferReader(data); + + LatLng? gpsLocation; + double? batteryPercentage; + double? batteryMilliVolts; + double? temperature; + double? humidity; + double? pressure; + final extraSensorData = {}; + + while (reader.hasRemaining) { + try { + final channel = reader.readByte(); + final type = reader.readByte(); + + switch (type) { + case MeshCoreConstants.lppDigitalInput: + final value = reader.readByte(); + extraSensorData['digital_input_$channel'] = value; + break; + + case MeshCoreConstants.lppDigitalOutput: + final value = reader.readByte(); + extraSensorData['digital_output_$channel'] = value; + break; + + case MeshCoreConstants.lppAnalogInput: + final value = reader.readInt16LE() / 100.0; + extraSensorData['analog_input_$channel'] = value; + // If this is a battery reading + if (channel == 0 || channel == 1) { + batteryMilliVolts = value * 1000; + batteryPercentage = _calculateBatteryPercentage(value); + } + break; + + case MeshCoreConstants.lppAnalogOutput: + final value = reader.readInt16LE() / 100.0; + extraSensorData['analog_output_$channel'] = value; + break; + + case MeshCoreConstants.lppIlluminanceSensor: + final value = reader.readUInt16LE(); + extraSensorData['illuminance_$channel'] = value; + break; + + case MeshCoreConstants.lppPresenceSensor: + final value = reader.readByte(); + extraSensorData['presence_$channel'] = value; + break; + + case MeshCoreConstants.lppTemperatureSensor: + temperature = reader.readInt16LE() / 10.0; + break; + + case MeshCoreConstants.lppHumiditySensor: + humidity = reader.readByte() / 2.0; + break; + + case MeshCoreConstants.lppAccelerometer: + final x = reader.readInt16LE() / 1000.0; + final y = reader.readInt16LE() / 1000.0; + final z = reader.readInt16LE() / 1000.0; + extraSensorData['accelerometer_$channel'] = {'x': x, 'y': y, 'z': z}; + break; + + case MeshCoreConstants.lppBarometer: + pressure = reader.readUInt16LE() / 10.0; + break; + + case MeshCoreConstants.lppGyrometer: + final x = reader.readInt16LE() / 100.0; + final y = reader.readInt16LE() / 100.0; + final z = reader.readInt16LE() / 100.0; + extraSensorData['gyrometer_$channel'] = {'x': x, 'y': y, 'z': z}; + break; + + case MeshCoreConstants.lppGps: + final lat = reader.readInt32LE() / 10000.0; + final lon = reader.readInt32LE() / 10000.0; + final alt = reader.readInt32LE() / 100.0; + gpsLocation = LatLng(lat, lon); + extraSensorData['altitude_$channel'] = alt; + break; + + default: + // Unknown type, skip remaining to avoid parsing errors + reader.skip(reader.remainingBytesCount); + break; + } + } catch (e) { + // If we encounter a parsing error, break and return what we have + break; + } + } + + return ContactTelemetry( + gpsLocation: gpsLocation, + batteryPercentage: batteryPercentage, + batteryMilliVolts: batteryMilliVolts, + temperature: temperature, + humidity: humidity, + pressure: pressure, + timestamp: DateTime.now(), + extraSensorData: extraSensorData.isNotEmpty ? extraSensorData : null, + ); + } + + /// Calculate battery percentage from voltage (V) + static double _calculateBatteryPercentage(double voltage) { + // Standard lithium battery curve: 3.0V = 0%, 4.2V = 100% + if (voltage <= 3.0) return 0.0; + if (voltage >= 4.2) return 100.0; + return ((voltage - 3.0) / 1.2) * 100.0; + } + + /// Create Cayenne LPP data for GPS location + static Uint8List createGpsData({ + required double latitude, + required double longitude, + double altitude = 0.0, + int channel = 0, + }) { + final buffer = []; + + buffer.add(channel); + buffer.add(MeshCoreConstants.lppGps); + + // Latitude (3 bytes, signed, 0.0001° precision) + final lat = (latitude * 10000).round(); + buffer.add((lat >> 16) & 0xFF); + buffer.add((lat >> 8) & 0xFF); + buffer.add(lat & 0xFF); + + // Longitude (3 bytes, signed, 0.0001° precision) + final lon = (longitude * 10000).round(); + buffer.add((lon >> 16) & 0xFF); + buffer.add((lon >> 8) & 0xFF); + buffer.add(lon & 0xFF); + + // Altitude (3 bytes, signed, 0.01m precision) + final alt = (altitude * 100).round(); + buffer.add((alt >> 16) & 0xFF); + buffer.add((alt >> 8) & 0xFF); + buffer.add(alt & 0xFF); + + return Uint8List.fromList(buffer); + } + + /// Create Cayenne LPP data for temperature + static Uint8List createTemperatureData(double celsius, {int channel = 0}) { + final buffer = []; + buffer.add(channel); + buffer.add(MeshCoreConstants.lppTemperatureSensor); + + final temp = (celsius * 10).round(); + buffer.add((temp >> 8) & 0xFF); + buffer.add(temp & 0xFF); + + return Uint8List.fromList(buffer); + } + + /// Create Cayenne LPP data for battery voltage + static Uint8List createBatteryData(double voltage, {int channel = 0}) { + final buffer = []; + buffer.add(channel); + buffer.add(MeshCoreConstants.lppAnalogInput); + + final volts = (voltage * 100).round(); + buffer.add((volts >> 8) & 0xFF); + buffer.add(volts & 0xFF); + + return Uint8List.fromList(buffer); + } +} diff --git a/lib/services/meshcore_ble_service.dart b/lib/services/meshcore_ble_service.dart new file mode 100644 index 0000000..56b2f9f --- /dev/null +++ b/lib/services/meshcore_ble_service.dart @@ -0,0 +1,394 @@ +import 'dart:async'; +import 'dart:typed_data'; +import 'package:flutter_blue_plus/flutter_blue_plus.dart'; +import '../models/contact.dart'; +import '../models/contact_telemetry.dart'; +import '../models/message.dart'; +import 'buffer_reader.dart'; +import 'buffer_writer.dart'; +import 'meshcore_constants.dart'; + +/// Callback types for MeshCore events +typedef OnContactCallback = void Function(Contact contact); +typedef OnContactsCompleteCallback = void Function(List contacts); +typedef OnMessageCallback = void Function(Message message); +typedef OnTelemetryCallback = void Function(Uint8List publicKey, Uint8List lppData); +typedef OnErrorCallback = void Function(String error); +typedef OnConnectionStateCallback = void Function(bool isConnected); + +/// MeshCore BLE Service - handles all BLE communication +class MeshCoreBleService { + BluetoothDevice? _device; + BluetoothCharacteristic? _rxCharacteristic; + BluetoothCharacteristic? _txCharacteristic; + StreamSubscription? _txSubscription; + + // Event callbacks + OnConnectionStateCallback? onConnectionStateChanged; + OnContactCallback? onContactReceived; + OnContactsCompleteCallback? onContactsComplete; + OnMessageCallback? onMessageReceived; + OnTelemetryCallback? onTelemetryReceived; + OnErrorCallback? onError; + + // Internal state + final List _pendingContacts = []; + bool _isConnected = false; + bool get isConnected => _isConnected; + + /// Scan for MeshCore devices + Stream scanForDevices({Duration timeout = const Duration(seconds: 10)}) async* { + try { + // Start scanning + await FlutterBluePlus.startScan( + timeout: timeout, + withServices: [Guid(MeshCoreConstants.bleServiceUuid)], + ); + + // Listen to scan results + await for (final scanResult in FlutterBluePlus.scanResults) { + for (final result in scanResult) { + if (result.advertisementData.serviceUuids + .contains(Guid(MeshCoreConstants.bleServiceUuid))) { + yield result.device; + } + } + } + } catch (e) { + onError?.call('Scan error: $e'); + } + } + + /// Connect to a MeshCore device + Future connect(BluetoothDevice device) async { + try { + _device = device; + + // Connect to device + await device.connect( + license: License.free, + timeout: const Duration(seconds: 15), + mtu: 512, + ); + + // Discover services + final services = await device.discoverServices(); + + // Find MeshCore service + BluetoothService? meshCoreService; + for (final service in services) { + if (service.uuid.toString().toLowerCase() == + MeshCoreConstants.bleServiceUuid.toLowerCase()) { + meshCoreService = service; + break; + } + } + + if (meshCoreService == null) { + throw Exception('MeshCore service not found'); + } + + // Find RX and TX characteristics + for (final characteristic in meshCoreService.characteristics) { + final uuid = characteristic.uuid.toString().toLowerCase(); + if (uuid == MeshCoreConstants.bleCharacteristicRxUuid.toLowerCase()) { + _rxCharacteristic = characteristic; + } else if (uuid == + MeshCoreConstants.bleCharacteristicTxUuid.toLowerCase()) { + _txCharacteristic = characteristic; + } + } + + if (_rxCharacteristic == null || _txCharacteristic == null) { + throw Exception('Required characteristics not found'); + } + + // Enable notifications on TX characteristic + await _txCharacteristic!.setNotifyValue(true); + + // Listen to TX characteristic + _txSubscription = _txCharacteristic!.lastValueStream.listen( + _onDataReceived, + onError: (error) => onError?.call('TX notification error: $error'), + ); + + _isConnected = true; + onConnectionStateChanged?.call(true); + + // Send initial device query + await _sendDeviceQuery(); + + return true; + } catch (e) { + onError?.call('Connection error: $e'); + _isConnected = false; + onConnectionStateChanged?.call(false); + return false; + } + } + + /// Disconnect from device + Future disconnect() async { + try { + await _txSubscription?.cancel(); + await _device?.disconnect(); + _isConnected = false; + _device = null; + _rxCharacteristic = null; + _txCharacteristic = null; + onConnectionStateChanged?.call(false); + } catch (e) { + onError?.call('Disconnect error: $e'); + } + } + + /// Write data to RX characteristic + Future _writeData(Uint8List data) async { + if (_rxCharacteristic == null) { + throw Exception('Not connected'); + } + try { + await _rxCharacteristic!.write(data, withoutResponse: true); + } catch (e) { + onError?.call('Write error: $e'); + rethrow; + } + } + + /// Handle incoming data from TX characteristic + void _onDataReceived(List data) { + try { + final reader = BufferReader(Uint8List.fromList(data)); + final responseCode = reader.readByte(); + + switch (responseCode) { + case MeshCoreConstants.respContactsStart: + _handleContactsStart(reader); + break; + case MeshCoreConstants.respContact: + _handleContact(reader); + break; + case MeshCoreConstants.respEndOfContacts: + _handleEndOfContacts(reader); + break; + case MeshCoreConstants.respContactMsgRecv: + _handleContactMessage(reader); + break; + case MeshCoreConstants.respChannelMsgRecv: + _handleChannelMessage(reader); + break; + case MeshCoreConstants.pushTelemetryResponse: + _handleTelemetryResponse(reader); + break; + case MeshCoreConstants.respOk: + case MeshCoreConstants.respErr: + // Handle OK/Error responses if needed + break; + default: + // Unknown response code + break; + } + } catch (e) { + onError?.call('Data parsing error: $e'); + } + } + + /// Handle ContactsStart response + void _handleContactsStart(BufferReader reader) { + _pendingContacts.clear(); + final count = reader.readUInt32LE(); + // Optional: notify about expected count + } + + /// Handle Contact response + void _handleContact(BufferReader reader) { + try { + final publicKey = reader.readBytes(32); + final type = ContactType.fromValue(reader.readByte()); + final flags = reader.readByte(); + final outPathLen = reader.readInt8(); + final outPath = reader.readBytes(64); + final advName = reader.readCString(32); + final lastAdvert = reader.readUInt32LE(); + final advLat = reader.readInt32LE(); + final advLon = reader.readInt32LE(); + final lastMod = reader.readUInt32LE(); + + final contact = Contact( + publicKey: publicKey, + type: type, + flags: flags, + outPathLen: outPathLen, + outPath: outPath, + advName: advName, + lastAdvert: lastAdvert, + advLat: advLat, + advLon: advLon, + lastMod: lastMod, + ); + + _pendingContacts.add(contact); + onContactReceived?.call(contact); + } catch (e) { + onError?.call('Contact parsing error: $e'); + } + } + + /// Handle EndOfContacts response + void _handleEndOfContacts(BufferReader reader) { + onContactsComplete?.call(List.from(_pendingContacts)); + _pendingContacts.clear(); + } + + /// Handle ContactMsgRecv response + void _handleContactMessage(BufferReader reader) { + try { + final pubKeyPrefix = reader.readBytes(6); + final pathLen = reader.readByte(); + final txtType = MessageTextType.fromValue(reader.readByte()); + final senderTimestamp = reader.readUInt32LE(); + final text = reader.readString(); + + final message = Message( + id: '${DateTime.now().millisecondsSinceEpoch}_${pubKeyPrefix.map((b) => b.toRadixString(16)).join()}', + messageType: MessageType.contact, + senderPublicKeyPrefix: pubKeyPrefix, + pathLen: pathLen, + textType: txtType, + senderTimestamp: senderTimestamp, + text: text, + receivedAt: DateTime.now(), + ); + + onMessageReceived?.call(message); + } catch (e) { + onError?.call('Contact message parsing error: $e'); + } + } + + /// Handle ChannelMsgRecv response + void _handleChannelMessage(BufferReader reader) { + try { + final channelIdx = reader.readInt8(); + final pathLen = reader.readByte(); + final txtType = MessageTextType.fromValue(reader.readByte()); + final senderTimestamp = reader.readUInt32LE(); + final text = reader.readString(); + + final message = Message( + id: '${DateTime.now().millisecondsSinceEpoch}_ch$channelIdx', + messageType: MessageType.channel, + channelIdx: channelIdx, + pathLen: pathLen, + textType: txtType, + senderTimestamp: senderTimestamp, + text: text, + receivedAt: DateTime.now(), + ); + + onMessageReceived?.call(message); + } catch (e) { + onError?.call('Channel message parsing error: $e'); + } + } + + /// Handle TelemetryResponse push + void _handleTelemetryResponse(BufferReader reader) { + try { + reader.readByte(); // reserved + final pubKeyPrefix = reader.readBytes(6); + final lppSensorData = reader.readRemainingBytes(); + + onTelemetryReceived?.call(pubKeyPrefix, lppSensorData); + } catch (e) { + onError?.call('Telemetry parsing error: $e'); + } + } + + /// Send AppStart command + Future _sendAppStart() async { + final writer = BufferWriter(); + writer.writeByte(MeshCoreConstants.cmdAppStart); + writer.writeByte(1); // appVer + writer.writeBytes(Uint8List(6)); // reserved + writer.writeString('MeshCore SAR'); // appName + await _writeData(writer.toBytes()); + } + + /// Send DeviceQuery command + Future _sendDeviceQuery() async { + final writer = BufferWriter(); + writer.writeByte(MeshCoreConstants.cmdDeviceQuery); + writer.writeByte(MeshCoreConstants.supportedCompanionProtocolVersion); + await _writeData(writer.toBytes()); + await _sendAppStart(); + } + + /// Get contacts from device + Future getContacts() async { + final writer = BufferWriter(); + writer.writeByte(MeshCoreConstants.cmdGetContacts); + await _writeData(writer.toBytes()); + } + + /// Send text message to contact + Future sendTextMessage({ + required Uint8List contactPublicKey, + required String text, + }) async { + final writer = BufferWriter(); + writer.writeByte(MeshCoreConstants.cmdSendTxtMsg); + writer.writeByte(MeshCoreConstants.txtTypePlain); + writer.writeByte(0); // attempt + writer.writeUInt32LE(DateTime.now().millisecondsSinceEpoch ~/ 1000); + writer.writeBytes(contactPublicKey.sublist(0, 6)); + writer.writeString(text); + await _writeData(writer.toBytes()); + } + + /// Send channel text message + Future sendChannelMessage({ + required int channelIdx, + required String text, + }) async { + final writer = BufferWriter(); + writer.writeByte(MeshCoreConstants.cmdSendChannelTxtMsg); + writer.writeByte(MeshCoreConstants.txtTypePlain); + writer.writeByte(channelIdx); + writer.writeUInt32LE(DateTime.now().millisecondsSinceEpoch ~/ 1000); + writer.writeString(text); + await _writeData(writer.toBytes()); + } + + /// Request telemetry from contact + Future requestTelemetry(Uint8List contactPublicKey) async { + final writer = BufferWriter(); + writer.writeByte(MeshCoreConstants.cmdSendTelemetryReq); + writer.writeByte(0); // reserved + writer.writeByte(0); // reserved + writer.writeByte(0); // reserved + writer.writeBytes(contactPublicKey); + await _writeData(writer.toBytes()); + } + + /// Get battery voltage + Future getBatteryVoltage() async { + final writer = BufferWriter(); + writer.writeByte(MeshCoreConstants.cmdGetBatteryVoltage); + await _writeData(writer.toBytes()); + } + + /// Set device time + Future setDeviceTime() async { + final writer = BufferWriter(); + writer.writeByte(MeshCoreConstants.cmdSetDeviceTime); + writer.writeUInt32LE(DateTime.now().millisecondsSinceEpoch ~/ 1000); + await _writeData(writer.toBytes()); + } + + /// Dispose resources + void dispose() { + _txSubscription?.cancel(); + _pendingContacts.clear(); + } +} diff --git a/lib/services/meshcore_constants.dart b/lib/services/meshcore_constants.dart new file mode 100644 index 0000000..7739314 --- /dev/null +++ b/lib/services/meshcore_constants.dart @@ -0,0 +1,138 @@ +/// MeshCore BLE and Protocol Constants +class MeshCoreConstants { + // Supported protocol version + static const int supportedCompanionProtocolVersion = 1; + + // BLE Service and Characteristic UUIDs + static const String bleServiceUuid = + '6E400001-B5A3-F393-E0A9-E50E24DCCA9E'; + static const String bleCharacteristicRxUuid = + '6E400002-B5A3-F393-E0A9-E50E24DCCA9E'; // Write + static const String bleCharacteristicTxUuid = + '6E400003-B5A3-F393-E0A9-E50E24DCCA9E'; // Notify + + // Command Codes (App -> Device) + static const int cmdAppStart = 1; + static const int cmdSendTxtMsg = 2; + static const int cmdSendChannelTxtMsg = 3; + static const int cmdGetContacts = 4; + static const int cmdGetDeviceTime = 5; + static const int cmdSetDeviceTime = 6; + static const int cmdSendSelfAdvert = 7; + static const int cmdSetAdvertName = 8; + static const int cmdAddUpdateContact = 9; + static const int cmdSyncNextMessage = 10; + static const int cmdSetRadioParams = 11; + static const int cmdSetTxPower = 12; + static const int cmdResetPath = 13; + static const int cmdSetAdvertLatLon = 14; + static const int cmdRemoveContact = 15; + static const int cmdShareContact = 16; + static const int cmdExportContact = 17; + static const int cmdImportContact = 18; + static const int cmdReboot = 19; + static const int cmdGetBatteryVoltage = 20; + static const int cmdSetTuningParams = 21; + static const int cmdDeviceQuery = 22; + static const int cmdExportPrivateKey = 23; + static const int cmdImportPrivateKey = 24; + static const int cmdSendRawData = 25; + static const int cmdSendLogin = 26; + static const int cmdSendStatusReq = 27; + static const int cmdGetChannel = 31; + static const int cmdSetChannel = 32; + static const int cmdSignStart = 33; + static const int cmdSignData = 34; + static const int cmdSignFinish = 35; + static const int cmdSendTracePath = 36; + static const int cmdSetOtherParams = 38; + static const int cmdSendTelemetryReq = 39; + static const int cmdSendBinaryReq = 50; + + // Response Codes (Device -> App) + static const int respOk = 0; + static const int respErr = 1; + static const int respContactsStart = 2; + static const int respContact = 3; + static const int respEndOfContacts = 4; + static const int respSelfInfo = 5; + static const int respSent = 6; + static const int respContactMsgRecv = 7; + static const int respChannelMsgRecv = 8; + static const int respCurrTime = 9; + static const int respNoMoreMessages = 10; + static const int respExportContact = 11; + static const int respBatteryVoltage = 12; + static const int respDeviceInfo = 13; + static const int respPrivateKey = 14; + static const int respDisabled = 15; + static const int respChannelInfo = 18; + static const int respSignStart = 19; + static const int respSignature = 20; + + // Push Codes (Device -> App, unsolicited) + static const int pushAdvert = 0x80; + static const int pushPathUpdated = 0x81; + static const int pushSendConfirmed = 0x82; + static const int pushMsgWaiting = 0x83; + static const int pushRawData = 0x84; + static const int pushLoginSuccess = 0x85; + static const int pushLoginFail = 0x86; + static const int pushStatusResponse = 0x87; + static const int pushLogRxData = 0x88; + static const int pushTraceData = 0x89; + static const int pushNewAdvert = 0x8A; + static const int pushTelemetryResponse = 0x8B; + static const int pushBinaryResponse = 0x8C; + + // Error Codes + static const int errUnsupportedCmd = 1; + static const int errNotFound = 2; + static const int errTableFull = 3; + static const int errBadState = 4; + static const int errFileIoError = 5; + static const int errIllegalArg = 6; + + // Advert Types + static const int advTypeNone = 0; + static const int advTypeChat = 1; + static const int advTypeRepeater = 2; + static const int advTypeRoom = 3; + + // Self Advert Types + static const int selfAdvertZeroHop = 0; + static const int selfAdvertFlood = 1; + + // Text Types + static const int txtTypePlain = 0; + static const int txtTypeCliData = 1; + static const int txtTypeSignedPlain = 2; + + // Binary Request Types + static const int binaryReqGetTelemetryData = 0x03; + static const int binaryReqGetAvgMinMax = 0x04; + static const int binaryReqGetAccessList = 0x05; + static const int binaryReqGetNeighbours = 0x06; + + // Cayenne LPP Data Types + static const int lppDigitalInput = 0; + static const int lppDigitalOutput = 1; + static const int lppAnalogInput = 2; + static const int lppAnalogOutput = 3; + static const int lppIlluminanceSensor = 101; + static const int lppPresenceSensor = 102; + static const int lppTemperatureSensor = 103; + static const int lppHumiditySensor = 104; + static const int lppAccelerometer = 113; + static const int lppBarometer = 115; + static const int lppGyrometer = 134; + static const int lppGps = 136; + + // MTU and timing + static const int maxMtuSize = 512; + static const int defaultTimeout = 5000; // 5 seconds + static const int reconnectDelay = 2000; // 2 seconds + static const int telemetryUpdateInterval = 300000; // 5 minutes + + MeshCoreConstants._(); // Private constructor to prevent instantiation +} diff --git a/lib/services/tile_cache_service.dart b/lib/services/tile_cache_service.dart new file mode 100644 index 0000000..62165c6 --- /dev/null +++ b/lib/services/tile_cache_service.dart @@ -0,0 +1,170 @@ +import 'dart:io'; +import 'package:flutter_map/flutter_map.dart'; +import 'package:flutter_map_tile_caching/flutter_map_tile_caching.dart'; +import 'package:flutter_map_tile_caching/custom_backend_api.dart'; +import 'package:path_provider/path_provider.dart'; +import '../models/map_layer.dart'; + +class TileCacheService { + static const String _storeName = 'meshcore_sar_tiles'; + + late final FMTCStore _store; + bool _isInitialized = false; + bool _isDownloading = false; + + Future initialize() async { + if (_isInitialized) return; + + try { + await FMTCObjectBoxBackend().initialise(); + _store = FMTCStore(_storeName); + await _store.manage.create(); + _isInitialized = true; + } catch (e) { + // Store might already exist + _store = FMTCStore(_storeName); + _isInitialized = true; + } + } + + FMTCTileProvider getTileProvider(MapLayer layer) { + if (!_isInitialized) { + throw StateError('TileCacheService not initialized. Call initialize() first.'); + } + return _store.getTileProvider( + loadingStrategy: BrowseLoadingStrategy.cacheFirst, + cachedValidDuration: const Duration(days: 30), + ); + } + + Future downloadRegion({ + required MapLayer layer, + required LatLngBounds bounds, + required int minZoom, + required int maxZoom, + Function(double progress)? onProgress, + }) async { + if (!_isInitialized) { + throw StateError('TileCacheService not initialized. Call initialize() first.'); + } + + if (_isDownloading) { + throw StateError('A download is already in progress. Cancel it first.'); + } + + _isDownloading = true; + + try { + final region = RectangleRegion(bounds); + + final downloadable = region.toDownloadable( + minZoom: minZoom, + maxZoom: maxZoom, + options: TileLayer( + urlTemplate: layer.urlTemplate, + ), + ); + + final download = _store.download.startForeground( + region: downloadable, + ); + + await for (final progress in download.downloadProgress) { + if (onProgress != null && progress.maxTilesCount > 0) { + // Use attemptedTilesCount instead of successfulTilesCount + // attemptedTilesCount includes successful + buffered + skipped tiles + final percentage = progress.percentageProgress; + print('Download progress: ${progress.attemptedTilesCount}/${progress.maxTilesCount} = ${percentage.toStringAsFixed(1)}% (successful: ${progress.successfulTilesCount}, buffered: ${progress.bufferedTilesCount}, skipped: ${progress.skippedTilesCount})'); + onProgress(percentage); + } + } + } finally { + _isDownloading = false; + } + } + + Future cancelDownload() async { + if (!_isInitialized) return; + await _store.download.cancel(); + } + + Future clearCache() async { + if (!_isInitialized) return; + await _store.manage.delete(); + await _store.manage.create(); + } + + Future getCachedTileCount() async { + if (!_isInitialized) return 0; + final stats = await _store.stats.length; + return stats; + } + + Future getCacheSizeMB() async { + if (!_isInitialized) return 0.0; + final stats = await _store.stats.size; + return stats / (1024 * 1024); + } + + Future exportCache() async { + if (!_isInitialized) { + throw StateError('TileCacheService not initialized. Call initialize() first.'); + } + + final directory = await getApplicationDocumentsDirectory(); + final timestamp = DateTime.now().millisecondsSinceEpoch; + final exportPath = '${directory.path}/meshcore_maps_$timestamp.fmtc'; + + // Export using FMTCBackendAccess + await FMTCBackendAccess.internal.exportStores( + storeNames: [_storeName], + path: exportPath, + ); + + return exportPath; + } + + Future importCache(String filePath) async { + if (!_isInitialized) { + throw StateError('TileCacheService not initialized. Call initialize() first.'); + } + + final file = File(filePath); + if (!await file.exists()) { + throw Exception('Import file not found: $filePath'); + } + + // Import using FMTCBackendAccess + await FMTCBackendAccess.internal.importStores( + storeNames: [_storeName], + path: filePath, + strategy: ImportConflictStrategy.rename, + ); + } + + Future> getAvailableStores() async { + if (!_isInitialized) { + throw StateError('TileCacheService not initialized. Call initialize() first.'); + } + + final stores = await FMTCRoot.stats.storesAvailable; + return stores.map((store) => store.storeName).toList(); + } + + Future> getStoreStats() async { + if (!_isInitialized) return {}; + + final length = await _store.stats.length; + final size = await _store.stats.size; + + return { + 'tileCount': length, + 'sizeMB': size / (1024 * 1024), + 'storeName': _storeName, + }; + } + + void dispose() { + _isInitialized = false; + } +} diff --git a/lib/utils/sar_message_parser.dart b/lib/utils/sar_message_parser.dart new file mode 100644 index 0000000..5c261b7 --- /dev/null +++ b/lib/utils/sar_message_parser.dart @@ -0,0 +1,153 @@ +import 'package:latlong2/latlong.dart'; +import '../models/sar_marker.dart'; +import '../models/message.dart'; + +/// Parser for SAR (Search & Rescue) special messages +/// Format: S::, +/// Examples: +/// S:🧑:37.7749,-122.4194 +/// S:🔥:40.7128,-74.0060 +/// S:🏕️:34.0522,-118.2437 +class SarMessageParser { + static final RegExp _sarPattern = RegExp( + r'^S:(.):(-?\d+\.?\d*),(-?\d+\.?\d*)$', + multiLine: false, + ); + + /// Check if a message is a SAR marker message + static bool isSarMessage(String text) { + return text.trim().startsWith('S:') && _sarPattern.hasMatch(text.trim()); + } + + /// Parse a SAR message and extract marker information + /// Returns null if the message is not a valid SAR message + static SarMarkerInfo? parse(String text) { + final trimmed = text.trim(); + if (!trimmed.startsWith('S:')) return null; + + final match = _sarPattern.firstMatch(trimmed); + if (match == null) return null; + + try { + final emoji = match.group(1)!; + final latitude = double.parse(match.group(2)!); + final longitude = double.parse(match.group(3)!); + + // Validate coordinates + if (latitude < -90 || latitude > 90) return null; + if (longitude < -180 || longitude > 180) return null; + + final markerType = SarMarkerType.fromEmoji(emoji); + final location = LatLng(latitude, longitude); + + return SarMarkerInfo( + type: markerType, + location: location, + emoji: emoji, + ); + } catch (e) { + return null; + } + } + + /// Enhance a Message with SAR marker information + static Message enhanceMessage(Message message) { + final sarInfo = parse(message.text); + if (sarInfo == null) return message; + + return message.copyWith( + isSarMarker: true, + sarMarkerType: sarInfo.type, + sarGpsCoordinates: sarInfo.location, + ); + } + + /// Create a SAR marker message text + static String createSarMessage({ + required SarMarkerType type, + required LatLng location, + String? notes, + }) { + final text = 'S:${type.emoji}:${location.latitude},${location.longitude}'; + if (notes != null && notes.isNotEmpty) { + return '$text\n$notes'; + } + return text; + } + + /// Extract additional notes from SAR message (text after the marker) + static String? extractNotes(String text) { + final trimmed = text.trim(); + final lines = trimmed.split('\n'); + if (lines.length <= 1) return null; + + // Everything after the first line is considered notes + return lines.sublist(1).join('\n').trim(); + } + + /// Validate SAR message format + static bool isValidFormat(String text) { + return isSarMessage(text) && parse(text) != null; + } + + /// Get a user-friendly error message for invalid SAR format + static String? getFormatError(String text) { + if (!text.trim().startsWith('S:')) { + return 'SAR message must start with "S:"'; + } + + final parts = text.trim().split(':'); + if (parts.length < 3) { + return 'Invalid format. Use: S::,'; + } + + final emoji = parts[1]; + if (emoji.isEmpty) { + return 'Missing emoji marker (🧑, 🔥, or 🏕️)'; + } + + final coords = parts[2]; + if (!coords.contains(',')) { + return 'Coordinates must be separated by comma'; + } + + final coordParts = coords.split(','); + if (coordParts.length != 2) { + return 'Invalid coordinates format'; + } + + try { + final lat = double.parse(coordParts[0]); + final lon = double.parse(coordParts[1]); + + if (lat < -90 || lat > 90) { + return 'Latitude must be between -90 and 90'; + } + if (lon < -180 || lon > 180) { + return 'Longitude must be between -180 and 180'; + } + } catch (e) { + return 'Invalid coordinate values'; + } + + return null; + } +} + +/// Parsed SAR marker information +class SarMarkerInfo { + final SarMarkerType type; + final LatLng location; + final String emoji; + + SarMarkerInfo({ + required this.type, + required this.location, + required this.emoji, + }); + + @override + String toString() { + return 'SarMarkerInfo(type: ${type.displayName}, location: $location)'; + } +} diff --git a/lib/widgets/map_markers.dart b/lib/widgets/map_markers.dart new file mode 100644 index 0000000..4dcc2b1 --- /dev/null +++ b/lib/widgets/map_markers.dart @@ -0,0 +1,286 @@ +import 'package:flutter/material.dart'; +import 'package:flutter_map/flutter_map.dart'; +import 'package:latlong2/latlong.dart'; +import '../models/contact.dart'; +import '../models/sar_marker.dart'; + +class MapMarkers { + static List createTeamMemberMarkers( + List contacts, + BuildContext context, + ) { + return contacts.map((contact) { + final location = contact.displayLocation; + if (location == null) return null; + + return Marker( + point: location, + width: 60, + height: 80, + child: GestureDetector( + onTap: () => _showContactInfo(context, contact), + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + // Battery indicator + if (contact.displayBattery != null) + Container( + padding: const EdgeInsets.symmetric(horizontal: 4, vertical: 2), + decoration: BoxDecoration( + color: _getBatteryColor(contact.displayBattery!), + borderRadius: BorderRadius.circular(4), + ), + child: Text( + '${contact.displayBattery!.round()}%', + style: const TextStyle( + color: Colors.white, + fontSize: 10, + fontWeight: FontWeight.bold, + ), + ), + ), + const SizedBox(height: 2), + // Marker icon + Container( + decoration: BoxDecoration( + color: Colors.blue, + shape: BoxShape.circle, + border: Border.all(color: Colors.white, width: 3), + boxShadow: [ + BoxShadow( + color: Colors.black.withOpacity(0.3), + blurRadius: 4, + offset: const Offset(0, 2), + ), + ], + ), + padding: const EdgeInsets.all(8), + child: const Icon( + Icons.person, + color: Colors.white, + size: 20, + ), + ), + // Name label + Container( + padding: const EdgeInsets.symmetric(horizontal: 4, vertical: 2), + decoration: BoxDecoration( + color: Colors.black.withOpacity(0.7), + borderRadius: BorderRadius.circular(4), + ), + child: Text( + contact.advName, + style: const TextStyle( + color: Colors.white, + fontSize: 10, + fontWeight: FontWeight.bold, + ), + overflow: TextOverflow.ellipsis, + maxLines: 1, + ), + ), + ], + ), + ), + ); + }).whereType().toList(); + } + + static List createSarMarkers( + List sarMarkers, + BuildContext context, + ) { + return sarMarkers.map((marker) { + return Marker( + point: marker.location, + width: 60, + height: 80, + child: GestureDetector( + onTap: () => _showSarMarkerInfo(context, marker), + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + // Time ago label + Container( + padding: const EdgeInsets.symmetric(horizontal: 4, vertical: 2), + decoration: BoxDecoration( + color: _getSarMarkerColor(marker.type), + borderRadius: BorderRadius.circular(4), + ), + child: Text( + marker.timeAgo, + style: const TextStyle( + color: Colors.white, + fontSize: 9, + fontWeight: FontWeight.bold, + ), + ), + ), + const SizedBox(height: 2), + // Marker emoji/icon + Container( + decoration: BoxDecoration( + color: _getSarMarkerColor(marker.type), + shape: BoxShape.circle, + border: Border.all(color: Colors.white, width: 3), + boxShadow: [ + BoxShadow( + color: Colors.black.withOpacity(0.3), + blurRadius: 4, + offset: const Offset(0, 2), + ), + ], + ), + padding: const EdgeInsets.all(8), + child: Text( + marker.type.emoji, + style: const TextStyle(fontSize: 20), + ), + ), + // Type label + Container( + padding: const EdgeInsets.symmetric(horizontal: 4, vertical: 2), + decoration: BoxDecoration( + color: Colors.black.withOpacity(0.7), + borderRadius: BorderRadius.circular(4), + ), + child: Text( + marker.type.displayName, + style: const TextStyle( + color: Colors.white, + fontSize: 10, + fontWeight: FontWeight.bold, + ), + overflow: TextOverflow.ellipsis, + maxLines: 1, + ), + ), + ], + ), + ), + ); + }).toList(); + } + + static void _showContactInfo(BuildContext context, Contact contact) { + showDialog( + context: context, + builder: (context) => AlertDialog( + title: Row( + children: [ + const Icon(Icons.person, color: Colors.blue), + const SizedBox(width: 8), + Expanded(child: Text(contact.advName)), + ], + ), + content: Column( + mainAxisSize: MainAxisSize.min, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + if (contact.displayLocation != null) ...[ + _InfoRow( + 'Location', + '${contact.displayLocation!.latitude.toStringAsFixed(6)}, ${contact.displayLocation!.longitude.toStringAsFixed(6)}', + ), + ], + if (contact.displayBattery != null) + _InfoRow('Battery', '${contact.displayBattery!.round()}%'), + if (contact.telemetry?.temperature != null) + _InfoRow( + 'Temperature', '${contact.telemetry!.temperature!.toStringAsFixed(1)}°C'), + _InfoRow('Last Seen', contact.timeSinceLastSeen), + _InfoRow('Public Key', contact.publicKeyShort), + ], + ), + actions: [ + TextButton( + onPressed: () => Navigator.pop(context), + child: const Text('Close'), + ), + ], + ), + ); + } + + static void _showSarMarkerInfo(BuildContext context, SarMarker marker) { + showDialog( + context: context, + builder: (context) => AlertDialog( + title: Row( + children: [ + Text(marker.type.emoji, style: const TextStyle(fontSize: 24)), + const SizedBox(width: 8), + Expanded(child: Text(marker.type.displayName)), + ], + ), + content: Column( + mainAxisSize: MainAxisSize.min, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + _InfoRow( + 'Location', + '${marker.location.latitude.toStringAsFixed(6)}, ${marker.location.longitude.toStringAsFixed(6)}', + ), + _InfoRow('Reported', marker.timeAgo), + if (marker.senderName != null) + _InfoRow('Reporter', marker.senderName!), + ], + ), + actions: [ + TextButton( + onPressed: () => Navigator.pop(context), + child: const Text('Close'), + ), + ], + ), + ); + } + + static Color _getBatteryColor(double percentage) { + if (percentage > 50) return Colors.green; + if (percentage > 20) return Colors.orange; + return Colors.red; + } + + static Color _getSarMarkerColor(SarMarkerType type) { + switch (type) { + case SarMarkerType.foundPerson: + return Colors.green; + case SarMarkerType.fire: + return Colors.red; + case SarMarkerType.stagingArea: + return Colors.orange; + case SarMarkerType.unknown: + return Colors.grey; + } + } +} + +class _InfoRow extends StatelessWidget { + final String label; + final String value; + + const _InfoRow(this.label, this.value); + + @override + Widget build(BuildContext context) { + return Padding( + padding: const EdgeInsets.symmetric(vertical: 4), + child: Row( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + SizedBox( + width: 90, + child: Text( + '$label:', + style: const TextStyle(fontWeight: FontWeight.w600), + ), + ), + Expanded( + child: Text(value), + ), + ], + ), + ); + } +} diff --git a/linux/.gitignore b/linux/.gitignore new file mode 100644 index 0000000..d3896c9 --- /dev/null +++ b/linux/.gitignore @@ -0,0 +1 @@ +flutter/ephemeral diff --git a/linux/CMakeLists.txt b/linux/CMakeLists.txt new file mode 100644 index 0000000..39e342b --- /dev/null +++ b/linux/CMakeLists.txt @@ -0,0 +1,128 @@ +# Project-level configuration. +cmake_minimum_required(VERSION 3.13) +project(runner LANGUAGES CXX) + +# The name of the executable created for the application. Change this to change +# the on-disk name of your application. +set(BINARY_NAME "meshcore_sar_app") +# The unique GTK application identifier for this application. See: +# https://wiki.gnome.org/HowDoI/ChooseApplicationID +set(APPLICATION_ID "com.meshcore.sar.meshcore_sar_app") + +# Explicitly opt in to modern CMake behaviors to avoid warnings with recent +# versions of CMake. +cmake_policy(SET CMP0063 NEW) + +# Load bundled libraries from the lib/ directory relative to the binary. +set(CMAKE_INSTALL_RPATH "$ORIGIN/lib") + +# Root filesystem for cross-building. +if(FLUTTER_TARGET_PLATFORM_SYSROOT) + set(CMAKE_SYSROOT ${FLUTTER_TARGET_PLATFORM_SYSROOT}) + set(CMAKE_FIND_ROOT_PATH ${CMAKE_SYSROOT}) + set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) + set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY) + set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) + set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) +endif() + +# Define build configuration options. +if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) + set(CMAKE_BUILD_TYPE "Debug" CACHE + STRING "Flutter build mode" FORCE) + set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS + "Debug" "Profile" "Release") +endif() + +# Compilation settings that should be applied to most targets. +# +# Be cautious about adding new options here, as plugins use this function by +# default. In most cases, you should add new options to specific targets instead +# of modifying this function. +function(APPLY_STANDARD_SETTINGS TARGET) + target_compile_features(${TARGET} PUBLIC cxx_std_14) + target_compile_options(${TARGET} PRIVATE -Wall -Werror) + target_compile_options(${TARGET} PRIVATE "$<$>:-O3>") + target_compile_definitions(${TARGET} PRIVATE "$<$>:NDEBUG>") +endfunction() + +# Flutter library and tool build rules. +set(FLUTTER_MANAGED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/flutter") +add_subdirectory(${FLUTTER_MANAGED_DIR}) + +# System-level dependencies. +find_package(PkgConfig REQUIRED) +pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0) + +# Application build; see runner/CMakeLists.txt. +add_subdirectory("runner") + +# Run the Flutter tool portions of the build. This must not be removed. +add_dependencies(${BINARY_NAME} flutter_assemble) + +# Only the install-generated bundle's copy of the executable will launch +# correctly, since the resources must in the right relative locations. To avoid +# people trying to run the unbundled copy, put it in a subdirectory instead of +# the default top-level location. +set_target_properties(${BINARY_NAME} + PROPERTIES + RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/intermediates_do_not_run" +) + + +# Generated plugin build rules, which manage building the plugins and adding +# them to the application. +include(flutter/generated_plugins.cmake) + + +# === Installation === +# By default, "installing" just makes a relocatable bundle in the build +# directory. +set(BUILD_BUNDLE_DIR "${PROJECT_BINARY_DIR}/bundle") +if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) + set(CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR}" CACHE PATH "..." FORCE) +endif() + +# Start with a clean build bundle directory every time. +install(CODE " + file(REMOVE_RECURSE \"${BUILD_BUNDLE_DIR}/\") + " COMPONENT Runtime) + +set(INSTALL_BUNDLE_DATA_DIR "${CMAKE_INSTALL_PREFIX}/data") +set(INSTALL_BUNDLE_LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib") + +install(TARGETS ${BINARY_NAME} RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}" + COMPONENT Runtime) + +install(FILES "${FLUTTER_ICU_DATA_FILE}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" + COMPONENT Runtime) + +install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" + COMPONENT Runtime) + +foreach(bundled_library ${PLUGIN_BUNDLED_LIBRARIES}) + install(FILES "${bundled_library}" + DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" + COMPONENT Runtime) +endforeach(bundled_library) + +# Copy the native assets provided by the build.dart from all packages. +set(NATIVE_ASSETS_DIR "${PROJECT_BUILD_DIR}native_assets/linux/") +install(DIRECTORY "${NATIVE_ASSETS_DIR}" + DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" + COMPONENT Runtime) + +# Fully re-copy the assets directory on each build to avoid having stale files +# from a previous install. +set(FLUTTER_ASSET_DIR_NAME "flutter_assets") +install(CODE " + file(REMOVE_RECURSE \"${INSTALL_BUNDLE_DATA_DIR}/${FLUTTER_ASSET_DIR_NAME}\") + " COMPONENT Runtime) +install(DIRECTORY "${PROJECT_BUILD_DIR}/${FLUTTER_ASSET_DIR_NAME}" + DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" COMPONENT Runtime) + +# Install the AOT library on non-Debug builds only. +if(NOT CMAKE_BUILD_TYPE MATCHES "Debug") + install(FILES "${AOT_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" + COMPONENT Runtime) +endif() diff --git a/linux/flutter/CMakeLists.txt b/linux/flutter/CMakeLists.txt new file mode 100644 index 0000000..d5bd016 --- /dev/null +++ b/linux/flutter/CMakeLists.txt @@ -0,0 +1,88 @@ +# This file controls Flutter-level build steps. It should not be edited. +cmake_minimum_required(VERSION 3.10) + +set(EPHEMERAL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ephemeral") + +# Configuration provided via flutter tool. +include(${EPHEMERAL_DIR}/generated_config.cmake) + +# TODO: Move the rest of this into files in ephemeral. See +# https://github.com/flutter/flutter/issues/57146. + +# Serves the same purpose as list(TRANSFORM ... PREPEND ...), +# which isn't available in 3.10. +function(list_prepend LIST_NAME PREFIX) + set(NEW_LIST "") + foreach(element ${${LIST_NAME}}) + list(APPEND NEW_LIST "${PREFIX}${element}") + endforeach(element) + set(${LIST_NAME} "${NEW_LIST}" PARENT_SCOPE) +endfunction() + +# === Flutter Library === +# System-level dependencies. +find_package(PkgConfig REQUIRED) +pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0) +pkg_check_modules(GLIB REQUIRED IMPORTED_TARGET glib-2.0) +pkg_check_modules(GIO REQUIRED IMPORTED_TARGET gio-2.0) + +set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/libflutter_linux_gtk.so") + +# Published to parent scope for install step. +set(FLUTTER_LIBRARY ${FLUTTER_LIBRARY} PARENT_SCOPE) +set(FLUTTER_ICU_DATA_FILE "${EPHEMERAL_DIR}/icudtl.dat" PARENT_SCOPE) +set(PROJECT_BUILD_DIR "${PROJECT_DIR}/build/" PARENT_SCOPE) +set(AOT_LIBRARY "${PROJECT_DIR}/build/lib/libapp.so" PARENT_SCOPE) + +list(APPEND FLUTTER_LIBRARY_HEADERS + "fl_basic_message_channel.h" + "fl_binary_codec.h" + "fl_binary_messenger.h" + "fl_dart_project.h" + "fl_engine.h" + "fl_json_message_codec.h" + "fl_json_method_codec.h" + "fl_message_codec.h" + "fl_method_call.h" + "fl_method_channel.h" + "fl_method_codec.h" + "fl_method_response.h" + "fl_plugin_registrar.h" + "fl_plugin_registry.h" + "fl_standard_message_codec.h" + "fl_standard_method_codec.h" + "fl_string_codec.h" + "fl_value.h" + "fl_view.h" + "flutter_linux.h" +) +list_prepend(FLUTTER_LIBRARY_HEADERS "${EPHEMERAL_DIR}/flutter_linux/") +add_library(flutter INTERFACE) +target_include_directories(flutter INTERFACE + "${EPHEMERAL_DIR}" +) +target_link_libraries(flutter INTERFACE "${FLUTTER_LIBRARY}") +target_link_libraries(flutter INTERFACE + PkgConfig::GTK + PkgConfig::GLIB + PkgConfig::GIO +) +add_dependencies(flutter flutter_assemble) + +# === Flutter tool backend === +# _phony_ is a non-existent file to force this command to run every time, +# since currently there's no way to get a full input/output list from the +# flutter tool. +add_custom_command( + OUTPUT ${FLUTTER_LIBRARY} ${FLUTTER_LIBRARY_HEADERS} + ${CMAKE_CURRENT_BINARY_DIR}/_phony_ + COMMAND ${CMAKE_COMMAND} -E env + ${FLUTTER_TOOL_ENVIRONMENT} + "${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.sh" + ${FLUTTER_TARGET_PLATFORM} ${CMAKE_BUILD_TYPE} + VERBATIM +) +add_custom_target(flutter_assemble DEPENDS + "${FLUTTER_LIBRARY}" + ${FLUTTER_LIBRARY_HEADERS} +) diff --git a/linux/flutter/generated_plugin_registrant.cc b/linux/flutter/generated_plugin_registrant.cc new file mode 100644 index 0000000..72830e3 --- /dev/null +++ b/linux/flutter/generated_plugin_registrant.cc @@ -0,0 +1,19 @@ +// +// Generated file. Do not edit. +// + +// clang-format off + +#include "generated_plugin_registrant.h" + +#include +#include + +void fl_register_plugins(FlPluginRegistry* registry) { + g_autoptr(FlPluginRegistrar) objectbox_flutter_libs_registrar = + fl_plugin_registry_get_registrar_for_plugin(registry, "ObjectboxFlutterLibsPlugin"); + objectbox_flutter_libs_plugin_register_with_registrar(objectbox_flutter_libs_registrar); + g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar = + fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin"); + url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar); +} diff --git a/linux/flutter/generated_plugin_registrant.h b/linux/flutter/generated_plugin_registrant.h new file mode 100644 index 0000000..e0f0a47 --- /dev/null +++ b/linux/flutter/generated_plugin_registrant.h @@ -0,0 +1,15 @@ +// +// Generated file. Do not edit. +// + +// clang-format off + +#ifndef GENERATED_PLUGIN_REGISTRANT_ +#define GENERATED_PLUGIN_REGISTRANT_ + +#include + +// Registers Flutter plugins. +void fl_register_plugins(FlPluginRegistry* registry); + +#endif // GENERATED_PLUGIN_REGISTRANT_ diff --git a/linux/flutter/generated_plugins.cmake b/linux/flutter/generated_plugins.cmake new file mode 100644 index 0000000..f869d60 --- /dev/null +++ b/linux/flutter/generated_plugins.cmake @@ -0,0 +1,25 @@ +# +# Generated file, do not edit. +# + +list(APPEND FLUTTER_PLUGIN_LIST + objectbox_flutter_libs + url_launcher_linux +) + +list(APPEND FLUTTER_FFI_PLUGIN_LIST +) + +set(PLUGIN_BUNDLED_LIBRARIES) + +foreach(plugin ${FLUTTER_PLUGIN_LIST}) + add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin}) + target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) + list(APPEND PLUGIN_BUNDLED_LIBRARIES $) + list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) +endforeach(plugin) + +foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST}) + add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin}) + list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries}) +endforeach(ffi_plugin) diff --git a/linux/runner/CMakeLists.txt b/linux/runner/CMakeLists.txt new file mode 100644 index 0000000..e97dabc --- /dev/null +++ b/linux/runner/CMakeLists.txt @@ -0,0 +1,26 @@ +cmake_minimum_required(VERSION 3.13) +project(runner LANGUAGES CXX) + +# Define the application target. To change its name, change BINARY_NAME in the +# top-level CMakeLists.txt, not the value here, or `flutter run` will no longer +# work. +# +# Any new source files that you add to the application should be added here. +add_executable(${BINARY_NAME} + "main.cc" + "my_application.cc" + "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc" +) + +# Apply the standard set of build settings. This can be removed for applications +# that need different build settings. +apply_standard_settings(${BINARY_NAME}) + +# Add preprocessor definitions for the application ID. +add_definitions(-DAPPLICATION_ID="${APPLICATION_ID}") + +# Add dependency libraries. Add any application-specific dependencies here. +target_link_libraries(${BINARY_NAME} PRIVATE flutter) +target_link_libraries(${BINARY_NAME} PRIVATE PkgConfig::GTK) + +target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}") diff --git a/linux/runner/main.cc b/linux/runner/main.cc new file mode 100644 index 0000000..e7c5c54 --- /dev/null +++ b/linux/runner/main.cc @@ -0,0 +1,6 @@ +#include "my_application.h" + +int main(int argc, char** argv) { + g_autoptr(MyApplication) app = my_application_new(); + return g_application_run(G_APPLICATION(app), argc, argv); +} diff --git a/linux/runner/my_application.cc b/linux/runner/my_application.cc new file mode 100644 index 0000000..03fdf78 --- /dev/null +++ b/linux/runner/my_application.cc @@ -0,0 +1,144 @@ +#include "my_application.h" + +#include +#ifdef GDK_WINDOWING_X11 +#include +#endif + +#include "flutter/generated_plugin_registrant.h" + +struct _MyApplication { + GtkApplication parent_instance; + char** dart_entrypoint_arguments; +}; + +G_DEFINE_TYPE(MyApplication, my_application, GTK_TYPE_APPLICATION) + +// Called when first Flutter frame received. +static void first_frame_cb(MyApplication* self, FlView *view) +{ + gtk_widget_show(gtk_widget_get_toplevel(GTK_WIDGET(view))); +} + +// Implements GApplication::activate. +static void my_application_activate(GApplication* application) { + MyApplication* self = MY_APPLICATION(application); + GtkWindow* window = + GTK_WINDOW(gtk_application_window_new(GTK_APPLICATION(application))); + + // Use a header bar when running in GNOME as this is the common style used + // by applications and is the setup most users will be using (e.g. Ubuntu + // desktop). + // If running on X and not using GNOME then just use a traditional title bar + // in case the window manager does more exotic layout, e.g. tiling. + // If running on Wayland assume the header bar will work (may need changing + // if future cases occur). + gboolean use_header_bar = TRUE; +#ifdef GDK_WINDOWING_X11 + GdkScreen* screen = gtk_window_get_screen(window); + if (GDK_IS_X11_SCREEN(screen)) { + const gchar* wm_name = gdk_x11_screen_get_window_manager_name(screen); + if (g_strcmp0(wm_name, "GNOME Shell") != 0) { + use_header_bar = FALSE; + } + } +#endif + if (use_header_bar) { + GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new()); + gtk_widget_show(GTK_WIDGET(header_bar)); + gtk_header_bar_set_title(header_bar, "meshcore_sar_app"); + gtk_header_bar_set_show_close_button(header_bar, TRUE); + gtk_window_set_titlebar(window, GTK_WIDGET(header_bar)); + } else { + gtk_window_set_title(window, "meshcore_sar_app"); + } + + gtk_window_set_default_size(window, 1280, 720); + + g_autoptr(FlDartProject) project = fl_dart_project_new(); + fl_dart_project_set_dart_entrypoint_arguments(project, self->dart_entrypoint_arguments); + + FlView* view = fl_view_new(project); + GdkRGBA background_color; + // Background defaults to black, override it here if necessary, e.g. #00000000 for transparent. + gdk_rgba_parse(&background_color, "#000000"); + fl_view_set_background_color(view, &background_color); + gtk_widget_show(GTK_WIDGET(view)); + gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(view)); + + // Show the window when Flutter renders. + // Requires the view to be realized so we can start rendering. + g_signal_connect_swapped(view, "first-frame", G_CALLBACK(first_frame_cb), self); + gtk_widget_realize(GTK_WIDGET(view)); + + fl_register_plugins(FL_PLUGIN_REGISTRY(view)); + + gtk_widget_grab_focus(GTK_WIDGET(view)); +} + +// Implements GApplication::local_command_line. +static gboolean my_application_local_command_line(GApplication* application, gchar*** arguments, int* exit_status) { + MyApplication* self = MY_APPLICATION(application); + // Strip out the first argument as it is the binary name. + self->dart_entrypoint_arguments = g_strdupv(*arguments + 1); + + g_autoptr(GError) error = nullptr; + if (!g_application_register(application, nullptr, &error)) { + g_warning("Failed to register: %s", error->message); + *exit_status = 1; + return TRUE; + } + + g_application_activate(application); + *exit_status = 0; + + return TRUE; +} + +// Implements GApplication::startup. +static void my_application_startup(GApplication* application) { + //MyApplication* self = MY_APPLICATION(object); + + // Perform any actions required at application startup. + + G_APPLICATION_CLASS(my_application_parent_class)->startup(application); +} + +// Implements GApplication::shutdown. +static void my_application_shutdown(GApplication* application) { + //MyApplication* self = MY_APPLICATION(object); + + // Perform any actions required at application shutdown. + + G_APPLICATION_CLASS(my_application_parent_class)->shutdown(application); +} + +// Implements GObject::dispose. +static void my_application_dispose(GObject* object) { + MyApplication* self = MY_APPLICATION(object); + g_clear_pointer(&self->dart_entrypoint_arguments, g_strfreev); + G_OBJECT_CLASS(my_application_parent_class)->dispose(object); +} + +static void my_application_class_init(MyApplicationClass* klass) { + G_APPLICATION_CLASS(klass)->activate = my_application_activate; + G_APPLICATION_CLASS(klass)->local_command_line = my_application_local_command_line; + G_APPLICATION_CLASS(klass)->startup = my_application_startup; + G_APPLICATION_CLASS(klass)->shutdown = my_application_shutdown; + G_OBJECT_CLASS(klass)->dispose = my_application_dispose; +} + +static void my_application_init(MyApplication* self) {} + +MyApplication* my_application_new() { + // Set the program name to the application ID, which helps various systems + // like GTK and desktop environments map this running application to its + // corresponding .desktop file. This ensures better integration by allowing + // the application to be recognized beyond its binary name. + g_set_prgname(APPLICATION_ID); + + return MY_APPLICATION(g_object_new(my_application_get_type(), + "application-id", APPLICATION_ID, + "flags", G_APPLICATION_NON_UNIQUE, + nullptr)); +} diff --git a/linux/runner/my_application.h b/linux/runner/my_application.h new file mode 100644 index 0000000..72271d5 --- /dev/null +++ b/linux/runner/my_application.h @@ -0,0 +1,18 @@ +#ifndef FLUTTER_MY_APPLICATION_H_ +#define FLUTTER_MY_APPLICATION_H_ + +#include + +G_DECLARE_FINAL_TYPE(MyApplication, my_application, MY, APPLICATION, + GtkApplication) + +/** + * my_application_new: + * + * Creates a new Flutter-based application. + * + * Returns: a new #MyApplication. + */ +MyApplication* my_application_new(); + +#endif // FLUTTER_MY_APPLICATION_H_ diff --git a/macos/.gitignore b/macos/.gitignore new file mode 100644 index 0000000..746adbb --- /dev/null +++ b/macos/.gitignore @@ -0,0 +1,7 @@ +# Flutter-related +**/Flutter/ephemeral/ +**/Pods/ + +# Xcode-related +**/dgph +**/xcuserdata/ diff --git a/macos/Flutter/Flutter-Debug.xcconfig b/macos/Flutter/Flutter-Debug.xcconfig new file mode 100644 index 0000000..4b81f9b --- /dev/null +++ b/macos/Flutter/Flutter-Debug.xcconfig @@ -0,0 +1,2 @@ +#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" +#include "ephemeral/Flutter-Generated.xcconfig" diff --git a/macos/Flutter/Flutter-Release.xcconfig b/macos/Flutter/Flutter-Release.xcconfig new file mode 100644 index 0000000..5caa9d1 --- /dev/null +++ b/macos/Flutter/Flutter-Release.xcconfig @@ -0,0 +1,2 @@ +#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" +#include "ephemeral/Flutter-Generated.xcconfig" diff --git a/macos/Flutter/GeneratedPluginRegistrant.swift b/macos/Flutter/GeneratedPluginRegistrant.swift new file mode 100644 index 0000000..2229ad5 --- /dev/null +++ b/macos/Flutter/GeneratedPluginRegistrant.swift @@ -0,0 +1,24 @@ +// +// Generated file. Do not edit. +// + +import FlutterMacOS +import Foundation + +import file_picker +import flutter_blue_plus_darwin +import geolocator_apple +import objectbox_flutter_libs +import package_info_plus +import path_provider_foundation +import share_plus + +func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { + FilePickerPlugin.register(with: registry.registrar(forPlugin: "FilePickerPlugin")) + FlutterBluePlusPlugin.register(with: registry.registrar(forPlugin: "FlutterBluePlusPlugin")) + GeolocatorPlugin.register(with: registry.registrar(forPlugin: "GeolocatorPlugin")) + ObjectboxFlutterLibsPlugin.register(with: registry.registrar(forPlugin: "ObjectboxFlutterLibsPlugin")) + FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin")) + PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) + SharePlusMacosPlugin.register(with: registry.registrar(forPlugin: "SharePlusMacosPlugin")) +} diff --git a/macos/Podfile b/macos/Podfile new file mode 100644 index 0000000..ff5ddb3 --- /dev/null +++ b/macos/Podfile @@ -0,0 +1,42 @@ +platform :osx, '10.15' + +# 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', 'ephemeral', '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 Flutter-Generated.xcconfig, then run \"flutter pub get\"" +end + +require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) + +flutter_macos_podfile_setup + +target 'Runner' do + use_frameworks! + + flutter_install_all_macos_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_macos_build_settings(target) + end +end diff --git a/macos/Podfile.lock b/macos/Podfile.lock new file mode 100644 index 0000000..e8d6057 --- /dev/null +++ b/macos/Podfile.lock @@ -0,0 +1,43 @@ +PODS: + - flutter_blue_plus_darwin (0.0.2): + - Flutter + - FlutterMacOS + - FlutterMacOS (1.0.0) + - ObjectBox (1.9.2) + - objectbox_flutter_libs (0.0.1): + - FlutterMacOS + - ObjectBox (= 1.9.2) + - path_provider_foundation (0.0.1): + - Flutter + - FlutterMacOS + +DEPENDENCIES: + - flutter_blue_plus_darwin (from `Flutter/ephemeral/.symlinks/plugins/flutter_blue_plus_darwin/darwin`) + - FlutterMacOS (from `Flutter/ephemeral`) + - objectbox_flutter_libs (from `Flutter/ephemeral/.symlinks/plugins/objectbox_flutter_libs/macos`) + - path_provider_foundation (from `Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/darwin`) + +SPEC REPOS: + trunk: + - ObjectBox + +EXTERNAL SOURCES: + flutter_blue_plus_darwin: + :path: Flutter/ephemeral/.symlinks/plugins/flutter_blue_plus_darwin/darwin + FlutterMacOS: + :path: Flutter/ephemeral + objectbox_flutter_libs: + :path: Flutter/ephemeral/.symlinks/plugins/objectbox_flutter_libs/macos + path_provider_foundation: + :path: Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/darwin + +SPEC CHECKSUMS: + flutter_blue_plus_darwin: 20a08bfeaa0f7804d524858d3d8744bcc1b6dbc3 + FlutterMacOS: d0db08ddef1a9af05a5ec4b724367152bb0500b1 + ObjectBox: 46757a559717ab49b1cc0612eaff82b705acf394 + objectbox_flutter_libs: ac606b51011c9ea99c0574bf2db0d27b053c750a + path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564 + +PODFILE CHECKSUM: 54d867c82ac51cbd61b565781b9fada492027009 + +COCOAPODS: 1.16.2 diff --git a/macos/Runner.xcodeproj/project.pbxproj b/macos/Runner.xcodeproj/project.pbxproj new file mode 100644 index 0000000..3c4fb9d --- /dev/null +++ b/macos/Runner.xcodeproj/project.pbxproj @@ -0,0 +1,801 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 54; + objects = { + +/* Begin PBXAggregateTarget section */ + 33CC111A2044C6BA0003C045 /* Flutter Assemble */ = { + isa = PBXAggregateTarget; + buildConfigurationList = 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */; + buildPhases = ( + 33CC111E2044C6BF0003C045 /* ShellScript */, + ); + dependencies = ( + ); + name = "Flutter Assemble"; + productName = FLX; + }; +/* End PBXAggregateTarget section */ + +/* Begin PBXBuildFile section */ + 09E5DABA102F8AD2295B6B87 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B449C50DF80550300A0F1C2A /* Pods_Runner.framework */; }; + 331C80D8294CF71000263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C80D7294CF71000263BE5 /* RunnerTests.swift */; }; + 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */ = {isa = PBXBuildFile; fileRef = 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */; }; + 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC10F02044A3C60003C045 /* AppDelegate.swift */; }; + 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F22044A3C60003C045 /* Assets.xcassets */; }; + 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F42044A3C60003C045 /* MainMenu.xib */; }; + 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */; }; + 4A5D7482F155C540479C76F2 /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BCBFC933F46E9E29C5577CFC /* Pods_RunnerTests.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 331C80D9294CF71000263BE5 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 33CC10E52044A3C60003C045 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 33CC10EC2044A3C60003C045; + remoteInfo = Runner; + }; + 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 33CC10E52044A3C60003C045 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 33CC111A2044C6BA0003C045; + remoteInfo = FLX; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 33CC110E2044A8840003C045 /* Bundle Framework */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + ); + name = "Bundle Framework"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 096B1302757D590E4BF83E0D /* 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 = ""; }; + 331C80D5294CF71000263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 331C80D7294CF71000263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; + 333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = ""; }; + 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = ""; }; + 33CC10ED2044A3C60003C045 /* meshcore_sar_app.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = meshcore_sar_app.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = ""; }; + 33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; }; + 33CC10F72044A3C60003C045 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = Runner/Info.plist; sourceTree = ""; }; + 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainFlutterWindow.swift; sourceTree = ""; }; + 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Debug.xcconfig"; sourceTree = ""; }; + 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Release.xcconfig"; sourceTree = ""; }; + 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Flutter-Generated.xcconfig"; path = "ephemeral/Flutter-Generated.xcconfig"; sourceTree = ""; }; + 33E51913231747F40026EE4D /* DebugProfile.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DebugProfile.entitlements; sourceTree = ""; }; + 33E51914231749380026EE4D /* Release.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Release.entitlements; sourceTree = ""; }; + 33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = ""; }; + 5F9D5FC9EA4E03926DC3BEF2 /* 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 = ""; }; + 68CB6C3901D198D7C51566FB /* 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 = ""; }; + 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = ""; }; + 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = ""; }; + A704F90920C5A0BF5D577939 /* 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 = ""; }; + B449C50DF80550300A0F1C2A /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + BCBFC933F46E9E29C5577CFC /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + E86FAC00D343DCCD63721E5B /* 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 = ""; }; + F068CA952F0B0BE6C3C93AE0 /* 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 = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 331C80D2294CF70F00263BE5 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 4A5D7482F155C540479C76F2 /* Pods_RunnerTests.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 33CC10EA2044A3C60003C045 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 09E5DABA102F8AD2295B6B87 /* Pods_Runner.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 331C80D6294CF71000263BE5 /* RunnerTests */ = { + isa = PBXGroup; + children = ( + 331C80D7294CF71000263BE5 /* RunnerTests.swift */, + ); + path = RunnerTests; + sourceTree = ""; + }; + 33BA886A226E78AF003329D5 /* Configs */ = { + isa = PBXGroup; + children = ( + 33E5194F232828860026EE4D /* AppInfo.xcconfig */, + 9740EEB21CF90195004384FC /* Debug.xcconfig */, + 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, + 333000ED22D3DE5D00554162 /* Warnings.xcconfig */, + ); + path = Configs; + sourceTree = ""; + }; + 33CC10E42044A3C60003C045 = { + isa = PBXGroup; + children = ( + 33FAB671232836740065AC1E /* Runner */, + 33CEB47122A05771004F2AC0 /* Flutter */, + 331C80D6294CF71000263BE5 /* RunnerTests */, + 33CC10EE2044A3C60003C045 /* Products */, + D73912EC22F37F3D000D13A0 /* Frameworks */, + 549922C5B8DA00870316F4F5 /* Pods */, + ); + sourceTree = ""; + }; + 33CC10EE2044A3C60003C045 /* Products */ = { + isa = PBXGroup; + children = ( + 33CC10ED2044A3C60003C045 /* meshcore_sar_app.app */, + 331C80D5294CF71000263BE5 /* RunnerTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 33CC11242044D66E0003C045 /* Resources */ = { + isa = PBXGroup; + children = ( + 33CC10F22044A3C60003C045 /* Assets.xcassets */, + 33CC10F42044A3C60003C045 /* MainMenu.xib */, + 33CC10F72044A3C60003C045 /* Info.plist */, + ); + name = Resources; + path = ..; + sourceTree = ""; + }; + 33CEB47122A05771004F2AC0 /* Flutter */ = { + isa = PBXGroup; + children = ( + 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */, + 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */, + 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */, + 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */, + ); + path = Flutter; + sourceTree = ""; + }; + 33FAB671232836740065AC1E /* Runner */ = { + isa = PBXGroup; + children = ( + 33CC10F02044A3C60003C045 /* AppDelegate.swift */, + 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */, + 33E51913231747F40026EE4D /* DebugProfile.entitlements */, + 33E51914231749380026EE4D /* Release.entitlements */, + 33CC11242044D66E0003C045 /* Resources */, + 33BA886A226E78AF003329D5 /* Configs */, + ); + path = Runner; + sourceTree = ""; + }; + 549922C5B8DA00870316F4F5 /* Pods */ = { + isa = PBXGroup; + children = ( + 5F9D5FC9EA4E03926DC3BEF2 /* Pods-Runner.debug.xcconfig */, + 68CB6C3901D198D7C51566FB /* Pods-Runner.release.xcconfig */, + E86FAC00D343DCCD63721E5B /* Pods-Runner.profile.xcconfig */, + A704F90920C5A0BF5D577939 /* Pods-RunnerTests.debug.xcconfig */, + F068CA952F0B0BE6C3C93AE0 /* Pods-RunnerTests.release.xcconfig */, + 096B1302757D590E4BF83E0D /* Pods-RunnerTests.profile.xcconfig */, + ); + name = Pods; + path = Pods; + sourceTree = ""; + }; + D73912EC22F37F3D000D13A0 /* Frameworks */ = { + isa = PBXGroup; + children = ( + B449C50DF80550300A0F1C2A /* Pods_Runner.framework */, + BCBFC933F46E9E29C5577CFC /* Pods_RunnerTests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 331C80D4294CF70F00263BE5 /* RunnerTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 331C80DE294CF71000263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; + buildPhases = ( + EA928AFECF4F9C29A7941E02 /* [CP] Check Pods Manifest.lock */, + 331C80D1294CF70F00263BE5 /* Sources */, + 331C80D2294CF70F00263BE5 /* Frameworks */, + 331C80D3294CF70F00263BE5 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 331C80DA294CF71000263BE5 /* PBXTargetDependency */, + ); + name = RunnerTests; + productName = RunnerTests; + productReference = 331C80D5294CF71000263BE5 /* RunnerTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 33CC10EC2044A3C60003C045 /* Runner */ = { + isa = PBXNativeTarget; + buildConfigurationList = 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */; + buildPhases = ( + 5D9F2A9B30E86565A6C8C936 /* [CP] Check Pods Manifest.lock */, + 33CC10E92044A3C60003C045 /* Sources */, + 33CC10EA2044A3C60003C045 /* Frameworks */, + 33CC10EB2044A3C60003C045 /* Resources */, + 33CC110E2044A8840003C045 /* Bundle Framework */, + 3399D490228B24CF009A79C7 /* ShellScript */, + F431961E17B2B421AFCC65A7 /* [CP] Embed Pods Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 33CC11202044C79F0003C045 /* PBXTargetDependency */, + ); + name = Runner; + productName = Runner; + productReference = 33CC10ED2044A3C60003C045 /* meshcore_sar_app.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 33CC10E52044A3C60003C045 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = YES; + LastSwiftUpdateCheck = 0920; + LastUpgradeCheck = 1510; + ORGANIZATIONNAME = ""; + TargetAttributes = { + 331C80D4294CF70F00263BE5 = { + CreatedOnToolsVersion = 14.0; + TestTargetID = 33CC10EC2044A3C60003C045; + }; + 33CC10EC2044A3C60003C045 = { + CreatedOnToolsVersion = 9.2; + LastSwiftMigration = 1100; + ProvisioningStyle = Automatic; + SystemCapabilities = { + com.apple.Sandbox = { + enabled = 1; + }; + }; + }; + 33CC111A2044C6BA0003C045 = { + CreatedOnToolsVersion = 9.2; + ProvisioningStyle = Manual; + }; + }; + }; + buildConfigurationList = 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 33CC10E42044A3C60003C045; + productRefGroup = 33CC10EE2044A3C60003C045 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 33CC10EC2044A3C60003C045 /* Runner */, + 331C80D4294CF70F00263BE5 /* RunnerTests */, + 33CC111A2044C6BA0003C045 /* Flutter Assemble */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 331C80D3294CF70F00263BE5 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 33CC10EB2044A3C60003C045 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */, + 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 3399D490228B24CF009A79C7 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + ); + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "echo \"$PRODUCT_NAME.app\" > \"$PROJECT_DIR\"/Flutter/ephemeral/.app_filename && \"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh embed\n"; + }; + 33CC111E2044C6BF0003C045 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + Flutter/ephemeral/FlutterInputs.xcfilelist, + ); + inputPaths = ( + Flutter/ephemeral/tripwire, + ); + outputFileListPaths = ( + Flutter/ephemeral/FlutterOutputs.xcfilelist, + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh && touch Flutter/ephemeral/tripwire"; + }; + 5D9F2A9B30E86565A6C8C936 /* [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; + }; + EA928AFECF4F9C29A7941E02 /* [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; + }; + F431961E17B2B421AFCC65A7 /* [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; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 331C80D1294CF70F00263BE5 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 331C80D8294CF71000263BE5 /* RunnerTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 33CC10E92044A3C60003C045 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */, + 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */, + 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 331C80DA294CF71000263BE5 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 33CC10EC2044A3C60003C045 /* Runner */; + targetProxy = 331C80D9294CF71000263BE5 /* PBXContainerItemProxy */; + }; + 33CC11202044C79F0003C045 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 33CC111A2044C6BA0003C045 /* Flutter Assemble */; + targetProxy = 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 33CC10F42044A3C60003C045 /* MainMenu.xib */ = { + isa = PBXVariantGroup; + children = ( + 33CC10F52044A3C60003C045 /* Base */, + ); + name = MainMenu.xib; + path = Runner; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 331C80DB294CF71000263BE5 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = A704F90920C5A0BF5D577939 /* Pods-RunnerTests.debug.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.meshcore.sar.meshcoreSarApp.RunnerTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/meshcore_sar_app.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/meshcore_sar_app"; + }; + name = Debug; + }; + 331C80DC294CF71000263BE5 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = F068CA952F0B0BE6C3C93AE0 /* Pods-RunnerTests.release.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.meshcore.sar.meshcoreSarApp.RunnerTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/meshcore_sar_app.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/meshcore_sar_app"; + }; + name = Release; + }; + 331C80DD294CF71000263BE5 /* Profile */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 096B1302757D590E4BF83E0D /* Pods-RunnerTests.profile.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.meshcore.sar.meshcoreSarApp.RunnerTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/meshcore_sar_app.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/meshcore_sar_app"; + }; + name = Profile; + }; + 338D0CE9231458BD00FA5F75 /* Profile */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + 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_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + 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_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CODE_SIGN_IDENTITY = "-"; + COPY_PHASE_STRIP = NO; + DEAD_CODE_STRIPPING = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.15; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = macosx; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + }; + name = Profile; + }; + 338D0CEA231458BD00FA5F75 /* Profile */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = Runner/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + PROVISIONING_PROFILE_SPECIFIER = ""; + SWIFT_VERSION = 5.0; + }; + name = Profile; + }; + 338D0CEB231458BD00FA5F75 /* Profile */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Manual; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Profile; + }; + 33CC10F92044A3C60003C045 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + 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_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + 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_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CODE_SIGN_IDENTITY = "-"; + COPY_PHASE_STRIP = NO; + DEAD_CODE_STRIPPING = YES; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + GCC_C_LANGUAGE_STANDARD = gnu11; + 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_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.15; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 33CC10FA2044A3C60003C045 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + 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_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + 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_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CODE_SIGN_IDENTITY = "-"; + COPY_PHASE_STRIP = NO; + DEAD_CODE_STRIPPING = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.15; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = macosx; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + }; + name = Release; + }; + 33CC10FC2044A3C60003C045 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = Runner/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + PROVISIONING_PROFILE_SPECIFIER = ""; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + }; + name = Debug; + }; + 33CC10FD2044A3C60003C045 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = Runner/Release.entitlements; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = Runner/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + PROVISIONING_PROFILE_SPECIFIER = ""; + SWIFT_VERSION = 5.0; + }; + name = Release; + }; + 33CC111C2044C6BA0003C045 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Manual; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 33CC111D2044C6BA0003C045 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 331C80DE294CF71000263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 331C80DB294CF71000263BE5 /* Debug */, + 331C80DC294CF71000263BE5 /* Release */, + 331C80DD294CF71000263BE5 /* Profile */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 33CC10F92044A3C60003C045 /* Debug */, + 33CC10FA2044A3C60003C045 /* Release */, + 338D0CE9231458BD00FA5F75 /* Profile */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 33CC10FC2044A3C60003C045 /* Debug */, + 33CC10FD2044A3C60003C045 /* Release */, + 338D0CEA231458BD00FA5F75 /* Profile */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 33CC111C2044C6BA0003C045 /* Debug */, + 33CC111D2044C6BA0003C045 /* Release */, + 338D0CEB231458BD00FA5F75 /* Profile */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 33CC10E52044A3C60003C045 /* Project object */; +} diff --git a/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme new file mode 100644 index 0000000..a816a7f --- /dev/null +++ b/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/macos/Runner.xcworkspace/contents.xcworkspacedata b/macos/Runner.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..21a3cc1 --- /dev/null +++ b/macos/Runner.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/macos/Runner/AppDelegate.swift b/macos/Runner/AppDelegate.swift new file mode 100644 index 0000000..b3c1761 --- /dev/null +++ b/macos/Runner/AppDelegate.swift @@ -0,0 +1,13 @@ +import Cocoa +import FlutterMacOS + +@main +class AppDelegate: FlutterAppDelegate { + override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { + return true + } + + override func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool { + return true + } +} diff --git a/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..a2ec33f --- /dev/null +++ b/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,68 @@ +{ + "images" : [ + { + "size" : "16x16", + "idiom" : "mac", + "filename" : "app_icon_16.png", + "scale" : "1x" + }, + { + "size" : "16x16", + "idiom" : "mac", + "filename" : "app_icon_32.png", + "scale" : "2x" + }, + { + "size" : "32x32", + "idiom" : "mac", + "filename" : "app_icon_32.png", + "scale" : "1x" + }, + { + "size" : "32x32", + "idiom" : "mac", + "filename" : "app_icon_64.png", + "scale" : "2x" + }, + { + "size" : "128x128", + "idiom" : "mac", + "filename" : "app_icon_128.png", + "scale" : "1x" + }, + { + "size" : "128x128", + "idiom" : "mac", + "filename" : "app_icon_256.png", + "scale" : "2x" + }, + { + "size" : "256x256", + "idiom" : "mac", + "filename" : "app_icon_256.png", + "scale" : "1x" + }, + { + "size" : "256x256", + "idiom" : "mac", + "filename" : "app_icon_512.png", + "scale" : "2x" + }, + { + "size" : "512x512", + "idiom" : "mac", + "filename" : "app_icon_512.png", + "scale" : "1x" + }, + { + "size" : "512x512", + "idiom" : "mac", + "filename" : "app_icon_1024.png", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} diff --git a/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png b/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png new file mode 100644 index 0000000..82b6f9d Binary files /dev/null and b/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png differ diff --git a/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png b/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png new file mode 100644 index 0000000..13b35eb Binary files /dev/null and b/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png differ diff --git a/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png b/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png new file mode 100644 index 0000000..0a3f5fa Binary files /dev/null and b/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png differ diff --git a/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png b/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png new file mode 100644 index 0000000..bdb5722 Binary files /dev/null and b/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png differ diff --git a/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png b/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png new file mode 100644 index 0000000..f083318 Binary files /dev/null and b/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png differ diff --git a/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png b/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png new file mode 100644 index 0000000..326c0e7 Binary files /dev/null and b/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png differ diff --git a/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png b/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png new file mode 100644 index 0000000..2f1632c Binary files /dev/null and b/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png differ diff --git a/macos/Runner/Base.lproj/MainMenu.xib b/macos/Runner/Base.lproj/MainMenu.xib new file mode 100644 index 0000000..80e867a --- /dev/null +++ b/macos/Runner/Base.lproj/MainMenu.xib @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/macos/Runner/Configs/AppInfo.xcconfig b/macos/Runner/Configs/AppInfo.xcconfig new file mode 100644 index 0000000..05b1d07 --- /dev/null +++ b/macos/Runner/Configs/AppInfo.xcconfig @@ -0,0 +1,14 @@ +// Application-level settings for the Runner target. +// +// This may be replaced with something auto-generated from metadata (e.g., pubspec.yaml) in the +// future. If not, the values below would default to using the project name when this becomes a +// 'flutter create' template. + +// The application's name. By default this is also the title of the Flutter window. +PRODUCT_NAME = meshcore_sar_app + +// The application's bundle identifier +PRODUCT_BUNDLE_IDENTIFIER = com.meshcore.sar.meshcoreSarApp + +// The copyright displayed in application information +PRODUCT_COPYRIGHT = Copyright © 2025 com.meshcore.sar. All rights reserved. diff --git a/macos/Runner/Configs/Debug.xcconfig b/macos/Runner/Configs/Debug.xcconfig new file mode 100644 index 0000000..36b0fd9 --- /dev/null +++ b/macos/Runner/Configs/Debug.xcconfig @@ -0,0 +1,2 @@ +#include "../../Flutter/Flutter-Debug.xcconfig" +#include "Warnings.xcconfig" diff --git a/macos/Runner/Configs/Release.xcconfig b/macos/Runner/Configs/Release.xcconfig new file mode 100644 index 0000000..dff4f49 --- /dev/null +++ b/macos/Runner/Configs/Release.xcconfig @@ -0,0 +1,2 @@ +#include "../../Flutter/Flutter-Release.xcconfig" +#include "Warnings.xcconfig" diff --git a/macos/Runner/Configs/Warnings.xcconfig b/macos/Runner/Configs/Warnings.xcconfig new file mode 100644 index 0000000..42bcbf4 --- /dev/null +++ b/macos/Runner/Configs/Warnings.xcconfig @@ -0,0 +1,13 @@ +WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverlength-strings +GCC_WARN_UNDECLARED_SELECTOR = YES +CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES +CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE +CLANG_WARN__DUPLICATE_METHOD_MATCH = YES +CLANG_WARN_PRAGMA_PACK = YES +CLANG_WARN_STRICT_PROTOTYPES = YES +CLANG_WARN_COMMA = YES +GCC_WARN_STRICT_SELECTOR_MATCH = YES +CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES +CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES +GCC_WARN_SHADOW = YES +CLANG_WARN_UNREACHABLE_CODE = YES diff --git a/macos/Runner/DebugProfile.entitlements b/macos/Runner/DebugProfile.entitlements new file mode 100644 index 0000000..dddb8a3 --- /dev/null +++ b/macos/Runner/DebugProfile.entitlements @@ -0,0 +1,12 @@ + + + + + com.apple.security.app-sandbox + + com.apple.security.cs.allow-jit + + com.apple.security.network.server + + + diff --git a/macos/Runner/Info.plist b/macos/Runner/Info.plist new file mode 100644 index 0000000..4789daa --- /dev/null +++ b/macos/Runner/Info.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIconFile + + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + $(FLUTTER_BUILD_NAME) + CFBundleVersion + $(FLUTTER_BUILD_NUMBER) + LSMinimumSystemVersion + $(MACOSX_DEPLOYMENT_TARGET) + NSHumanReadableCopyright + $(PRODUCT_COPYRIGHT) + NSMainNibFile + MainMenu + NSPrincipalClass + NSApplication + + diff --git a/macos/Runner/MainFlutterWindow.swift b/macos/Runner/MainFlutterWindow.swift new file mode 100644 index 0000000..3cc05eb --- /dev/null +++ b/macos/Runner/MainFlutterWindow.swift @@ -0,0 +1,15 @@ +import Cocoa +import FlutterMacOS + +class MainFlutterWindow: NSWindow { + override func awakeFromNib() { + let flutterViewController = FlutterViewController() + let windowFrame = self.frame + self.contentViewController = flutterViewController + self.setFrame(windowFrame, display: true) + + RegisterGeneratedPlugins(registry: flutterViewController) + + super.awakeFromNib() + } +} diff --git a/macos/Runner/Release.entitlements b/macos/Runner/Release.entitlements new file mode 100644 index 0000000..852fa1a --- /dev/null +++ b/macos/Runner/Release.entitlements @@ -0,0 +1,8 @@ + + + + + com.apple.security.app-sandbox + + + diff --git a/macos/RunnerTests/RunnerTests.swift b/macos/RunnerTests/RunnerTests.swift new file mode 100644 index 0000000..61f3bd1 --- /dev/null +++ b/macos/RunnerTests/RunnerTests.swift @@ -0,0 +1,12 @@ +import Cocoa +import FlutterMacOS +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/mise.toml b/mise.toml new file mode 100644 index 0000000..e69de29 diff --git a/pubspec.lock b/pubspec.lock new file mode 100644 index 0000000..9371390 --- /dev/null +++ b/pubspec.lock @@ -0,0 +1,826 @@ +# Generated by pub +# See https://dart.dev/tools/pub/glossary#lockfile +packages: + args: + dependency: transitive + description: + name: args + sha256: d0481093c50b1da8910eb0bb301626d4d8eb7284aa739614d2b394ee09e3ea04 + url: "https://pub.dev" + source: hosted + version: "2.7.0" + async: + dependency: transitive + description: + name: async + sha256: "758e6d74e971c3e5aceb4110bfd6698efc7f501675bcfe0c775459a8140750eb" + url: "https://pub.dev" + source: hosted + version: "2.13.0" + bluez: + dependency: transitive + description: + name: bluez + sha256: "61a7204381925896a374301498f2f5399e59827c6498ae1e924aaa598751b545" + url: "https://pub.dev" + source: hosted + version: "0.8.3" + boolean_selector: + dependency: transitive + description: + name: boolean_selector + sha256: "8aab1771e1243a5063b8b0ff68042d67334e3feab9e95b9490f9a6ebf73b42ea" + url: "https://pub.dev" + source: hosted + version: "2.1.2" + characters: + dependency: transitive + description: + name: characters + sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803 + url: "https://pub.dev" + source: hosted + version: "1.4.0" + clock: + dependency: transitive + description: + name: clock + sha256: fddb70d9b5277016c77a80201021d40a2247104d9f4aa7bab7157b7e3f05b84b + url: "https://pub.dev" + source: hosted + version: "1.1.2" + collection: + dependency: "direct main" + description: + name: collection + sha256: "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76" + url: "https://pub.dev" + source: hosted + version: "1.19.1" + cross_file: + dependency: transitive + description: + name: cross_file + sha256: "7caf6a750a0c04effbb52a676dce9a4a592e10ad35c34d6d2d0e4811160d5670" + url: "https://pub.dev" + source: hosted + version: "0.3.4+2" + crypto: + dependency: transitive + description: + name: crypto + sha256: "1e445881f28f22d6140f181e07737b22f1e099a5e1ff94b0af2f9e4a463f4855" + url: "https://pub.dev" + source: hosted + version: "3.0.6" + cupertino_icons: + dependency: "direct main" + description: + name: cupertino_icons + sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6 + url: "https://pub.dev" + source: hosted + version: "1.0.8" + dart_earcut: + dependency: transitive + description: + name: dart_earcut + sha256: e485001bfc05dcbc437d7bfb666316182e3522d4c3f9668048e004d0eb2ce43b + url: "https://pub.dev" + source: hosted + version: "1.2.0" + dart_polylabel2: + dependency: transitive + description: + name: dart_polylabel2 + sha256: "7eeab15ce72894e4bdba6a8765712231fc81be0bd95247de4ad9966abc57adc6" + url: "https://pub.dev" + source: hosted + version: "1.0.0" + dbus: + dependency: transitive + description: + name: dbus + sha256: "79e0c23480ff85dc68de79e2cd6334add97e48f7f4865d17686dd6ea81a47e8c" + url: "https://pub.dev" + source: hosted + version: "0.7.11" + fake_async: + dependency: transitive + description: + name: fake_async + sha256: "5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44" + url: "https://pub.dev" + source: hosted + version: "1.3.3" + ffi: + dependency: transitive + description: + name: ffi + sha256: "289279317b4b16eb2bb7e271abccd4bf84ec9bdcbe999e278a94b804f5630418" + url: "https://pub.dev" + source: hosted + version: "2.1.4" + file: + dependency: transitive + description: + name: file + sha256: a3b4f84adafef897088c160faf7dfffb7696046cb13ae90b508c2cbc95d3b8d4 + url: "https://pub.dev" + source: hosted + version: "7.0.1" + file_picker: + dependency: "direct main" + description: + name: file_picker + sha256: ab13ae8ef5580a411c458d6207b6774a6c237d77ac37011b13994879f68a8810 + url: "https://pub.dev" + source: hosted + version: "8.3.7" + fixnum: + dependency: transitive + description: + name: fixnum + sha256: b6dc7065e46c974bc7c5f143080a6764ec7a4be6da1285ececdc37be96de53be + url: "https://pub.dev" + source: hosted + version: "1.1.1" + flat_buffers: + dependency: transitive + description: + name: flat_buffers + sha256: "380bdcba5664a718bfd4ea20a45d39e13684f5318fcd8883066a55e21f37f4c3" + url: "https://pub.dev" + source: hosted + version: "23.5.26" + flutter: + dependency: "direct main" + description: flutter + source: sdk + version: "0.0.0" + flutter_blue_plus: + dependency: "direct main" + description: + name: flutter_blue_plus + sha256: "2a784dd8bf4c47d10d66c18be8dd7e55783d11c4beb0b31263e0a64cbc8b17f5" + url: "https://pub.dev" + source: hosted + version: "2.0.0" + flutter_blue_plus_android: + dependency: transitive + description: + name: flutter_blue_plus_android + sha256: dfbf56e6b7e5559988e78ef937dfd6c692e1f269b6a5e1d262faaca3bafeff63 + url: "https://pub.dev" + source: hosted + version: "8.0.0" + flutter_blue_plus_darwin: + dependency: transitive + description: + name: flutter_blue_plus_darwin + sha256: "67278be48fd9ad721274021e666183077c7e9da29cff89f55bd91c4ea347b40d" + url: "https://pub.dev" + source: hosted + version: "8.0.0" + flutter_blue_plus_linux: + dependency: transitive + description: + name: flutter_blue_plus_linux + sha256: "8a65ca37013eae8c7daaebf036c52084344f76210496f31ddf044eccdb7fb0c6" + url: "https://pub.dev" + source: hosted + version: "8.0.0" + flutter_blue_plus_platform_interface: + dependency: transitive + description: + name: flutter_blue_plus_platform_interface + sha256: "1119697583bec46dc8dce8e42b232b87223c657e9d0215f5a7580d7e30310298" + url: "https://pub.dev" + source: hosted + version: "8.0.0" + flutter_blue_plus_web: + dependency: transitive + description: + name: flutter_blue_plus_web + sha256: "9d377195bda67f55fa0be4f27f606539588b7fa7cd404cdf6e52aae3259cb549" + url: "https://pub.dev" + source: hosted + version: "8.0.0" + flutter_lints: + dependency: "direct dev" + description: + name: flutter_lints + sha256: "3105dc8492f6183fb076ccf1f351ac3d60564bff92e20bfc4af9cc1651f4e7e1" + url: "https://pub.dev" + source: hosted + version: "6.0.0" + flutter_map: + dependency: "direct main" + description: + name: flutter_map + sha256: "391e7dc95cc3f5190748210a69d4cfeb5d8f84dcdfa9c3235d0a9d7742ccb3f8" + url: "https://pub.dev" + source: hosted + version: "8.2.2" + flutter_map_tile_caching: + dependency: "direct main" + description: + name: flutter_map_tile_caching + sha256: "90e097223d8ab74425cf15b449a03adfa4d4c28406dc757e1c396aff0f9beba7" + url: "https://pub.dev" + source: hosted + version: "10.1.1" + flutter_plugin_android_lifecycle: + dependency: transitive + description: + name: flutter_plugin_android_lifecycle + sha256: c2fe1001710127dfa7da89977a08d591398370d099aacdaa6d44da7eb14b8476 + url: "https://pub.dev" + source: hosted + version: "2.0.31" + flutter_test: + dependency: "direct dev" + description: flutter + source: sdk + version: "0.0.0" + flutter_web_plugins: + dependency: transitive + description: flutter + source: sdk + version: "0.0.0" + geoclue: + dependency: transitive + description: + name: geoclue + sha256: c2a998c77474fc57aa00c6baa2928e58f4b267649057a1c76738656e9dbd2a7f + url: "https://pub.dev" + source: hosted + version: "0.1.1" + geolocator: + dependency: "direct main" + description: + name: geolocator + sha256: "79939537046c9025be47ec645f35c8090ecadb6fe98eba146a0d25e8c1357516" + url: "https://pub.dev" + source: hosted + version: "14.0.2" + geolocator_android: + dependency: transitive + description: + name: geolocator_android + sha256: "179c3cb66dfa674fc9ccbf2be872a02658724d1c067634e2c427cf6df7df901a" + url: "https://pub.dev" + source: hosted + version: "5.0.2" + geolocator_apple: + dependency: transitive + description: + name: geolocator_apple + sha256: dbdd8789d5aaf14cf69f74d4925ad1336b4433a6efdf2fce91e8955dc921bf22 + url: "https://pub.dev" + source: hosted + version: "2.3.13" + geolocator_linux: + dependency: transitive + description: + name: geolocator_linux + sha256: c4e966f0a7a87e70049eac7a2617f9e16fd4c585a26e4330bdfc3a71e6a721f3 + url: "https://pub.dev" + source: hosted + version: "0.2.3" + geolocator_platform_interface: + dependency: transitive + description: + name: geolocator_platform_interface + sha256: "30cb64f0b9adcc0fb36f628b4ebf4f731a2961a0ebd849f4b56200205056fe67" + url: "https://pub.dev" + source: hosted + version: "4.2.6" + geolocator_web: + dependency: transitive + description: + name: geolocator_web + sha256: b1ae9bdfd90f861fde8fd4f209c37b953d65e92823cb73c7dee1fa021b06f172 + url: "https://pub.dev" + source: hosted + version: "4.1.3" + geolocator_windows: + dependency: transitive + description: + name: geolocator_windows + sha256: "175435404d20278ffd220de83c2ca293b73db95eafbdc8131fe8609be1421eb6" + url: "https://pub.dev" + source: hosted + version: "0.2.5" + gsettings: + dependency: transitive + description: + name: gsettings + sha256: "1b0ce661f5436d2db1e51f3c4295a49849f03d304003a7ba177d01e3a858249c" + url: "https://pub.dev" + source: hosted + version: "0.2.8" + http: + dependency: transitive + description: + name: http + sha256: bb2ce4590bc2667c96f318d68cac1b5a7987ec819351d32b1c987239a815e007 + url: "https://pub.dev" + source: hosted + version: "1.5.0" + http_parser: + dependency: transitive + description: + name: http_parser + sha256: "178d74305e7866013777bab2c3d8726205dc5a4dd935297175b19a23a2e66571" + url: "https://pub.dev" + source: hosted + version: "4.1.2" + intl: + dependency: "direct main" + description: + name: intl + sha256: "3df61194eb431efc39c4ceba583b95633a403f46c9fd341e550ce0bfa50e9aa5" + url: "https://pub.dev" + source: hosted + version: "0.20.2" + latlong2: + dependency: "direct main" + description: + name: latlong2 + sha256: "98227922caf49e6056f91b6c56945ea1c7b166f28ffcd5fb8e72fc0b453cc8fe" + url: "https://pub.dev" + source: hosted + version: "0.9.1" + leak_tracker: + dependency: transitive + description: + name: leak_tracker + sha256: "33e2e26bdd85a0112ec15400c8cbffea70d0f9c3407491f672a2fad47915e2de" + url: "https://pub.dev" + source: hosted + version: "11.0.2" + leak_tracker_flutter_testing: + dependency: transitive + description: + name: leak_tracker_flutter_testing + sha256: "1dbc140bb5a23c75ea9c4811222756104fbcd1a27173f0c34ca01e16bea473c1" + url: "https://pub.dev" + source: hosted + version: "3.0.10" + leak_tracker_testing: + dependency: transitive + description: + name: leak_tracker_testing + sha256: "8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1" + url: "https://pub.dev" + source: hosted + version: "3.0.2" + lints: + dependency: transitive + description: + name: lints + sha256: a5e2b223cb7c9c8efdc663ef484fdd95bb243bff242ef5b13e26883547fce9a0 + url: "https://pub.dev" + source: hosted + version: "6.0.0" + lists: + dependency: transitive + description: + name: lists + sha256: "4ca5c19ae4350de036a7e996cdd1ee39c93ac0a2b840f4915459b7d0a7d4ab27" + url: "https://pub.dev" + source: hosted + version: "1.0.1" + logger: + dependency: transitive + description: + name: logger + sha256: a7967e31b703831a893bbc3c3dd11db08126fe5f369b5c648a36f821979f5be3 + url: "https://pub.dev" + source: hosted + version: "2.6.2" + matcher: + dependency: transitive + description: + name: matcher + sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2 + url: "https://pub.dev" + source: hosted + version: "0.12.17" + material_color_utilities: + dependency: transitive + description: + name: material_color_utilities + sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec + url: "https://pub.dev" + source: hosted + version: "0.11.1" + meta: + dependency: transitive + description: + name: meta + sha256: e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c + url: "https://pub.dev" + source: hosted + version: "1.16.0" + mgrs_dart: + dependency: transitive + description: + name: mgrs_dart + sha256: fb89ae62f05fa0bb90f70c31fc870bcbcfd516c843fb554452ab3396f78586f7 + url: "https://pub.dev" + source: hosted + version: "2.0.0" + mime: + dependency: transitive + description: + name: mime + sha256: "41a20518f0cb1256669420fdba0cd90d21561e560ac240f26ef8322e45bb7ed6" + url: "https://pub.dev" + source: hosted + version: "2.0.0" + nested: + dependency: transitive + description: + name: nested + sha256: "03bac4c528c64c95c722ec99280375a6f2fc708eec17c7b3f07253b626cd2a20" + url: "https://pub.dev" + source: hosted + version: "1.0.0" + objectbox: + dependency: transitive + description: + name: objectbox + sha256: "3cc186749178a3556e1020c9082d0897d0f9ecbdefcc27320e65c5bc650f0e57" + url: "https://pub.dev" + source: hosted + version: "4.3.1" + objectbox_flutter_libs: + dependency: transitive + description: + name: objectbox_flutter_libs + sha256: cd754766e04229a4f51250f121813d9a3c1a74fc21cd68e48b3c6085cbcd6c85 + url: "https://pub.dev" + source: hosted + version: "4.3.1" + package_info_plus: + dependency: transitive + description: + name: package_info_plus + sha256: "16eee997588c60225bda0488b6dcfac69280a6b7a3cf02c741895dd370a02968" + url: "https://pub.dev" + source: hosted + version: "8.3.1" + package_info_plus_platform_interface: + dependency: transitive + description: + name: package_info_plus_platform_interface + sha256: "202a487f08836a592a6bd4f901ac69b3a8f146af552bbd14407b6b41e1c3f086" + url: "https://pub.dev" + source: hosted + version: "3.2.1" + path: + dependency: transitive + description: + name: path + sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5" + url: "https://pub.dev" + source: hosted + version: "1.9.1" + path_provider: + dependency: "direct main" + description: + name: path_provider + sha256: "50c5dd5b6e1aaf6fb3a78b33f6aa3afca52bf903a8a5298f53101fdaee55bbcd" + url: "https://pub.dev" + source: hosted + version: "2.1.5" + path_provider_android: + dependency: transitive + description: + name: path_provider_android + sha256: "3b4c1fc3aa55ddc9cd4aa6759984330d5c8e66aa7702a6223c61540dc6380c37" + url: "https://pub.dev" + source: hosted + version: "2.2.19" + path_provider_foundation: + dependency: transitive + description: + name: path_provider_foundation + sha256: "16eef174aacb07e09c351502740fa6254c165757638eba1e9116b0a781201bbd" + url: "https://pub.dev" + source: hosted + version: "2.4.2" + path_provider_linux: + dependency: transitive + description: + name: path_provider_linux + sha256: f7a1fe3a634fe7734c8d3f2766ad746ae2a2884abe22e241a8b301bf5cac3279 + url: "https://pub.dev" + source: hosted + version: "2.2.1" + path_provider_platform_interface: + dependency: transitive + description: + name: path_provider_platform_interface + sha256: "88f5779f72ba699763fa3a3b06aa4bf6de76c8e5de842cf6f29e2e06476c2334" + url: "https://pub.dev" + source: hosted + version: "2.1.2" + path_provider_windows: + dependency: transitive + description: + name: path_provider_windows + sha256: bd6f00dbd873bfb70d0761682da2b3a2c2fccc2b9e84c495821639601d81afe7 + url: "https://pub.dev" + source: hosted + version: "2.3.0" + permission_handler: + dependency: "direct main" + description: + name: permission_handler + sha256: bc917da36261b00137bbc8896bf1482169cd76f866282368948f032c8c1caae1 + url: "https://pub.dev" + source: hosted + version: "12.0.1" + permission_handler_android: + dependency: transitive + description: + name: permission_handler_android + sha256: "1e3bc410ca1bf84662104b100eb126e066cb55791b7451307f9708d4007350e6" + url: "https://pub.dev" + source: hosted + version: "13.0.1" + permission_handler_apple: + dependency: transitive + description: + name: permission_handler_apple + sha256: f000131e755c54cf4d84a5d8bd6e4149e262cc31c5a8b1d698de1ac85fa41023 + url: "https://pub.dev" + source: hosted + version: "9.4.7" + permission_handler_html: + dependency: transitive + description: + name: permission_handler_html + sha256: "38f000e83355abb3392140f6bc3030660cfaef189e1f87824facb76300b4ff24" + url: "https://pub.dev" + source: hosted + version: "0.1.3+5" + permission_handler_platform_interface: + dependency: transitive + description: + name: permission_handler_platform_interface + sha256: eb99b295153abce5d683cac8c02e22faab63e50679b937fa1bf67d58bb282878 + url: "https://pub.dev" + source: hosted + version: "4.3.0" + permission_handler_windows: + dependency: transitive + description: + name: permission_handler_windows + sha256: "1a790728016f79a41216d88672dbc5df30e686e811ad4e698bfc51f76ad91f1e" + url: "https://pub.dev" + source: hosted + version: "0.2.1" + petitparser: + dependency: transitive + description: + name: petitparser + sha256: "1a97266a94f7350d30ae522c0af07890c70b8e62c71e8e3920d1db4d23c057d1" + url: "https://pub.dev" + source: hosted + version: "7.0.1" + platform: + dependency: transitive + description: + name: platform + sha256: "5d6b1b0036a5f331ebc77c850ebc8506cbc1e9416c27e59b439f917a902a4984" + url: "https://pub.dev" + source: hosted + version: "3.1.6" + plugin_platform_interface: + dependency: transitive + description: + name: plugin_platform_interface + sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02" + url: "https://pub.dev" + source: hosted + version: "2.1.8" + proj4dart: + dependency: transitive + description: + name: proj4dart + sha256: c8a659ac9b6864aa47c171e78d41bbe6f5e1d7bd790a5814249e6b68bc44324e + url: "https://pub.dev" + source: hosted + version: "2.1.0" + provider: + dependency: "direct main" + description: + name: provider + sha256: "4e82183fa20e5ca25703ead7e05de9e4cceed1fbd1eadc1ac3cb6f565a09f272" + url: "https://pub.dev" + source: hosted + version: "6.1.5+1" + rxdart: + dependency: transitive + description: + name: rxdart + sha256: "5c3004a4a8dbb94bd4bf5412a4def4acdaa12e12f269737a5751369e12d1a962" + url: "https://pub.dev" + source: hosted + version: "0.28.0" + share_plus: + dependency: "direct main" + description: + name: share_plus + sha256: fce43200aa03ea87b91ce4c3ac79f0cecd52e2a7a56c7a4185023c271fbfa6da + url: "https://pub.dev" + source: hosted + version: "10.1.4" + share_plus_platform_interface: + dependency: transitive + description: + name: share_plus_platform_interface + sha256: cc012a23fc2d479854e6c80150696c4a5f5bb62cb89af4de1c505cf78d0a5d0b + url: "https://pub.dev" + source: hosted + version: "5.0.2" + sky_engine: + dependency: transitive + description: flutter + source: sdk + version: "0.0.0" + source_span: + dependency: transitive + description: + name: source_span + sha256: "254ee5351d6cb365c859e20ee823c3bb479bf4a293c22d17a9f1bf144ce86f7c" + url: "https://pub.dev" + source: hosted + version: "1.10.1" + sprintf: + dependency: transitive + description: + name: sprintf + sha256: "1fc9ffe69d4df602376b52949af107d8f5703b77cda567c4d7d86a0693120f23" + url: "https://pub.dev" + source: hosted + version: "7.0.0" + stack_trace: + dependency: transitive + description: + name: stack_trace + sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1" + url: "https://pub.dev" + source: hosted + version: "1.12.1" + stream_channel: + dependency: transitive + description: + name: stream_channel + sha256: "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d" + url: "https://pub.dev" + source: hosted + version: "2.1.4" + string_scanner: + dependency: transitive + description: + name: string_scanner + sha256: "921cd31725b72fe181906c6a94d987c78e3b98c2e205b397ea399d4054872b43" + url: "https://pub.dev" + source: hosted + version: "1.4.1" + term_glyph: + dependency: transitive + description: + name: term_glyph + sha256: "7f554798625ea768a7518313e58f83891c7f5024f88e46e7182a4558850a4b8e" + url: "https://pub.dev" + source: hosted + version: "1.2.2" + test_api: + dependency: transitive + description: + name: test_api + sha256: "522f00f556e73044315fa4585ec3270f1808a4b186c936e612cab0b565ff1e00" + url: "https://pub.dev" + source: hosted + version: "0.7.6" + typed_data: + dependency: transitive + description: + name: typed_data + sha256: f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006 + url: "https://pub.dev" + source: hosted + version: "1.4.0" + unicode: + dependency: transitive + description: + name: unicode + sha256: "0f69e46593d65245774d4f17125c6084d2c20b4e473a983f6e21b7d7762218f1" + url: "https://pub.dev" + source: hosted + version: "0.3.1" + url_launcher_linux: + dependency: transitive + description: + name: url_launcher_linux + sha256: "4e9ba368772369e3e08f231d2301b4ef72b9ff87c31192ef471b380ef29a4935" + url: "https://pub.dev" + source: hosted + version: "3.2.1" + url_launcher_platform_interface: + dependency: transitive + description: + name: url_launcher_platform_interface + sha256: "552f8a1e663569be95a8190206a38187b531910283c3e982193e4f2733f01029" + url: "https://pub.dev" + source: hosted + version: "2.3.2" + url_launcher_web: + dependency: transitive + description: + name: url_launcher_web + sha256: "4bd2b7b4dc4d4d0b94e5babfffbca8eac1a126c7f3d6ecbc1a11013faa3abba2" + url: "https://pub.dev" + source: hosted + version: "2.4.1" + url_launcher_windows: + dependency: transitive + description: + name: url_launcher_windows + sha256: "3284b6d2ac454cf34f114e1d3319866fdd1e19cdc329999057e44ffe936cfa77" + url: "https://pub.dev" + source: hosted + version: "3.1.4" + uuid: + dependency: transitive + description: + name: uuid + sha256: a5be9ef6618a7ac1e964353ef476418026db906c4facdedaa299b7a2e71690ff + url: "https://pub.dev" + source: hosted + version: "4.5.1" + vector_math: + dependency: transitive + description: + name: vector_math + sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b + url: "https://pub.dev" + source: hosted + version: "2.2.0" + vm_service: + dependency: transitive + description: + name: vm_service + sha256: "45caa6c5917fa127b5dbcfbd1fa60b14e583afdc08bfc96dda38886ca252eb60" + url: "https://pub.dev" + source: hosted + version: "15.0.2" + web: + dependency: transitive + description: + name: web + sha256: "868d88a33d8a87b18ffc05f9f030ba328ffefba92d6c127917a2ba740f9cfe4a" + url: "https://pub.dev" + source: hosted + version: "1.1.1" + win32: + dependency: transitive + description: + name: win32 + sha256: d7cb55e04cd34096cd3a79b3330245f54cb96a370a1c27adb3c84b917de8b08e + url: "https://pub.dev" + source: hosted + version: "5.15.0" + wkt_parser: + dependency: transitive + description: + name: wkt_parser + sha256: "8a555fc60de3116c00aad67891bcab20f81a958e4219cc106e3c037aa3937f13" + url: "https://pub.dev" + source: hosted + version: "2.0.0" + xdg_directories: + dependency: transitive + description: + name: xdg_directories + sha256: "7a3f37b05d989967cdddcbb571f1ea834867ae2faa29725fd085180e0883aa15" + url: "https://pub.dev" + source: hosted + version: "1.1.0" + xml: + dependency: transitive + description: + name: xml + sha256: "971043b3a0d3da28727e40ed3e0b5d18b742fa5a68665cca88e74b7876d5e025" + url: "https://pub.dev" + source: hosted + version: "6.6.1" +sdks: + dart: ">=3.9.2 <4.0.0" + flutter: ">=3.29.0" diff --git a/pubspec.yaml b/pubspec.yaml new file mode 100644 index 0000000..8fd5323 --- /dev/null +++ b/pubspec.yaml @@ -0,0 +1,117 @@ +name: meshcore_sar_app +description: "MeshCore SAR (Search & Rescue) app with BLE mesh networking and offline maps" +# The following line prevents the package from being accidentally published to +# pub.dev using `flutter pub publish`. This is preferred for private packages. +publish_to: 'none' # Remove this line if you wish to publish to pub.dev + +# The following defines the version and build number for your application. +# A version number is three numbers separated by dots, like 1.2.43 +# followed by an optional build number separated by a +. +# Both the version and the builder number may be overridden in flutter +# build by specifying --build-name and --build-number, respectively. +# In Android, build-name is used as versionName while build-number used as versionCode. +# Read more about Android versioning at https://developer.android.com/studio/publish/versioning +# In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion. +# Read more about iOS versioning at +# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html +# In Windows, build-name is used as the major, minor, and patch parts +# of the product and file versions while build-number is used as the build suffix. +version: 1.0.0+1 + +environment: + sdk: ^3.9.2 + +# Dependencies specify other packages that your package needs in order to work. +# To automatically upgrade your package dependencies to the latest versions +# consider running `flutter pub upgrade --major-versions`. Alternatively, +# dependencies can be manually updated by changing the version numbers below to +# the latest version available on pub.dev. To see which dependencies have newer +# versions available, run `flutter pub outdated`. +dependencies: + flutter: + sdk: flutter + + # The following adds the Cupertino Icons font to your application. + # Use with the CupertinoIcons class for iOS style icons. + cupertino_icons: ^1.0.8 + + # BLE connectivity + flutter_blue_plus: ^2.0.0 + + # State management + provider: ^6.1.0 + + # Map display + flutter_map: ^8.2.2 + latlong2: ^0.9.0 + + # Offline tile caching + flutter_map_tile_caching: ^10.1.1 + + # Permissions + permission_handler: ^12.0.1 + + # Location services + geolocator: ^14.0.2 + + # Utilities + intl: ^0.20.2 + collection: ^1.18.0 + + # File handling + file_picker: ^8.1.4 + share_plus: ^10.1.3 + path_provider: ^2.1.5 + +dev_dependencies: + flutter_test: + sdk: flutter + + # The "flutter_lints" package below contains a set of recommended lints to + # encourage good coding practices. The lint set provided by the package is + # activated in the `analysis_options.yaml` file located at the root of your + # package. See that file for information about deactivating specific lint + # rules and activating additional ones. + flutter_lints: ^6.0.0 + +# For information on the generic Dart part of this file, see the +# following page: https://dart.dev/tools/pub/pubspec + +# The following section is specific to Flutter packages. +flutter: + + # The following line ensures that the Material Icons font is + # included with your application, so that you can use the icons in + # the material Icons class. + uses-material-design: true + + # To add assets to your application, add an assets section, like this: + # assets: + # - images/a_dot_burr.jpeg + # - images/a_dot_ham.jpeg + + # An image asset can refer to one or more resolution-specific "variants", see + # https://flutter.dev/to/resolution-aware-images + + # For details regarding adding assets from package dependencies, see + # https://flutter.dev/to/asset-from-package + + # To add custom fonts to your application, add a fonts section here, + # in this "flutter" section. Each entry in this list should have a + # "family" key with the font family name, and a "fonts" key with a + # list giving the asset and other descriptors for the font. For + # example: + # fonts: + # - family: Schyler + # fonts: + # - asset: fonts/Schyler-Regular.ttf + # - asset: fonts/Schyler-Italic.ttf + # style: italic + # - family: Trajan Pro + # fonts: + # - asset: fonts/TrajanPro.ttf + # - asset: fonts/TrajanPro_Bold.ttf + # weight: 700 + # + # For details regarding fonts from package dependencies, + # see https://flutter.dev/to/font-from-package diff --git a/test/widget_test.dart b/test/widget_test.dart new file mode 100644 index 0000000..c05da1e --- /dev/null +++ b/test/widget_test.dart @@ -0,0 +1,26 @@ +// This is a basic Flutter widget test. +// +// To perform an interaction with a widget in your test, use the WidgetTester +// utility in the flutter_test package. For example, you can send tap and scroll +// gestures. You can also use WidgetTester to find child widgets in the widget +// tree, read text, and verify that the values of widget properties are correct. + +import 'package:flutter/material.dart'; +import 'package:flutter_test/flutter_test.dart'; + +import 'package:meshcore_sar_app/main.dart'; + +void main() { + testWidgets('App launches smoke test', (WidgetTester tester) async { + // Build our app and trigger a frame. + await tester.pumpWidget(const MeshCoreSarApp()); + + // Verify that our app title appears. + expect(find.text('MeshCore SAR'), findsOneWidget); + + // Verify the tab bar appears with tabs + expect(find.text('Messages'), findsOneWidget); + expect(find.text('Contacts'), findsOneWidget); + expect(find.text('Map'), findsOneWidget); + }); +} diff --git a/web/favicon.png b/web/favicon.png new file mode 100644 index 0000000..8aaa46a Binary files /dev/null and b/web/favicon.png differ diff --git a/web/icons/Icon-192.png b/web/icons/Icon-192.png new file mode 100644 index 0000000..b749bfe Binary files /dev/null and b/web/icons/Icon-192.png differ diff --git a/web/icons/Icon-512.png b/web/icons/Icon-512.png new file mode 100644 index 0000000..88cfd48 Binary files /dev/null and b/web/icons/Icon-512.png differ diff --git a/web/icons/Icon-maskable-192.png b/web/icons/Icon-maskable-192.png new file mode 100644 index 0000000..eb9b4d7 Binary files /dev/null and b/web/icons/Icon-maskable-192.png differ diff --git a/web/icons/Icon-maskable-512.png b/web/icons/Icon-maskable-512.png new file mode 100644 index 0000000..d69c566 Binary files /dev/null and b/web/icons/Icon-maskable-512.png differ diff --git a/web/index.html b/web/index.html new file mode 100644 index 0000000..96dadc1 --- /dev/null +++ b/web/index.html @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + meshcore_sar_app + + + + + + diff --git a/web/manifest.json b/web/manifest.json new file mode 100644 index 0000000..610d0fe --- /dev/null +++ b/web/manifest.json @@ -0,0 +1,35 @@ +{ + "name": "meshcore_sar_app", + "short_name": "meshcore_sar_app", + "start_url": ".", + "display": "standalone", + "background_color": "#0175C2", + "theme_color": "#0175C2", + "description": "A new Flutter project.", + "orientation": "portrait-primary", + "prefer_related_applications": false, + "icons": [ + { + "src": "icons/Icon-192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "icons/Icon-512.png", + "sizes": "512x512", + "type": "image/png" + }, + { + "src": "icons/Icon-maskable-192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "maskable" + }, + { + "src": "icons/Icon-maskable-512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "maskable" + } + ] +} diff --git a/windows/.gitignore b/windows/.gitignore new file mode 100644 index 0000000..d492d0d --- /dev/null +++ b/windows/.gitignore @@ -0,0 +1,17 @@ +flutter/ephemeral/ + +# Visual Studio user-specific files. +*.suo +*.user +*.userosscache +*.sln.docstates + +# Visual Studio build-related files. +x64/ +x86/ + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!*.[Cc]ache/ diff --git a/windows/CMakeLists.txt b/windows/CMakeLists.txt new file mode 100644 index 0000000..e980762 --- /dev/null +++ b/windows/CMakeLists.txt @@ -0,0 +1,108 @@ +# Project-level configuration. +cmake_minimum_required(VERSION 3.14) +project(meshcore_sar_app LANGUAGES CXX) + +# The name of the executable created for the application. Change this to change +# the on-disk name of your application. +set(BINARY_NAME "meshcore_sar_app") + +# Explicitly opt in to modern CMake behaviors to avoid warnings with recent +# versions of CMake. +cmake_policy(VERSION 3.14...3.25) + +# Define build configuration option. +get_property(IS_MULTICONFIG GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG) +if(IS_MULTICONFIG) + set(CMAKE_CONFIGURATION_TYPES "Debug;Profile;Release" + CACHE STRING "" FORCE) +else() + if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) + set(CMAKE_BUILD_TYPE "Debug" CACHE + STRING "Flutter build mode" FORCE) + set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS + "Debug" "Profile" "Release") + endif() +endif() +# Define settings for the Profile build mode. +set(CMAKE_EXE_LINKER_FLAGS_PROFILE "${CMAKE_EXE_LINKER_FLAGS_RELEASE}") +set(CMAKE_SHARED_LINKER_FLAGS_PROFILE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE}") +set(CMAKE_C_FLAGS_PROFILE "${CMAKE_C_FLAGS_RELEASE}") +set(CMAKE_CXX_FLAGS_PROFILE "${CMAKE_CXX_FLAGS_RELEASE}") + +# Use Unicode for all projects. +add_definitions(-DUNICODE -D_UNICODE) + +# Compilation settings that should be applied to most targets. +# +# Be cautious about adding new options here, as plugins use this function by +# default. In most cases, you should add new options to specific targets instead +# of modifying this function. +function(APPLY_STANDARD_SETTINGS TARGET) + target_compile_features(${TARGET} PUBLIC cxx_std_17) + target_compile_options(${TARGET} PRIVATE /W4 /WX /wd"4100") + target_compile_options(${TARGET} PRIVATE /EHsc) + target_compile_definitions(${TARGET} PRIVATE "_HAS_EXCEPTIONS=0") + target_compile_definitions(${TARGET} PRIVATE "$<$:_DEBUG>") +endfunction() + +# Flutter library and tool build rules. +set(FLUTTER_MANAGED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/flutter") +add_subdirectory(${FLUTTER_MANAGED_DIR}) + +# Application build; see runner/CMakeLists.txt. +add_subdirectory("runner") + + +# Generated plugin build rules, which manage building the plugins and adding +# them to the application. +include(flutter/generated_plugins.cmake) + + +# === Installation === +# Support files are copied into place next to the executable, so that it can +# run in place. This is done instead of making a separate bundle (as on Linux) +# so that building and running from within Visual Studio will work. +set(BUILD_BUNDLE_DIR "$") +# Make the "install" step default, as it's required to run. +set(CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD 1) +if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) + set(CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR}" CACHE PATH "..." FORCE) +endif() + +set(INSTALL_BUNDLE_DATA_DIR "${CMAKE_INSTALL_PREFIX}/data") +set(INSTALL_BUNDLE_LIB_DIR "${CMAKE_INSTALL_PREFIX}") + +install(TARGETS ${BINARY_NAME} RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}" + COMPONENT Runtime) + +install(FILES "${FLUTTER_ICU_DATA_FILE}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" + COMPONENT Runtime) + +install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" + COMPONENT Runtime) + +if(PLUGIN_BUNDLED_LIBRARIES) + install(FILES "${PLUGIN_BUNDLED_LIBRARIES}" + DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" + COMPONENT Runtime) +endif() + +# Copy the native assets provided by the build.dart from all packages. +set(NATIVE_ASSETS_DIR "${PROJECT_BUILD_DIR}native_assets/windows/") +install(DIRECTORY "${NATIVE_ASSETS_DIR}" + DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" + COMPONENT Runtime) + +# Fully re-copy the assets directory on each build to avoid having stale files +# from a previous install. +set(FLUTTER_ASSET_DIR_NAME "flutter_assets") +install(CODE " + file(REMOVE_RECURSE \"${INSTALL_BUNDLE_DATA_DIR}/${FLUTTER_ASSET_DIR_NAME}\") + " COMPONENT Runtime) +install(DIRECTORY "${PROJECT_BUILD_DIR}/${FLUTTER_ASSET_DIR_NAME}" + DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" COMPONENT Runtime) + +# Install the AOT library on non-Debug builds only. +install(FILES "${AOT_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" + CONFIGURATIONS Profile;Release + COMPONENT Runtime) diff --git a/windows/flutter/CMakeLists.txt b/windows/flutter/CMakeLists.txt new file mode 100644 index 0000000..903f489 --- /dev/null +++ b/windows/flutter/CMakeLists.txt @@ -0,0 +1,109 @@ +# This file controls Flutter-level build steps. It should not be edited. +cmake_minimum_required(VERSION 3.14) + +set(EPHEMERAL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ephemeral") + +# Configuration provided via flutter tool. +include(${EPHEMERAL_DIR}/generated_config.cmake) + +# TODO: Move the rest of this into files in ephemeral. See +# https://github.com/flutter/flutter/issues/57146. +set(WRAPPER_ROOT "${EPHEMERAL_DIR}/cpp_client_wrapper") + +# Set fallback configurations for older versions of the flutter tool. +if (NOT DEFINED FLUTTER_TARGET_PLATFORM) + set(FLUTTER_TARGET_PLATFORM "windows-x64") +endif() + +# === Flutter Library === +set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/flutter_windows.dll") + +# Published to parent scope for install step. +set(FLUTTER_LIBRARY ${FLUTTER_LIBRARY} PARENT_SCOPE) +set(FLUTTER_ICU_DATA_FILE "${EPHEMERAL_DIR}/icudtl.dat" PARENT_SCOPE) +set(PROJECT_BUILD_DIR "${PROJECT_DIR}/build/" PARENT_SCOPE) +set(AOT_LIBRARY "${PROJECT_DIR}/build/windows/app.so" PARENT_SCOPE) + +list(APPEND FLUTTER_LIBRARY_HEADERS + "flutter_export.h" + "flutter_windows.h" + "flutter_messenger.h" + "flutter_plugin_registrar.h" + "flutter_texture_registrar.h" +) +list(TRANSFORM FLUTTER_LIBRARY_HEADERS PREPEND "${EPHEMERAL_DIR}/") +add_library(flutter INTERFACE) +target_include_directories(flutter INTERFACE + "${EPHEMERAL_DIR}" +) +target_link_libraries(flutter INTERFACE "${FLUTTER_LIBRARY}.lib") +add_dependencies(flutter flutter_assemble) + +# === Wrapper === +list(APPEND CPP_WRAPPER_SOURCES_CORE + "core_implementations.cc" + "standard_codec.cc" +) +list(TRANSFORM CPP_WRAPPER_SOURCES_CORE PREPEND "${WRAPPER_ROOT}/") +list(APPEND CPP_WRAPPER_SOURCES_PLUGIN + "plugin_registrar.cc" +) +list(TRANSFORM CPP_WRAPPER_SOURCES_PLUGIN PREPEND "${WRAPPER_ROOT}/") +list(APPEND CPP_WRAPPER_SOURCES_APP + "flutter_engine.cc" + "flutter_view_controller.cc" +) +list(TRANSFORM CPP_WRAPPER_SOURCES_APP PREPEND "${WRAPPER_ROOT}/") + +# Wrapper sources needed for a plugin. +add_library(flutter_wrapper_plugin STATIC + ${CPP_WRAPPER_SOURCES_CORE} + ${CPP_WRAPPER_SOURCES_PLUGIN} +) +apply_standard_settings(flutter_wrapper_plugin) +set_target_properties(flutter_wrapper_plugin PROPERTIES + POSITION_INDEPENDENT_CODE ON) +set_target_properties(flutter_wrapper_plugin PROPERTIES + CXX_VISIBILITY_PRESET hidden) +target_link_libraries(flutter_wrapper_plugin PUBLIC flutter) +target_include_directories(flutter_wrapper_plugin PUBLIC + "${WRAPPER_ROOT}/include" +) +add_dependencies(flutter_wrapper_plugin flutter_assemble) + +# Wrapper sources needed for the runner. +add_library(flutter_wrapper_app STATIC + ${CPP_WRAPPER_SOURCES_CORE} + ${CPP_WRAPPER_SOURCES_APP} +) +apply_standard_settings(flutter_wrapper_app) +target_link_libraries(flutter_wrapper_app PUBLIC flutter) +target_include_directories(flutter_wrapper_app PUBLIC + "${WRAPPER_ROOT}/include" +) +add_dependencies(flutter_wrapper_app flutter_assemble) + +# === Flutter tool backend === +# _phony_ is a non-existent file to force this command to run every time, +# since currently there's no way to get a full input/output list from the +# flutter tool. +set(PHONY_OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/_phony_") +set_source_files_properties("${PHONY_OUTPUT}" PROPERTIES SYMBOLIC TRUE) +add_custom_command( + OUTPUT ${FLUTTER_LIBRARY} ${FLUTTER_LIBRARY_HEADERS} + ${CPP_WRAPPER_SOURCES_CORE} ${CPP_WRAPPER_SOURCES_PLUGIN} + ${CPP_WRAPPER_SOURCES_APP} + ${PHONY_OUTPUT} + COMMAND ${CMAKE_COMMAND} -E env + ${FLUTTER_TOOL_ENVIRONMENT} + "${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.bat" + ${FLUTTER_TARGET_PLATFORM} $ + VERBATIM +) +add_custom_target(flutter_assemble DEPENDS + "${FLUTTER_LIBRARY}" + ${FLUTTER_LIBRARY_HEADERS} + ${CPP_WRAPPER_SOURCES_CORE} + ${CPP_WRAPPER_SOURCES_PLUGIN} + ${CPP_WRAPPER_SOURCES_APP} +) diff --git a/windows/flutter/generated_plugin_registrant.cc b/windows/flutter/generated_plugin_registrant.cc new file mode 100644 index 0000000..f610442 --- /dev/null +++ b/windows/flutter/generated_plugin_registrant.cc @@ -0,0 +1,26 @@ +// +// Generated file. Do not edit. +// + +// clang-format off + +#include "generated_plugin_registrant.h" + +#include +#include +#include +#include +#include + +void RegisterPlugins(flutter::PluginRegistry* registry) { + GeolocatorWindowsRegisterWithRegistrar( + registry->GetRegistrarForPlugin("GeolocatorWindows")); + ObjectboxFlutterLibsPluginRegisterWithRegistrar( + registry->GetRegistrarForPlugin("ObjectboxFlutterLibsPlugin")); + PermissionHandlerWindowsPluginRegisterWithRegistrar( + registry->GetRegistrarForPlugin("PermissionHandlerWindowsPlugin")); + SharePlusWindowsPluginCApiRegisterWithRegistrar( + registry->GetRegistrarForPlugin("SharePlusWindowsPluginCApi")); + UrlLauncherWindowsRegisterWithRegistrar( + registry->GetRegistrarForPlugin("UrlLauncherWindows")); +} diff --git a/windows/flutter/generated_plugin_registrant.h b/windows/flutter/generated_plugin_registrant.h new file mode 100644 index 0000000..dc139d8 --- /dev/null +++ b/windows/flutter/generated_plugin_registrant.h @@ -0,0 +1,15 @@ +// +// Generated file. Do not edit. +// + +// clang-format off + +#ifndef GENERATED_PLUGIN_REGISTRANT_ +#define GENERATED_PLUGIN_REGISTRANT_ + +#include + +// Registers Flutter plugins. +void RegisterPlugins(flutter::PluginRegistry* registry); + +#endif // GENERATED_PLUGIN_REGISTRANT_ diff --git a/windows/flutter/generated_plugins.cmake b/windows/flutter/generated_plugins.cmake new file mode 100644 index 0000000..410fc69 --- /dev/null +++ b/windows/flutter/generated_plugins.cmake @@ -0,0 +1,28 @@ +# +# Generated file, do not edit. +# + +list(APPEND FLUTTER_PLUGIN_LIST + geolocator_windows + objectbox_flutter_libs + permission_handler_windows + share_plus + url_launcher_windows +) + +list(APPEND FLUTTER_FFI_PLUGIN_LIST +) + +set(PLUGIN_BUNDLED_LIBRARIES) + +foreach(plugin ${FLUTTER_PLUGIN_LIST}) + add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin}) + target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) + list(APPEND PLUGIN_BUNDLED_LIBRARIES $) + list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) +endforeach(plugin) + +foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST}) + add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin}) + list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries}) +endforeach(ffi_plugin) diff --git a/windows/runner/CMakeLists.txt b/windows/runner/CMakeLists.txt new file mode 100644 index 0000000..394917c --- /dev/null +++ b/windows/runner/CMakeLists.txt @@ -0,0 +1,40 @@ +cmake_minimum_required(VERSION 3.14) +project(runner LANGUAGES CXX) + +# Define the application target. To change its name, change BINARY_NAME in the +# top-level CMakeLists.txt, not the value here, or `flutter run` will no longer +# work. +# +# Any new source files that you add to the application should be added here. +add_executable(${BINARY_NAME} WIN32 + "flutter_window.cpp" + "main.cpp" + "utils.cpp" + "win32_window.cpp" + "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc" + "Runner.rc" + "runner.exe.manifest" +) + +# Apply the standard set of build settings. This can be removed for applications +# that need different build settings. +apply_standard_settings(${BINARY_NAME}) + +# Add preprocessor definitions for the build version. +target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION=\"${FLUTTER_VERSION}\"") +target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_MAJOR=${FLUTTER_VERSION_MAJOR}") +target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_MINOR=${FLUTTER_VERSION_MINOR}") +target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_PATCH=${FLUTTER_VERSION_PATCH}") +target_compile_definitions(${BINARY_NAME} PRIVATE "FLUTTER_VERSION_BUILD=${FLUTTER_VERSION_BUILD}") + +# Disable Windows macros that collide with C++ standard library functions. +target_compile_definitions(${BINARY_NAME} PRIVATE "NOMINMAX") + +# Add dependency libraries and include directories. Add any application-specific +# dependencies here. +target_link_libraries(${BINARY_NAME} PRIVATE flutter flutter_wrapper_app) +target_link_libraries(${BINARY_NAME} PRIVATE "dwmapi.lib") +target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}") + +# Run the Flutter tool portions of the build. This must not be removed. +add_dependencies(${BINARY_NAME} flutter_assemble) diff --git a/windows/runner/Runner.rc b/windows/runner/Runner.rc new file mode 100644 index 0000000..e86239c --- /dev/null +++ b/windows/runner/Runner.rc @@ -0,0 +1,121 @@ +// Microsoft Visual C++ generated resource script. +// +#pragma code_page(65001) +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "winres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (United States) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +2 TEXTINCLUDE +BEGIN + "#include ""winres.h""\r\n" + "\0" +END + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +IDI_APP_ICON ICON "resources\\app_icon.ico" + + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +#if defined(FLUTTER_VERSION_MAJOR) && defined(FLUTTER_VERSION_MINOR) && defined(FLUTTER_VERSION_PATCH) && defined(FLUTTER_VERSION_BUILD) +#define VERSION_AS_NUMBER FLUTTER_VERSION_MAJOR,FLUTTER_VERSION_MINOR,FLUTTER_VERSION_PATCH,FLUTTER_VERSION_BUILD +#else +#define VERSION_AS_NUMBER 1,0,0,0 +#endif + +#if defined(FLUTTER_VERSION) +#define VERSION_AS_STRING FLUTTER_VERSION +#else +#define VERSION_AS_STRING "1.0.0" +#endif + +VS_VERSION_INFO VERSIONINFO + FILEVERSION VERSION_AS_NUMBER + PRODUCTVERSION VERSION_AS_NUMBER + FILEFLAGSMASK VS_FFI_FILEFLAGSMASK +#ifdef _DEBUG + FILEFLAGS VS_FF_DEBUG +#else + FILEFLAGS 0x0L +#endif + FILEOS VOS__WINDOWS32 + FILETYPE VFT_APP + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904e4" + BEGIN + VALUE "CompanyName", "com.meshcore.sar" "\0" + VALUE "FileDescription", "meshcore_sar_app" "\0" + VALUE "FileVersion", VERSION_AS_STRING "\0" + VALUE "InternalName", "meshcore_sar_app" "\0" + VALUE "LegalCopyright", "Copyright (C) 2025 com.meshcore.sar. All rights reserved." "\0" + VALUE "OriginalFilename", "meshcore_sar_app.exe" "\0" + VALUE "ProductName", "meshcore_sar_app" "\0" + VALUE "ProductVersion", VERSION_AS_STRING "\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1252 + END +END + +#endif // English (United States) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED diff --git a/windows/runner/flutter_window.cpp b/windows/runner/flutter_window.cpp new file mode 100644 index 0000000..955ee30 --- /dev/null +++ b/windows/runner/flutter_window.cpp @@ -0,0 +1,71 @@ +#include "flutter_window.h" + +#include + +#include "flutter/generated_plugin_registrant.h" + +FlutterWindow::FlutterWindow(const flutter::DartProject& project) + : project_(project) {} + +FlutterWindow::~FlutterWindow() {} + +bool FlutterWindow::OnCreate() { + if (!Win32Window::OnCreate()) { + return false; + } + + RECT frame = GetClientArea(); + + // The size here must match the window dimensions to avoid unnecessary surface + // creation / destruction in the startup path. + flutter_controller_ = std::make_unique( + frame.right - frame.left, frame.bottom - frame.top, project_); + // Ensure that basic setup of the controller was successful. + if (!flutter_controller_->engine() || !flutter_controller_->view()) { + return false; + } + RegisterPlugins(flutter_controller_->engine()); + SetChildContent(flutter_controller_->view()->GetNativeWindow()); + + flutter_controller_->engine()->SetNextFrameCallback([&]() { + this->Show(); + }); + + // Flutter can complete the first frame before the "show window" callback is + // registered. The following call ensures a frame is pending to ensure the + // window is shown. It is a no-op if the first frame hasn't completed yet. + flutter_controller_->ForceRedraw(); + + return true; +} + +void FlutterWindow::OnDestroy() { + if (flutter_controller_) { + flutter_controller_ = nullptr; + } + + Win32Window::OnDestroy(); +} + +LRESULT +FlutterWindow::MessageHandler(HWND hwnd, UINT const message, + WPARAM const wparam, + LPARAM const lparam) noexcept { + // Give Flutter, including plugins, an opportunity to handle window messages. + if (flutter_controller_) { + std::optional result = + flutter_controller_->HandleTopLevelWindowProc(hwnd, message, wparam, + lparam); + if (result) { + return *result; + } + } + + switch (message) { + case WM_FONTCHANGE: + flutter_controller_->engine()->ReloadSystemFonts(); + break; + } + + return Win32Window::MessageHandler(hwnd, message, wparam, lparam); +} diff --git a/windows/runner/flutter_window.h b/windows/runner/flutter_window.h new file mode 100644 index 0000000..6da0652 --- /dev/null +++ b/windows/runner/flutter_window.h @@ -0,0 +1,33 @@ +#ifndef RUNNER_FLUTTER_WINDOW_H_ +#define RUNNER_FLUTTER_WINDOW_H_ + +#include +#include + +#include + +#include "win32_window.h" + +// A window that does nothing but host a Flutter view. +class FlutterWindow : public Win32Window { + public: + // Creates a new FlutterWindow hosting a Flutter view running |project|. + explicit FlutterWindow(const flutter::DartProject& project); + virtual ~FlutterWindow(); + + protected: + // Win32Window: + bool OnCreate() override; + void OnDestroy() override; + LRESULT MessageHandler(HWND window, UINT const message, WPARAM const wparam, + LPARAM const lparam) noexcept override; + + private: + // The project to run. + flutter::DartProject project_; + + // The Flutter instance hosted by this window. + std::unique_ptr flutter_controller_; +}; + +#endif // RUNNER_FLUTTER_WINDOW_H_ diff --git a/windows/runner/main.cpp b/windows/runner/main.cpp new file mode 100644 index 0000000..34914b8 --- /dev/null +++ b/windows/runner/main.cpp @@ -0,0 +1,43 @@ +#include +#include +#include + +#include "flutter_window.h" +#include "utils.h" + +int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, + _In_ wchar_t *command_line, _In_ int show_command) { + // Attach to console when present (e.g., 'flutter run') or create a + // new console when running with a debugger. + if (!::AttachConsole(ATTACH_PARENT_PROCESS) && ::IsDebuggerPresent()) { + CreateAndAttachConsole(); + } + + // Initialize COM, so that it is available for use in the library and/or + // plugins. + ::CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED); + + flutter::DartProject project(L"data"); + + std::vector command_line_arguments = + GetCommandLineArguments(); + + project.set_dart_entrypoint_arguments(std::move(command_line_arguments)); + + FlutterWindow window(project); + Win32Window::Point origin(10, 10); + Win32Window::Size size(1280, 720); + if (!window.Create(L"meshcore_sar_app", origin, size)) { + return EXIT_FAILURE; + } + window.SetQuitOnClose(true); + + ::MSG msg; + while (::GetMessage(&msg, nullptr, 0, 0)) { + ::TranslateMessage(&msg); + ::DispatchMessage(&msg); + } + + ::CoUninitialize(); + return EXIT_SUCCESS; +} diff --git a/windows/runner/resource.h b/windows/runner/resource.h new file mode 100644 index 0000000..66a65d1 --- /dev/null +++ b/windows/runner/resource.h @@ -0,0 +1,16 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by Runner.rc +// +#define IDI_APP_ICON 101 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 102 +#define _APS_NEXT_COMMAND_VALUE 40001 +#define _APS_NEXT_CONTROL_VALUE 1001 +#define _APS_NEXT_SYMED_VALUE 101 +#endif +#endif diff --git a/windows/runner/resources/app_icon.ico b/windows/runner/resources/app_icon.ico new file mode 100644 index 0000000..c04e20c Binary files /dev/null and b/windows/runner/resources/app_icon.ico differ diff --git a/windows/runner/runner.exe.manifest b/windows/runner/runner.exe.manifest new file mode 100644 index 0000000..153653e --- /dev/null +++ b/windows/runner/runner.exe.manifest @@ -0,0 +1,14 @@ + + + + + PerMonitorV2 + + + + + + + + + diff --git a/windows/runner/utils.cpp b/windows/runner/utils.cpp new file mode 100644 index 0000000..3a0b465 --- /dev/null +++ b/windows/runner/utils.cpp @@ -0,0 +1,65 @@ +#include "utils.h" + +#include +#include +#include +#include + +#include + +void CreateAndAttachConsole() { + if (::AllocConsole()) { + FILE *unused; + if (freopen_s(&unused, "CONOUT$", "w", stdout)) { + _dup2(_fileno(stdout), 1); + } + if (freopen_s(&unused, "CONOUT$", "w", stderr)) { + _dup2(_fileno(stdout), 2); + } + std::ios::sync_with_stdio(); + FlutterDesktopResyncOutputStreams(); + } +} + +std::vector GetCommandLineArguments() { + // Convert the UTF-16 command line arguments to UTF-8 for the Engine to use. + int argc; + wchar_t** argv = ::CommandLineToArgvW(::GetCommandLineW(), &argc); + if (argv == nullptr) { + return std::vector(); + } + + std::vector command_line_arguments; + + // Skip the first argument as it's the binary name. + for (int i = 1; i < argc; i++) { + command_line_arguments.push_back(Utf8FromUtf16(argv[i])); + } + + ::LocalFree(argv); + + return command_line_arguments; +} + +std::string Utf8FromUtf16(const wchar_t* utf16_string) { + if (utf16_string == nullptr) { + return std::string(); + } + unsigned int target_length = ::WideCharToMultiByte( + CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string, + -1, nullptr, 0, nullptr, nullptr) + -1; // remove the trailing null character + int input_length = (int)wcslen(utf16_string); + std::string utf8_string; + if (target_length == 0 || target_length > utf8_string.max_size()) { + return utf8_string; + } + utf8_string.resize(target_length); + int converted_length = ::WideCharToMultiByte( + CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string, + input_length, utf8_string.data(), target_length, nullptr, nullptr); + if (converted_length == 0) { + return std::string(); + } + return utf8_string; +} diff --git a/windows/runner/utils.h b/windows/runner/utils.h new file mode 100644 index 0000000..3879d54 --- /dev/null +++ b/windows/runner/utils.h @@ -0,0 +1,19 @@ +#ifndef RUNNER_UTILS_H_ +#define RUNNER_UTILS_H_ + +#include +#include + +// Creates a console for the process, and redirects stdout and stderr to +// it for both the runner and the Flutter library. +void CreateAndAttachConsole(); + +// Takes a null-terminated wchar_t* encoded in UTF-16 and returns a std::string +// encoded in UTF-8. Returns an empty std::string on failure. +std::string Utf8FromUtf16(const wchar_t* utf16_string); + +// Gets the command line arguments passed in as a std::vector, +// encoded in UTF-8. Returns an empty std::vector on failure. +std::vector GetCommandLineArguments(); + +#endif // RUNNER_UTILS_H_ diff --git a/windows/runner/win32_window.cpp b/windows/runner/win32_window.cpp new file mode 100644 index 0000000..60608d0 --- /dev/null +++ b/windows/runner/win32_window.cpp @@ -0,0 +1,288 @@ +#include "win32_window.h" + +#include +#include + +#include "resource.h" + +namespace { + +/// Window attribute that enables dark mode window decorations. +/// +/// Redefined in case the developer's machine has a Windows SDK older than +/// version 10.0.22000.0. +/// See: https://docs.microsoft.com/windows/win32/api/dwmapi/ne-dwmapi-dwmwindowattribute +#ifndef DWMWA_USE_IMMERSIVE_DARK_MODE +#define DWMWA_USE_IMMERSIVE_DARK_MODE 20 +#endif + +constexpr const wchar_t kWindowClassName[] = L"FLUTTER_RUNNER_WIN32_WINDOW"; + +/// Registry key for app theme preference. +/// +/// A value of 0 indicates apps should use dark mode. A non-zero or missing +/// value indicates apps should use light mode. +constexpr const wchar_t kGetPreferredBrightnessRegKey[] = + L"Software\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize"; +constexpr const wchar_t kGetPreferredBrightnessRegValue[] = L"AppsUseLightTheme"; + +// The number of Win32Window objects that currently exist. +static int g_active_window_count = 0; + +using EnableNonClientDpiScaling = BOOL __stdcall(HWND hwnd); + +// Scale helper to convert logical scaler values to physical using passed in +// scale factor +int Scale(int source, double scale_factor) { + return static_cast(source * scale_factor); +} + +// Dynamically loads the |EnableNonClientDpiScaling| from the User32 module. +// This API is only needed for PerMonitor V1 awareness mode. +void EnableFullDpiSupportIfAvailable(HWND hwnd) { + HMODULE user32_module = LoadLibraryA("User32.dll"); + if (!user32_module) { + return; + } + auto enable_non_client_dpi_scaling = + reinterpret_cast( + GetProcAddress(user32_module, "EnableNonClientDpiScaling")); + if (enable_non_client_dpi_scaling != nullptr) { + enable_non_client_dpi_scaling(hwnd); + } + FreeLibrary(user32_module); +} + +} // namespace + +// Manages the Win32Window's window class registration. +class WindowClassRegistrar { + public: + ~WindowClassRegistrar() = default; + + // Returns the singleton registrar instance. + static WindowClassRegistrar* GetInstance() { + if (!instance_) { + instance_ = new WindowClassRegistrar(); + } + return instance_; + } + + // Returns the name of the window class, registering the class if it hasn't + // previously been registered. + const wchar_t* GetWindowClass(); + + // Unregisters the window class. Should only be called if there are no + // instances of the window. + void UnregisterWindowClass(); + + private: + WindowClassRegistrar() = default; + + static WindowClassRegistrar* instance_; + + bool class_registered_ = false; +}; + +WindowClassRegistrar* WindowClassRegistrar::instance_ = nullptr; + +const wchar_t* WindowClassRegistrar::GetWindowClass() { + if (!class_registered_) { + WNDCLASS window_class{}; + window_class.hCursor = LoadCursor(nullptr, IDC_ARROW); + window_class.lpszClassName = kWindowClassName; + window_class.style = CS_HREDRAW | CS_VREDRAW; + window_class.cbClsExtra = 0; + window_class.cbWndExtra = 0; + window_class.hInstance = GetModuleHandle(nullptr); + window_class.hIcon = + LoadIcon(window_class.hInstance, MAKEINTRESOURCE(IDI_APP_ICON)); + window_class.hbrBackground = 0; + window_class.lpszMenuName = nullptr; + window_class.lpfnWndProc = Win32Window::WndProc; + RegisterClass(&window_class); + class_registered_ = true; + } + return kWindowClassName; +} + +void WindowClassRegistrar::UnregisterWindowClass() { + UnregisterClass(kWindowClassName, nullptr); + class_registered_ = false; +} + +Win32Window::Win32Window() { + ++g_active_window_count; +} + +Win32Window::~Win32Window() { + --g_active_window_count; + Destroy(); +} + +bool Win32Window::Create(const std::wstring& title, + const Point& origin, + const Size& size) { + Destroy(); + + const wchar_t* window_class = + WindowClassRegistrar::GetInstance()->GetWindowClass(); + + const POINT target_point = {static_cast(origin.x), + static_cast(origin.y)}; + HMONITOR monitor = MonitorFromPoint(target_point, MONITOR_DEFAULTTONEAREST); + UINT dpi = FlutterDesktopGetDpiForMonitor(monitor); + double scale_factor = dpi / 96.0; + + HWND window = CreateWindow( + window_class, title.c_str(), WS_OVERLAPPEDWINDOW, + Scale(origin.x, scale_factor), Scale(origin.y, scale_factor), + Scale(size.width, scale_factor), Scale(size.height, scale_factor), + nullptr, nullptr, GetModuleHandle(nullptr), this); + + if (!window) { + return false; + } + + UpdateTheme(window); + + return OnCreate(); +} + +bool Win32Window::Show() { + return ShowWindow(window_handle_, SW_SHOWNORMAL); +} + +// static +LRESULT CALLBACK Win32Window::WndProc(HWND const window, + UINT const message, + WPARAM const wparam, + LPARAM const lparam) noexcept { + if (message == WM_NCCREATE) { + auto window_struct = reinterpret_cast(lparam); + SetWindowLongPtr(window, GWLP_USERDATA, + reinterpret_cast(window_struct->lpCreateParams)); + + auto that = static_cast(window_struct->lpCreateParams); + EnableFullDpiSupportIfAvailable(window); + that->window_handle_ = window; + } else if (Win32Window* that = GetThisFromHandle(window)) { + return that->MessageHandler(window, message, wparam, lparam); + } + + return DefWindowProc(window, message, wparam, lparam); +} + +LRESULT +Win32Window::MessageHandler(HWND hwnd, + UINT const message, + WPARAM const wparam, + LPARAM const lparam) noexcept { + switch (message) { + case WM_DESTROY: + window_handle_ = nullptr; + Destroy(); + if (quit_on_close_) { + PostQuitMessage(0); + } + return 0; + + case WM_DPICHANGED: { + auto newRectSize = reinterpret_cast(lparam); + LONG newWidth = newRectSize->right - newRectSize->left; + LONG newHeight = newRectSize->bottom - newRectSize->top; + + SetWindowPos(hwnd, nullptr, newRectSize->left, newRectSize->top, newWidth, + newHeight, SWP_NOZORDER | SWP_NOACTIVATE); + + return 0; + } + case WM_SIZE: { + RECT rect = GetClientArea(); + if (child_content_ != nullptr) { + // Size and position the child window. + MoveWindow(child_content_, rect.left, rect.top, rect.right - rect.left, + rect.bottom - rect.top, TRUE); + } + return 0; + } + + case WM_ACTIVATE: + if (child_content_ != nullptr) { + SetFocus(child_content_); + } + return 0; + + case WM_DWMCOLORIZATIONCOLORCHANGED: + UpdateTheme(hwnd); + return 0; + } + + return DefWindowProc(window_handle_, message, wparam, lparam); +} + +void Win32Window::Destroy() { + OnDestroy(); + + if (window_handle_) { + DestroyWindow(window_handle_); + window_handle_ = nullptr; + } + if (g_active_window_count == 0) { + WindowClassRegistrar::GetInstance()->UnregisterWindowClass(); + } +} + +Win32Window* Win32Window::GetThisFromHandle(HWND const window) noexcept { + return reinterpret_cast( + GetWindowLongPtr(window, GWLP_USERDATA)); +} + +void Win32Window::SetChildContent(HWND content) { + child_content_ = content; + SetParent(content, window_handle_); + RECT frame = GetClientArea(); + + MoveWindow(content, frame.left, frame.top, frame.right - frame.left, + frame.bottom - frame.top, true); + + SetFocus(child_content_); +} + +RECT Win32Window::GetClientArea() { + RECT frame; + GetClientRect(window_handle_, &frame); + return frame; +} + +HWND Win32Window::GetHandle() { + return window_handle_; +} + +void Win32Window::SetQuitOnClose(bool quit_on_close) { + quit_on_close_ = quit_on_close; +} + +bool Win32Window::OnCreate() { + // No-op; provided for subclasses. + return true; +} + +void Win32Window::OnDestroy() { + // No-op; provided for subclasses. +} + +void Win32Window::UpdateTheme(HWND const window) { + DWORD light_mode; + DWORD light_mode_size = sizeof(light_mode); + LSTATUS result = RegGetValue(HKEY_CURRENT_USER, kGetPreferredBrightnessRegKey, + kGetPreferredBrightnessRegValue, + RRF_RT_REG_DWORD, nullptr, &light_mode, + &light_mode_size); + + if (result == ERROR_SUCCESS) { + BOOL enable_dark_mode = light_mode == 0; + DwmSetWindowAttribute(window, DWMWA_USE_IMMERSIVE_DARK_MODE, + &enable_dark_mode, sizeof(enable_dark_mode)); + } +} diff --git a/windows/runner/win32_window.h b/windows/runner/win32_window.h new file mode 100644 index 0000000..e901dde --- /dev/null +++ b/windows/runner/win32_window.h @@ -0,0 +1,102 @@ +#ifndef RUNNER_WIN32_WINDOW_H_ +#define RUNNER_WIN32_WINDOW_H_ + +#include + +#include +#include +#include + +// A class abstraction for a high DPI-aware Win32 Window. Intended to be +// inherited from by classes that wish to specialize with custom +// rendering and input handling +class Win32Window { + public: + struct Point { + unsigned int x; + unsigned int y; + Point(unsigned int x, unsigned int y) : x(x), y(y) {} + }; + + struct Size { + unsigned int width; + unsigned int height; + Size(unsigned int width, unsigned int height) + : width(width), height(height) {} + }; + + Win32Window(); + virtual ~Win32Window(); + + // Creates a win32 window with |title| that is positioned and sized using + // |origin| and |size|. New windows are created on the default monitor. Window + // sizes are specified to the OS in physical pixels, hence to ensure a + // consistent size this function will scale the inputted width and height as + // as appropriate for the default monitor. The window is invisible until + // |Show| is called. Returns true if the window was created successfully. + bool Create(const std::wstring& title, const Point& origin, const Size& size); + + // Show the current window. Returns true if the window was successfully shown. + bool Show(); + + // Release OS resources associated with window. + void Destroy(); + + // Inserts |content| into the window tree. + void SetChildContent(HWND content); + + // Returns the backing Window handle to enable clients to set icon and other + // window properties. Returns nullptr if the window has been destroyed. + HWND GetHandle(); + + // If true, closing this window will quit the application. + void SetQuitOnClose(bool quit_on_close); + + // Return a RECT representing the bounds of the current client area. + RECT GetClientArea(); + + protected: + // Processes and route salient window messages for mouse handling, + // size change and DPI. Delegates handling of these to member overloads that + // inheriting classes can handle. + virtual LRESULT MessageHandler(HWND window, + UINT const message, + WPARAM const wparam, + LPARAM const lparam) noexcept; + + // Called when CreateAndShow is called, allowing subclass window-related + // setup. Subclasses should return false if setup fails. + virtual bool OnCreate(); + + // Called when Destroy is called. + virtual void OnDestroy(); + + private: + friend class WindowClassRegistrar; + + // OS callback called by message pump. Handles the WM_NCCREATE message which + // is passed when the non-client area is being created and enables automatic + // non-client DPI scaling so that the non-client area automatically + // responds to changes in DPI. All other messages are handled by + // MessageHandler. + static LRESULT CALLBACK WndProc(HWND const window, + UINT const message, + WPARAM const wparam, + LPARAM const lparam) noexcept; + + // Retrieves a class instance pointer for |window| + static Win32Window* GetThisFromHandle(HWND const window) noexcept; + + // Update the window frame's theme to match the system theme. + static void UpdateTheme(HWND const window); + + bool quit_on_close_ = false; + + // window handle for top level window. + HWND window_handle_ = nullptr; + + // window handle for hosted content. + HWND child_content_ = nullptr; +}; + +#endif // RUNNER_WIN32_WINDOW_H_