Skip to content

Commit b0bddc6

Browse files
authored
Update Readme.md
Updated Readme.md to include information about some extra steps to support for the desktop - macOS platform to connect to the Web and retrive/store information on Parse server due to the changes in the macOS framwork after macOS 10.7 so that user's using the Parse SDK Flutter can get their app running quick and without issues.
1 parent 8548476 commit b0bddc6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

packages/flutter/README.md

+13
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,19 @@ Due to Cross-origin resource sharing (CORS) restrictions, this requires adding `
5252
When running directly via docker, set the env var `PARSE_SERVER_ALLOW_HEADERS=X-Parse-Installation-Id`.
5353
When running via express, set [ParseServerOptions](https://parseplatform.org/parse-server/api/master/ParseServerOptions.html) `allowHeaders: ['X-Parse-Installation-Id']`.
5454

55+
#### Desktop Support (macOS)
56+
Due to security entitlements posed by the macOS framework, connecting to the Web and sharing data requires adding the following lines to code :
57+
```
58+
<key>com.apple.security.network.client</key>
59+
<true/>
60+
```
61+
to the following files:
62+
```
63+
/macOS/Runner/Release.entitlements
64+
/macOS/Runner/DebugProfile.entitlements
65+
```
66+
to help the Parse SDK for Flutter communicate with the Web to access the server and send/retrive data.
67+
5568
#### Network client
5669
By default, this SDK uses the `ParseHTTPClient`.
5770
Another option is use `ParseDioClient`. This client supports the most features (for example a progress callback at the file upload), but a benchmark has shown, that dio is slower than http on web.

0 commit comments

Comments
 (0)