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
Copy file name to clipboardExpand all lines: src/fragments/lib-v1/flutter-maintenance.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
<Calloutwarning>
2
2
3
-
Amplify Flutter v1 is now in **Maintenance Mode**until April 30th, 2025. This means that we will continue to include updates to ensure compatibility with backend services and security. No new features will be introduced in v1.
3
+
Amplify Flutter v1 is **deprecated**as of April 30th, 2025. No new features or bug fixes will be added. Dependencies may become outdated and potentially introduce compatibility issues.
4
4
5
5
Please use the latest version (v2) of [Amplify Flutter](/gen1/[platform]/tools/libraries/) to get started.
**Note:** The custom subscription `.authorization()` modifier does not support the `owner` strategy. This differs from model subscriptions and may result in a subscription event being broadcast to a larger audience.
162
+
163
+
</Callout>
164
+
159
165
You can add subscription filters by adding arguments to the custom subscriptions.
160
166
161
167
{/* ### Basic subscription filters based on exact match
<Accordiontitle="Review how this works under the hood with Amazon DynamoDB">
108
129
109
130
Amplify uses Amazon DynamoDB tables as the default data source for `a.model()`. For key-value databases, it is critical to model your access patterns with "secondary indexes". Use the `.secondaryIndexes()` modifier to configure a secondary index.
On the client side, you should find a new `listBy...` query that's named after hash key and sort keys. For example, in this case: `listByAccountRepresentativeIdAndName`. You can supply the filter as part of this new list query:
139
160
@@ -185,6 +206,26 @@ let queriedCustomers = try await Amplify.API.query(
185
206
```
186
207
</InlineFilter>
187
208
209
+
<InlineFilterfilters={["flutter"]}>
210
+
211
+
The example client query below allows you to query for "Customer" records based on their `name` AND their `accountRepresentativeId`:
0 commit comments