Skip to content Skip to sidebar Skip to footer

Ionic Android - Upload File To S3 Using Presigned Url (error Code: 3)

I am trying to upload image from ionic application to S3 using presigned URL. This is the current situation: Ionic application sends request to server to get presigned upload URL

Solution 1:

Ok, not sure what exactly is a problem, but the issue is definitely with the latest version of the cordova-plugin-file-transfer plugin (at this moment it is 1.6.0). This issue only reflects on android platform.

I have installed older version of the plugin (1.5.1) which "fixed" the issue. What I did to resolve my issue:

1) install latest version of cordova npm install -g cordova

2) install latest version of ionic npm install -g ionic

3) update android platform ionic platform update android

4) remove plugin ionic plugin remove cordova-plugin-file-transfer

5) install previous release of plugin ionic plugin add cordova-plugin-file-transfer@1.5.1

6) save changes to package.json ionic state save

7) ionic run android

I hope it will be useful for somebody.

Post a Comment for "Ionic Android - Upload File To S3 Using Presigned Url (error Code: 3)"