Skip to content

Conversation

@teodorciuraru
Copy link
Contributor

@teodorciuraru teodorciuraru commented Oct 23, 2025

Summary

  • Add basic attachment functionality to Flutter quickstart app
  • Configure macOS for P2P sync with required permissions and entitlements
  • Add iOS simulator support for Release/Profile builds

Details

Attachment Implementation

  • Add optional attachment field to Task model
  • Add attachment note input field in task dialog
  • Implement attachment creation with store.newAttachment()
  • Implement attachment fetching with store.fetchAttachment()
  • Display attachment indicator and view button in task list

macOS P2P Permissions

  • Add NSBluetoothAlwaysUsageDescription for BLE sync
  • Add NSLocalNetworkUsageDescription for WiFi P2P
  • Add NSBonjourServices for local network discovery
  • Add com.apple.security.network.client entitlement for cloud sync
  • Add com.apple.security.network.server entitlement for P2P sync

iOS Simulator Support

  • Add iphonesimulator to SUPPORTED_PLATFORMS for Release/Profile builds

Test plan

  • Test attachment creation and viewing on iOS
  • Test attachment creation and viewing on Android
  • Test attachment creation and viewing on macOS
  • Verify macOS P2P sync works with permissions
  • Verify iOS simulator builds work in Release/Profile modes

🤖 Generated with Claude Code

Add basic attachment functionality to Flutter quickstart app and
configure macOS for P2P sync.

Attachment implementation:
- Add optional attachment field to Task model
- Add attachment note input field in task dialog
- Implement attachment creation with store.newAttachment()
- Implement attachment fetching with store.fetchAttachment()
- Display attachment indicator and view button in task list

macOS P2P permissions:
- Add NSBluetoothAlwaysUsageDescription for BLE sync
- Add NSLocalNetworkUsageDescription for WiFi P2P
- Add NSBonjourServices for local network discovery
- Add com.apple.security.network.client entitlement for cloud sync
- Add com.apple.security.network.server entitlement for P2P sync

iOS simulator support:
- Add iphonesimulator to SUPPORTED_PLATFORMS for Release/Profile builds

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@teodorciuraru teodorciuraru self-assigned this Oct 23, 2025
…LATFORMS

Flutter does not support release or profile builds on iOS simulators. This
reverts the SUPPORTED_PLATFORMS to only include iphoneos for these
configurations, matching Flutter's default behavior.

Reference: flutter/flutter#38905

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@teodorciuraru teodorciuraru force-pushed the feat/flutter-attachments-macos branch from 5f9acf8 to 9ce000f Compare October 23, 2025 14:14
Teodor Ciuraru and others added 2 commits October 23, 2025 17:24
The dart:typed_data import is unnecessary because Uint8List is already
provided by flutter/foundation.dart which is imported.

Fixed lint warning:
- unnecessary_import: lib/main.dart:2:8

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants