You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Copy file name to clipboardExpand all lines: packages/flutter/README.md
+13
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,19 @@ Due to Cross-origin resource sharing (CORS) restrictions, this requires adding `
52
52
When running directly via docker, set the env var `PARSE_SERVER_ALLOW_HEADERS=X-Parse-Installation-Id`.
53
53
When running via express, set [ParseServerOptions](https://parseplatform.org/parse-server/api/master/ParseServerOptions.html)`allowHeaders: ['X-Parse-Installation-Id']`.
54
54
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
+
55
68
#### Network client
56
69
By default, this SDK uses the `ParseHTTPClient`.
57
70
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