Docs: mention requiement for macOS entitlements
This commit is contained in:
@@ -128,6 +128,16 @@ For IOS and macOS, you need to add the following values to **Info.plist**:
|
||||
<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`
|
||||
|
||||
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
|
||||
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user