Skip to content

Instantly share code, notes, and snippets.

@sebsto
Created January 20, 2019 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sebsto/2ac07eac2794315cfef42ce54554d34a to your computer and use it in GitHub Desktop.
Save sebsto/2ac07eac2794315cfef42ce54554d34a to your computer and use it in GitHub Desktop.
appsync client creation by default
// initialize the AppSync client
val appSyncClient = AWSAppSyncClient.builder()
.context(applicationContext)
.awsConfiguration(AWSConfiguration(applicationContext))
.credentialsProvider(credentialsProvider)
.build()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment