aws-mobile-appsync-sdk-android

Android SDK for AWS AppSync.

APACHE-2.0 License

Stars
105
Committers
41

Bot releases are visible (Hide)

aws-mobile-appsync-sdk-android - AWS AppSync SDK for Android 3.4.1 Latest Release

Published by github-actions[bot] 11 months ago

Miscellaneous

  • Pin GitHub Actions by commit-hash (#418)
  • Update Node Version for Codegen (#420)
  • Update release_pr.yml (#421)
aws-mobile-appsync-sdk-android - AWS AppSync SDK for Android 3.4.0

Published by github-actions[bot] over 1 year ago

Features

  • Add support for Gradle 8 (#411)

Miscellaneous

  • Add guidance with links to use Amplify over AppSync SDK (#402)
aws-mobile-appsync-sdk-android - AWS AppSync SDK for Android 3.3.2

Published by github-actions[bot] over 2 years ago

Miscellaneous

  • rotate travis creds (#390)
  • Create notify_comments.yml (#392)
  • Fix duplicate Nullable annotation (#397)
aws-mobile-appsync-sdk-android - AWS AppSync SDK for Android 3.3.1

Published by github-actions[bot] over 2 years ago

Miscellaneous

  • re-encrypt config file (#384)
  • Chore/Adding codeowners to the appsync repo (#388)
  • Add checks to prevent re-initialization of the connectivitywatcher and unregistering before registering the same watcher to prevent too many requests to networkcallback registration (#387)
aws-mobile-appsync-sdk-android - AWS AppSync SDK for Android 3.3.0

Published by github-actions[bot] almost 3 years ago

Features

  • port custom domain support. (#379)

Miscellaneous

  • Chore: rotate travisCI creds (#378)
aws-mobile-appsync-sdk-android - AWS AppSync SDK for Android 3.2.1

Published by github-actions[bot] almost 3 years ago

Miscellaneous

  • Update README.md
  • Add support for Gradle 7 projects (#361)
  • Migrate project to AndroidX libraries (#362)
  • Add support for Gradle 7 projects (#372)
aws-mobile-appsync-sdk-android - AWS AppSync SDK for Android 3.2.0

Published by github-actions[bot] about 3 years ago

Features

  • add support for AWS_LAMBDA auth mode (#358)
aws-mobile-appsync-sdk-android - AWS AppSync SDK for Android 3.1.4

Published by github-actions[bot] over 3 years ago

Bug Fixes

  • retry interceptor now closes previous response (#332)
aws-mobile-appsync-sdk-android - AWS AppSync SDK for Android v3.1.3

Published by changxu0306 over 3 years ago

aws-mobile-appsync-sdk-android - AWS AppSync SDK for Android v3.1.2

Published by raphkim almost 4 years ago

aws-mobile-appsync-sdk-android - AWS AppSync SDK for Android v3.1.1

Published by jamesonwilliams about 4 years ago

aws-mobile-appsync-sdk-android - AWS AppSync SDK for Android v2.11.0

Published by jamesonwilliams about 4 years ago

Release 2.11.0

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.

Bug Fixes

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.

aws-mobile-appsync-sdk-android - AWS AppSync SDK for Android v3.1.0

Published by jamesonwilliams over 4 years ago

Release 3.1.0

Bug Fixes

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.

aws-mobile-appsync-sdk-android - AWS AppSync SDK for Android v3.0.1

Published by desokroshan almost 5 years ago

Release 3.0.1

Bug Fixes

  • Added fix to preserve null list items when parsing the response. See issue #156 for details.
aws-mobile-appsync-sdk-android - AWS AppSync SDK for Android v3.0.0

Published by desokroshan almost 5 years ago

Release 3.0.0

Enhancements

  • Added support for connecting to AWS AppSync using pure WebSockets for GraphQL subscriptions.

    • Selection set filtering will be done per client as each client can define their own selection set.
      In this case the subscription selection set must be a subset of the mutation selection set. For example,
      a subscription addedPost{author title} linked to the mutation addPost(...){id author title url version}
      would receive only the author and the title of the post and none of the other fields.
      However, if the mutation didn't have the author in its selection set the subscriber would get a null
      value for the author field (or an error in case the author field is defined as required/not-null in the schema).
    • In the earlier SDK version, if you didn’t configure the associated subscription selection set with the required fields
      and relied on the mutation fields to push data to subscribed client, the behavior will change when you move to this version
      that use pure WebSockets. In the example above, a subscription without the "author" field defined in its selection set
      would still return the author name with MQTT over WebSockets as the field is defined in the mutation, the same behavior
      won’t apply for pure WebSockets. The subscription selection set is essential when using pure WebSockets: if a field is
      not explicitly defined in the subscription it won't be returned by AWS AppSync.
  • Adopted Semantic versioning

Misc. Updates

  • AWSAppSync now depends on AWSCore version 2.16.3 instead of 2.16.1.
aws-mobile-appsync-sdk-android - AWS AppSync SDK for Android v2.10.1

Published by rubyrose-aws about 5 years ago

Release 2.10.1

Enhancements

  • Make 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.

Misc. Updates

  • AWSAppSync now depends on AWSCore version 2.16.1 instead of 2.13.5.

Bug Fixes

  • If an App Sync subscription attempts to be executed while in a non-Idle state, it will now pass the error back through the callback vs. crashing the app with a runtime exception. See issue#202
aws-mobile-appsync-sdk-android - AWS AppSync SDK for Android v2.10.0

Published by desokroshan over 5 years ago

Enhancements

  • Add new validations in AWSAppSyncClient.Builder.
    • Throw RuntimeException when Android context passed in is null.
    • Throw RuntimException when there is no valid AuthMode object passed in.

Misc. Updates

  • AWSAppSync now depends on AWSCore version 2.13.5 instead of 2.13.4.
aws-mobile-appsync-sdk-android - AWS AppSync SDK for Android v2.9.0

Published by rohandubal over 5 years ago

New Features

  • Support multiple authorization modes for a single AWS AppSync GraphQL endpoint.
  • Introduced 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();
    

Misc. Updates

  • AWSAppSync now depends on AWSCore version 2.13.4 instead of 2.13.2.
aws-mobile-appsync-sdk-android - AWS AppSync SDK for Android v2.8.3

Published by palpatim over 5 years ago

Bug Fixes

  • Fixed a bug with inconsistent capitalization of class names in generated code that represent GraphQL input types. See PR #150 for details.
  • Fixed a bug with inconsistent capitalization of variables in generated code that represent fields for GraphQL types. See PR #172 for details.
aws-mobile-appsync-sdk-android - AWS AppSync SDK for Android v2.8.2

Published by desokroshan over 5 years ago

Enhancements

  • AWS AppSync plugin for gradle is now compatible with Gradle version 5.x. See issue#91 for details. To consume these changes make sure to upgrade the appsync plugin version, which can be found in the project-level build.gradle, to classpath 'com.amazonaws:aws-android-sdk-appsync-gradle-plugin:2.8.+'