Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

3
Setting Up AWS Amplify and Connecting S3 Bucket to IOS App
Post Flair (click to view more posts with a particular flair)
Post Body

Hey everyone! I hope you're well. I'm working on a social media app on iOS and my app is currently connected to a Heroku application I'm using that utilizes a Parse Cloud server and Postgres DB. However, Heroku dynos are ephemeral, meaning their filesystem acts more like a temporary scratchpad than anything. This has led to an issue where when a user creates a post, the image associated with that post is stored for 24 hours at most before disappearing, leaving a big empty square where the image should be. The Heroku application is compatible with S3 Buckets and the Parse S3 Adapter is already installed, however, the issue is even when I configure the Bucket it won't communicate with the Heroku App to store images I also tried configuring it to my IOS app directly with the Swift AWS SDK to no avail it won't upload/store the images for some reason.

Even following the main docs on the Amplify site, I would do it exactly like the steps only for the code to not even run much less do what I want it to do. I'm wondering if there are any alternatives to S3 or any good resources you guys can forward me to for this. I would try CoreData and/or UserDefaults but this is for a school project and one of the requirements is to deploy the project on two platforms, hence I have to account for the second platform being able to access that same data.

https://github.com/netreconlab/parse-hipaa

https://github.com/KingDecorpel12/VibeCheck/tree/Omar's_Branch

the first link is to the server I'm using, the second link is to my repository for the project where I handle all the iOS stuff. All help would be greatly appreciated!

Author
Account Strength
90%
Account Age
4 years
Verified Email
Yes
Verified Flair
No
Total Karma
1,764
Link Karma
236
Comment Karma
1,477
Profile updated: 3 days ago
Posts updated: 4 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
1 year ago