I have been trying to upload images in Flutter application to AWS S3.
I used this plugin: amazon_s3_cognito, it worked correctly with Android device using this method:
String uploadedImageUrl = await AmazonS3Cognito.upload(
_image.path,
BUCKET_NAME,
IDENTITY_POOL_ID,
IMAGE_NAME,
AwsRegion.US_EAST_1,
AwsRegion.AP_SOUTHEAST_1);
But, when I run the same project on iOS device, the upload
method returned with an empty String!
I tried to edit the source code of the plugin but I got stuck.
Please suggest a solution using this plugin or any solution to upload the image and get its link.