Blasanka / aws_s3_plugin

This is a plugin created for file upload to AWS S3
Other
10 stars 13 forks source link

Result is always null. #2

Open iLeafSolutionsPvtLtd opened 4 years ago

iLeafSolutionsPvtLtd commented 4 years ago

What ever i upload, Result is always null. Doesn't throw any exception too..Hard to find where it went wrong. :(

Followed the example exactly.

AwsS3 awsS3 = AwsS3( awsFolderPath: "your aws folder path", file: "file is of type File", fileNameWithExt: "file name", poolId: "your aws pool id", region: "your region using enum Regions", bucketName: "your bucket name to upload");

Have added "in manifest also...

AWS upload is working fine when i tried with other plugins.. But i badly need to get progress of upload.

Doubted param is "awsFolderPath". Is there any specific format for providing it ?

Please help me out...Thanks

Blasanka commented 4 years ago

Hi @iLeafSolutionsPvtLtd, Sorry for letting you struggle!

Can you try removing the <Service> in manifest file.

adiltirur commented 3 years ago

I have the same issue too, I am simulating on an ios device

iLeafSolutionsPvtLtd commented 3 years ago

@adiltirur. The issue is with AWS s3 policy i believe. U have to give complete public access in the AWS s3 policy. Then it would work. Currently most AWS plugins needs full public access for ios.