Amplify Android 1.6.2
DataStore
- Selective Sync: Added ability to filter which data is synced to the client (everything is synced by default) (#959)
Amplify.addPlugin(new AWSDataStorePlugin(DataStoreConfiguration.builder()
.syncExpression(Blog.class, () -> Blog.NAME.equals("foo"))
.syncExpression(Post.class, () -> Post.TITLE.beginsWith("bar"))
.syncExpression(Comment.class, () -> Comment.CONTENT.contains("baz"))
.build()));
Amplify.configure(context);
See the following diff for a complete set of changes since the last release.