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
* unhandled exception in `ParseRelation`, type `ParseObject` is not a subtype of type ([#696](https://github.com/parse-community/Parse-SDK-Flutter/issues/696))
6
+
* error in progress callback ([#679](https://github.com/parse-community/Parse-SDK-Flutter/issues/679))
7
+
* incorrect return type when calling `first()` ([#661](https://github.com/parse-community/Parse-SDK-Flutter/issues/661))
8
+
* error in `ParseLiveListWidget` when enabling `lazyloading` ([#653](https://github.com/parse-community/Parse-SDK-Flutter/issues/653))
9
+
* unexpected null value after call `user.logout()` ([#770](https://github.com/parse-community/Parse-SDK-Flutter/issues/770))
Copy file name to clipboardExpand all lines: packages/dart/README.md
+8-1
Original file line number
Diff line number
Diff line change
@@ -272,7 +272,7 @@ This method returns an `Future` that either resolves in an error (equivalent of
272
272
273
273
Choosing between `query()` and `find()` comes down to personal preference. Both methods can be used for querying a `ParseQuery`, just the output method differs.
274
274
275
-
Similar to `find()` the `QueryBuilder` also has a function called `Future<T>? first()`. Just like `find()``first()` is just a convenience method that makes querying the first object satisfying the query simpler. `first()` returns an `Future`, that resoles in an error or the first object matching the query. In case no object satisfies the query, the result will be `null`.
275
+
Similar to `find()` the `QueryBuilder` also has a function called `Future<T?> first()`. Just like `find()``first()` is just a convenience method that makes querying the first object satisfying the query simpler. `first()` returns an `Future`, that resoles in an error or the first object matching the query. In case no object satisfies the query, the result will be `null`.
276
276
277
277
## Complex Queries
278
278
You can create complex queries to really put your database to the test:
@@ -739,6 +739,13 @@ You can retrieve the ACL list of an object using:
Copy file name to clipboardExpand all lines: packages/flutter/README.md
+21-1
Original file line number
Diff line number
Diff line change
@@ -80,6 +80,19 @@ Due to Cross-origin resource sharing (CORS) restrictions, this requires adding `
80
80
When running directly via docker, set the env var `PARSE_SERVER_ALLOW_HEADERS=X-Parse-Installation-Id`.
81
81
When running via express, set [ParseServerOptions](https://parseplatform.org/parse-server/api/master/ParseServerOptions.html)`allowHeaders: ['X-Parse-Installation-Id']`.
82
82
83
+
#### Desktop Support (macOS)
84
+
The security entitlements posed by the macOS framework require that your app is granted permission to open outgoing network connections, so that the Parse Flutter SDK can communicate with Parse Server. To grant this permission, add the following lines:
85
+
```
86
+
<key>com.apple.security.network.client</key>
87
+
<true/>
88
+
```
89
+
to the following files:
90
+
```
91
+
/macOS/Runner/Release.entitlements
92
+
/macOS/Runner/DebugProfile.entitlements
93
+
```
94
+
to help the Parse SDK for Flutter communicate with the Web to access the server and send/retrive data.
95
+
83
96
#### Network client
84
97
By default, this SDK uses the `ParseHTTPClient`.
85
98
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.
@@ -296,7 +309,7 @@ This method returns an `Future` that either resolves in an error (equivalent of
296
309
297
310
Choosing between `query()` and `find()` comes down to personal preference. Both methods can be used for querying a `ParseQuery`, just the output method differs.
298
311
299
-
Similar to `find()` the `QueryBuilder` also has a function called `Future<T>? first()`. Just like `find()``first()` is just a convenience method that makes querying the first object satisfying the query simpler. `first()` returns an `Future`, that resoles in an error or the first object matching the query. In case no object satisfies the query, the result will be `null`.
312
+
Similar to `find()` the `QueryBuilder` also has a function called `Future<T?> first()`. Just like `find()``first()` is just a convenience method that makes querying the first object satisfying the query simpler. `first()` returns an `Future`, that resoles in an error or the first object matching the query. In case no object satisfies the query, the result will be `null`.
300
313
301
314
## Complex Queries
302
315
@@ -844,6 +857,13 @@ You can retrieve the ACL list of an object using:
0 commit comments