Using AWS SDK inside an ionic2 app


#1

Hello everybody! I’m trying to use AWS SDK and following instructions from Ionic2 docs to import it as 3rd party library.

After adding “declare module ‘aws-sdk’” at declarations.d.ts file, I’m able to build using “ionic build” but when I try to run on device, it doesn’t work as expected. I’m basically trying to upload a photo to S3 and it doesn’t show any error message on Xcode debug console as well.

Is there any other configuration I should set to use AWS SDK objects on “ionic build” or does anybody tried to use an AWS service inside an Ionic2 app in a different way?

Thank’s in advance for any help.
Best regards,
Cesar.