3
votes

Does Amplify support the Offline capabilities outlined here: https://docs.aws.amazon.com/appsync/latest/devguide/building-a-client-app-react.html#offline-settings

Should I set it up like this? https://aws.github.io/aws-amplify/media/api_guide#configuration-for-graphql-server

Or for offline capabilities, do I have to use something like Apollo?

1

1 Answers

6
votes

There is a difference between AWS Amplify and AWS App Sync.

AWS Amplify is a library for web and mobile developement in JavaScript providing better access to AWS services like Auth, Analytics, Storage, APIs, Caching.

AWS AppSync is a combination of service that works as a GraphQL server and SDK (for web, iOS and Android). This SDK extends Apollo Client to provide capabilities like Offline and Realtime synchronization out of the box.

So, to answer your question: AWS AppSync does provide offline via its SDK out of the box and you shouldn’t need to do anything specifically to set up that.