AWS Adds Amplify Libraries for Creating iOS and Android Mobile Apps

Amazon Web Services (AWS) has extended its Amplify functionality -- cloud tools/services for creating mobile/web apps -- with new specific iOS and Android libraries.

AWS Amplify -- introduced back in 2018 -- provides cloud-based back-end services for mobile development via three primary components:
  • Amplify Libraries: Open source libraries and UI components for adding cloud-powered functionality
  • Amplify CLI: An open source interactive toolchain to create and manage a back-end for apps
  • Amplify Console: An AWS service to deploy and host full-stack serverless web applications

"Amplify iOS and Amplify Android include libraries and tools (CLI toolchain and IDE helpers) that enable mobile developers to build scalable and secure cloud-powered applications," AWS said in a May 27 blog post. "You can use the libraries with backends created using the Amplify CLI or with existing AWS backends. It is our recommended way to build native mobile applications powered by AWS services."

AWS Amplify Demo
AWS Amplify Demo (source: AWS).

The new iOS and Android offerings specifically provide:

  • Amplify CLI: Configure all the services needed to power your backend through a simple command-line interface
  • Amplify iOS Libraries and Android Libraries: Use case-centric client libraries to integrate app code with a backend using declarative interfaces
  • Amplify UI Components: - UI libraries for React, React Native, Angular, Ionic and Vue

"Until today, when you developed a cloud-powered mobile application, you were using a combination of tools and SDKs: the Amplify CLI to create and manage your backend, and one or several AWS Mobile SDKs to access the backend," said AWS' S├ębastien Stormacq in his own post. "In general, AWS Mobile SDKs are low-level wrappers around the AWS Services APIs. They require you to understand the API details and, most of the time, to write many lines of undifferentiated code, such as object (de)serialization, error handling, etc."

That process is simplified, Stormacq said, through:

  • Native libraries oriented around use-cases, such as Authentication, Data storage and access, machine learning predictions etc.
  • A declarative interface that enables developers to programmatically apply best practices with abstractions

"Thinking in terms of use cases instead of AWS Services results in higher-level abstraction, faster development cycles, and fewer lines of code," Stormacq said. "Secondly, they provide tools that integrate with your native IDE toolchain: XCode for iOS and Gradle for Android."

The new service is free of charge to developers, who need only pay for the back-end services used by an application, above the free tier level. The respective iOS and Android offerings can be obtained from the the CocoaPods and Maven Central code repositories.

The project's source code is available on GitHub.

About the Author

David Ramel is an editor and writer for Converge360.


Subscribe on YouTube