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.
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!
Subreddit
Post Details
- Posted
- 1 year ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/iOSProgramm...