Refer below article for complete guidance,
https://medium.com/@shamique/upload-an-image-to-s3-bucket-in-ionic-app-5dc96b772d48
- Ionic 3 intalled
- NodeJS (Latest version)
- Cognito pool
- Identity pool
- S3 bucket
Below AWS services created and configured,
- Clone the project to your local machine
- Add AWS settings in system-variable.ts file (../providers/system-variable/system-variable.ts)
- In S3-service.ts (../providers/s3-service), line number 15, set region_name and userpool id
npm install
ionic integrations enable cordova --add
ionic cordova platform add android
ionic cordova build android
ionic cordova run android
- In terminal, run below commands: