Skip to content

Amplify Android 1.6.2

Compare
Choose a tag to compare
@richardmcclellan richardmcclellan released this 20 Nov 02:14
0f8dcdc

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.