Docs: mention requiement for macOS entitlements

This commit is contained in:
talksik
2025-08-05 10:08:50 -07:00
parent 5bc73f2803
commit 0485d46172
+11 -1
View File
@@ -128,6 +128,16 @@ For IOS and macOS, you need to add the following values to **Info.plist**:
<string>[Your description here]</string> <string>[Your description here]</string>
``` ```
For macOS, you must have the following in `Release.entitlements` and `DebugProfile.entitlements`:
```
...
<key>com.apple.security.network.server</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
...
```
- `NSBonjourServices` - `NSBonjourServices`
For the `nearby_service` plugin, you should add the value `<string>_mp-connection._tcp</string>`. This key is For the `nearby_service` plugin, you should add the value `<string>_mp-connection._tcp</string>`. This key is
@@ -603,4 +613,4 @@ assert(
#### Flutter Configuration #### Flutter Configuration
If you're developing a plugin based on `nearby_service`, note that the `pubspec.yaml` now uses `sharedDarwinSource: true` to share code between iOS and macOS platforms. If you're developing a plugin based on `nearby_service`, note that the `pubspec.yaml` now uses `sharedDarwinSource: true` to share code between iOS and macOS platforms.