Android SDK for AWS AppSync.
APACHE-2.0 License
Bot releases are hidden (Show)
Published by changxu0306 over 3 years ago
Published by raphkim almost 4 years ago
Published by jamesonwilliams about 4 years ago
Published by jamesonwilliams about 4 years ago
The 2.x releases use MQTT as a subscription transport, instead of WebSockets, as in 3.x.
Most users should use the latest release of 3.x.
The 2.11.0 release contains a back-port of support for Android Studio 4.0.0+ / Android Gradle Plugin 4.0.0+ / Gradle 6+. See https://github.com/awslabs/aws-mobile-appsync-sdk-android/issues/270.
Published by jamesonwilliams over 4 years ago
Adds support for Android Studio 4.0.0+ / Android Gradle Plugin 4.0.0+. Addresses incompatibilities with Gradle 6+. See https://github.com/awslabs/aws-mobile-appsync-sdk-android/issues/270.
Published by desokroshan almost 5 years ago
Published by desokroshan almost 5 years ago
Added support for connecting to AWS AppSync using pure WebSockets for GraphQL subscriptions.
addedPost{author title}
linked to the mutation addPost(...){id author title url version}
null
Adopted Semantic versioning
AWSAppSync
now depends on AWSCore
version 2.16.3
instead of 2.16.1
.Published by rubyrose-aws about 5 years ago
GraphQLStoreOperation.Callback
a public interface, so the AWSAppSyncStore
asynchronous operations can be passed with a callback. Thanks @cjami for the contribution. See PR #193 for details.AWSAppSync
now depends on AWSCore
version 2.16.1
instead of 2.13.5
.Published by desokroshan over 5 years ago
AWSAppSyncClient.Builder
.
RuntimeException
when Android context passed in is null.RuntimException
when there is no valid AuthMode
object passed in.AWSAppSync
now depends on AWSCore
version 2.13.5
instead of 2.13.4
.Published by rohandubal over 5 years ago
clientDatabasePrefix(String)
that accepts a prefix that will be used in the construction of database name for caching query responses, offline mutations and subscriptions metadata. The usage of the prefix can be enabled by the flag useClientDatabasePrefix(true)
. When the prefix is used, the name of the database would look as follows:Purpose of cache | No prefix | Valid prefix |
---|---|---|
Query responses | appsyncstore |
<ClientDatabasePrefix>_appsyncstore |
Offline Mutations | appsyncstore_mutation |
<ClientDatabasePrefix>_appsyncstore_mutation |
Subscriptions metadata for Delta Sync | appsync_deltasync_db |
<ClientDatabasePrefix>_appsync_deltasync_db |
The ClientDatabasePrefix
can be passed via awsconfiguration.json
that is generated from the AWS AppSync Console and Amplify CLI.
"AppSync": {
"Default": {
"ApiUrl": "https://xyz.appsync-api.us-east-2.amazonaws.com/graphql",
"Region": "us-east-2",
"AuthMode": "API_KEY",
"ApiKey": "da2-xyz",
"ClientDatabasePrefix": "MyAppSyncAPIName_API_KEY"
}
}
The AWSAppSyncClient
object can be constructed as follows:
AWSAppSyncClient awsAppSyncClient = AWSAppSyncClient.builder()
.awsConfiguration(awsConfiguration)
.useClientDatabasePrefix(true)
.build();
Alternatively, the ClientDatabasePrefix
can be passed via the AWSAppSyncClient.Builder
.
AWSAppSyncClient awsAppSyncClient = AWSAppSyncClient.builder()
.context(getApplicationContext())
.apiKey(new BasicAPIKeyAuthProvider("da2-apiKey"))
.serverUrl(serverUrl)
.region(region)
.useClientDatabasePrefix(true)
.clientDatabasePrefix("MyAppSyncAPIName_API_KEY")
.build();
AWSAppSync
now depends on AWSCore
version 2.13.4
instead of 2.13.2
.Published by palpatim over 5 years ago
Published by desokroshan over 5 years ago
classpath 'com.amazonaws:aws-android-sdk-appsync-gradle-plugin:2.8.+'
Published by desokroshan over 5 years ago
Published by desokroshan over 5 years ago
Published by palpatim over 5 years ago
NullPointerException
in the ApolloServerInterceptor
. See PR #146 Thanks @alanvan0502 !AWSAppSync
now depends on AWSCore
version 2.13.2
instead of 2.13.0
.Published by minbi over 5 years ago
AWSAppSync
now depends on AWSCore
version 2.13.0
instead of 2.12.1
.Published by scb01 over 5 years ago
AWSAppSync
now depends on AWSCore
version 2.12.1
instead of 2.11.0
.NoSuchElementException
in Subscription Reconnection logic. See issue #114.Published by rubyrose-aws over 5 years ago
subscriptionsById
map. See issue #111.userCallback
when canceling a subscription. See issue #114.Published by scb01 over 5 years ago
AWSAppSync
now depends on AWSCore
version 2.11.0
instead of 2.10.1
.mutationQueueExecutionTimeout
method. See issue #105
Published by scb01 almost 6 years ago