Healthcare

SleepFix

Behavioral Sleep Therapy App for Insomnia Relief

  • Mobile
  • Backend
  • Testing

Opportunity

SleepFix, a behavioral sleep therapy app designed around brief behavioral therapy for insomnia, was developed in collaboration with Associate Professor Christopher Gordon, (Research Leader of the Insomnia and Chronobiology program at Macquarie University’s Woolcock Institute). With his internationally recognized expertise in insomnia treatment and digital sleep health, the project aimed to translate evidence-based research into an accessible digital solution.

To fulfill its role as a trusted digital therapy companion, SleepFix needed architectural improvements, seamless functionality, and engaging features that would ensure patients could reliably use the app to improve sleep health outcomes.

Approach

BrainX worked hand-in-hand with the client to modernize the SleepFix sleep therapy app for long-term scalability and performance. We began with a deep code audit, migrated to Kotlin DSL, and realigned the architecture with modern Android and iOS standards.

A smart three-tier notification system was introduced to boost engagement. While all updates were delivered iteratively through close collaboration on Slack and Jira, backed by thorough internal QA.

Solution

SleepFix became an efficient sleep therapy app that helped users find an effortless, progressive way towards a restful sleep with:

  • Smart Reminders: 3-tier notification system reminds the users about schedules, sleep pressure realization, and helps them keep their body clocks in order.
  • Offline Learning Hub: Users can access FAQs, sleep health resources, and expert advice whenever and wherever without any internet connection.
  • Easy Navigation: Modern UI and smooth interface using Material Design allows users to navigate easily, add sleep records, and adhere to the therapy plan.
  • Improved App Responsiveness: Backend updates to 40 core dependencies (Material Design 3.0, AndroidX, Firebase, and RxJava3), resulted in faster app responsiveness.
  • Smart Sleep Tracking: Improved diary flows and personal schedules allow users to track better and get more insight into their sleep patterns.
  • Cross-Platform Consistency: Native experience across Android & iOS provides users with uniform support on all devices.
  • 99.9% App Stability: Fixing latent performance bugs removed memory leaks and crashes, increasing app stability.
  • Future-Ready Infrastructure: A complete migration to Kotlin DSL with centralized version management allows for faster feature releases.

Impact

The reengineered SleepFix sleep therapy app now delivers a more reliable and engaging experience:

  • Eliminated stability issues, achieving zero post-deployment crashes across platforms.
  • Boosted therapy adherence through smarter, personalized notifications.
  • Enabled 3x faster development cycles with a modernized build system.
  • Established a scalable architecture ready for research expansion and long-term growth.
  • Simplified maintenance through centralized dependency and improved engineering practices.

Tools and technologies

  • ANDROID
  • iOS
  • KOTLIN
  • SWIFT
  • GITHUB
  • FIREBASE
  • JAVA

Not sure which applies to you? We'll tell you.

Book a 20-minute scoping call. We'll map your product to the right framework, DCB0129, IEC 62304, or both, and come back with a proposal within one working day.