Hi,
Using the function snippets provided at https://docs.mongodb.com/realm/services/snippets/s3/, I’m successfully able to upload Base64 images from my Swift app to an S3 bucket. I’ve checked that the images in the bucket aren’t corrupted by downloading them directly from my AWS S3 dashboard and seeing that they look fine. However, when using the “Get an Image From S3” snippet function in my app, decoding the Base64 images is resulting in “Fatal error: Unexpectedly found nil while unwrapping an Optional value.” I’m wondering if anyone could point out what I’m doing wrong here:
Thank you,
Jack