Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploading is not working #6

Open
akshay512 opened this issue Jan 20, 2020 · 3 comments
Open

Uploading is not working #6

akshay512 opened this issue Jan 20, 2020 · 3 comments

Comments

@akshay512
Copy link

After building apk image upload does not work!!

@ni3galave
Copy link

@prachiFam any update on this?
I tried with uploadImage method as follow:
String uploadedImageUrl = await AmazonS3Cognito.uploadImage(
"/storage/..../files/Pictures/819972955.jpg, //full path
'flutter-test',
'xxxxx' // identity pool id
);
and this method always return "Failed" message.

@prachiFam
Copy link
Owner

Could you let me know what is the error message? Also please ensure that your bucket has proper permissions and that it's a public bucket as the IOS image does not work on non-public buckets.
We are using this plugin in 2 of our apps and it's working as expected till date.

@ni3galave
Copy link

I am trying this feature for android
uploadImage method not returning proper error message it just returning "Failed" string.
So, I slightly debugged into upload image code then I found that we are not returning any error message whenever any upload image failed. Just returning "Failed" string

And also already given public access to flutter-test bucket in order to test this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants