Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

com.amplifyframework:aws-core

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

com.amplifyframework:aws-core

Amplify Framework for Android - AWS Core components and utilities for AWS Amplify Libraries

  • 2.23.0
  • Source
  • Maven
  • Socket score

Version published
Maintainers
1
Source

Amplify for Android

AWS Amplify

DiscordChat GitHub release Maven Central

The Amplify Android library is AWS' preferred mechanism for interacting with AWS services from an Android device.

The library provides a high-level interface to perform different categories of cloud operations. Each category may be fulfilled by a plugin, which you configure during setup.

The default plugins that we provide are designed to facilitate interaction with Amazon Web Services (AWS). But, the Amplify Framework is designed to be extensible to any other backend or service.

To familiarize yourself with Amplify, checkout our Getting Started Guide.

Categories

CategoryAWS ProviderDescription
AuthenticationCognitoBuilding blocks to create auth experiences
StorageS3Manages content in public, protected, private storage buckets
DataStoreAppSyncProgramming model for shared and distributed data, with simple online/offline synchronization
API (GraphQL)AppSyncInteract with your GraphQL or AppSync endpoint
API (REST)API GatewaySigv4 signing and AWS auth for API Gateway and other REST endpoints
AnalyticsPinpointCollect Analytics data for your app including tracking user sessions
GeoLocationAdd maps to your app with APIs and map UI components
PredictionsVarious*Connect your app with machine learning services like NLP, computer vision, TTS, and more.
Push NotificationsPinpointSegment users, trigger push notifications, and record metrics

* Predictions utilizes a range of Amazon's Machine Learning services, including: Amazon Comprehend, Amazon Polly, Amazon Rekognition, Amazon Textract, and Amazon Translate.

All services and features not listed above are supported via the Kotlin SDK or if supported by a category can be accessed via the Escape Hatch like below:

Kotlin

val s3StoragePlugin = Amplify.Storage.getPlugin("awsS3StoragePlugin")
val s3Client = s3StoragePlugin.escapeHatch as S3Client

Java

AWSS3StoragePlugin plugin = (AWSS3StoragePlugin) Amplify.Storage.getPlugin("awsS3StoragePlugin");
S3Client s3Client = plugin.getEscapeHatch();

Platform Support

The Amplify Framework supports Android API level 24 (Android 7.0) and above.

Using Amplify from Your App

For step-by-step setup instructions, checkout our Project Setup guide.

Specifying Gradle Dependencies

To begin, include Amplify from your app module's build.gradle dependencies section:

dependencies {
    // Only specify modules that provide functionality your app will use
    implementation 'com.amplifyframework:aws-analytics-pinpoint:2.25.0'
    implementation 'com.amplifyframework:aws-api:2.25.0'
    implementation 'com.amplifyframework:aws-auth-cognito:2.25.0'
    implementation 'com.amplifyframework:aws-datastore:2.25.0'
    implementation 'com.amplifyframework:aws-predictions:2.25.0'
    implementation 'com.amplifyframework:aws-storage-s3:2.25.0'
    implementation 'com.amplifyframework:aws-geo-location:2.25.0'
    implementation 'com.amplifyframework:aws-push-notifications-pinpoint:2.25.0'
}

Java 8 Requirement

Amplify Android requires Java 8 features. Please add a compileOptions block inside your app's build.gradle, as below:

android {
    compileOptions {
        coreLibraryDesugaringEnabled true
        sourceCompatibility JavaVersion.VERSION_11
        targetCompatibility JavaVersion.VERSION_11
    }
}

In the same file, add core library desugaring in your dependencies block:

dependencies {
    // Add this line
    coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.0.10'
}

Kotlin & Rx Support

Amplify's default interface renders results through async callbacks. We also provide optional, adapter APIs which better integrate with RxJava and Kotlin:

Semantic versioning

We follow semantic versioning for our releases.

Semantic versioning and enumeration cases

When Amplify adds a new a new enumeration class entry or sealed class subtype, we will publish a new minor version of the library.

Applications that use a when expression to evaluate all members of an enumerated type can add an else branch to prevent new cases from causing compile warnings or errors.

Semantic versioning and dependencies update

We follow semantic versioning for updating our dependencies. This includes updating the Kotlin language version.

License

This library is licensed under the Apache 2.0 License.

Report a Bug

Open Bugs Open Questions Feature Requests Closed Issues

We appreciate your feedback – comments, questions, and bug reports. Please submit a GitHub issue, and we'll get back to you.

Contribute to the Project

We welcome any and all contributions from the community! Make sure you read through our Contribution Guidelines before submitting any PR's. Thanks! ♥️

FAQs

Package last updated on 24 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc