Aws Amplify S3 Bucket Implementation in Android
Recently I was working on Android app in which I wanted to host images on server and show them in app. My goal was not to write backend and I found aws s3 bucket. It was very easy as it seems from documentation but I think as I was beginner I struggled for a week to make it working properly.
In this blog post, I am going to talk about the steps to setup the Aws in android project and then how can we fetch s3 files.
Step 1: Setup the Aws Amplify
It’s actually pretty easy to setup Aws SDK in android project
Before you begin, make sure you have the following installed:
Node.js v14.x or later
npm v6.14.4 or later
git v2.14.1 or later
Now it’s time to install the amplify
npm install -g @aws-amplify/cli
All done, Let’s configure the aws amplify
amplify configure
I will suggest go through every step mentioned on this page and you will be fine…