Sober Love - Recovery Community Platform

A secure, privacy-focused iOS community platform for individuals in recovery. Features real-time messaging, community feeds, and sobriety tracking.

SwiftAlamofireCore DataFirebaseCombineMVVM

Sober Love: Building Safe Communities for Recovery

Project Type: iOS Social & Community App
Role: Lead iOS Developer
Tech Stack: Swift, Combine, Core Data, Firebase, Alamofire


The Problem

Recovery from addiction is often a lonely journey, and many mainstream social platforms can be triggering or lack the specific support systems required by people in sobriety.

There was a clear need for a safe, moderated, and private digital space where people in recovery could connect, share their journeys, and support each other through a specialized set of features like sobriety counters and community-moderated feeds.


Technical Architecture

I architected the Sober Love iOS app using MVVM (Model-View-ViewModel) with a heavy emphasis on reactive state management through Combine.

The app features a Real-Time Synchronized Data Layer using Firebase Realtime Database for instant messaging and community feed updates, with Core Data acting as a local cache to allow users to access support and their own progress even when offline.


Key Engineering Decisions

Privacy and Security Architecture. Given the sensitive nature of the community, user privacy was the top priority. I implemented a robust authentication system using Firebase Auth, combined with custom client-side encryption for personal data and end-to-end messaging integrity checks.

Sobriety Tracking Engine. I built a custom engine that calculates sobriety time down to the second, handling complex time zone shifts and "sobriety milestone" logic. This was built as a standalone service within the app to ensure accuracy and easy reuse across multiple UI components.

The Community Feed Engine. To handle a high volume of text and image posts, I implemented an efficient pagination and pre-fetching strategy. Using Combine, the feed only updates when new content is available, minimizing battery drain and data usage.


Result and Impact

Sober Love has successfully fostered a supportive and safe environment for individuals in recovery. Key milestones include:

  • High-Security Standards: The app is trusted by thousands of users as a secure space for sharing their recovery stories without fear of data breaches or privacy violations.
  • Engagement and Retention: The real-time messaging and milestone tracking features have driven high daily active usage, providing users with a consistent source of support.
  • Global Reach: Published on the App Store, the app has connected people across the globe, creating a truly international support network.

Future Improvements

I would look into integrating AI-based Moderation to automatically detect and flag potentially triggering or unsafe content, further enhancing the platform's safety for its most vulnerable users.