Case Study

Stress Guru: AI Wellness Coaching App for Stress, Anxiety, and Sleep Management

Industry

Health & Fitness

Project Type

B2B - Full Development

Location

United States

Deliverable

Live iOS App + WatchOs

The Problem

Zigron came to ETechViral with a product idea built around one observation: stress does not appear suddenly. It builds over days and weeks through poor sleep, broken focus, and strained relationships, and by the time most people notice it, it has already done damage. Existing wellness apps respond to stress after the user reports it. Zigron wanted to build something that detects stress early, before the user has to ask for help, and then connects them with a specific AI wellness coach trained for their situation.

The product needed to work with an Apple Watch. Heart rate, sleep patterns, and biometric signals from the watch would feed the app’s early detection system. When stress was detected, the app would send a push notification. The user would tap it, and a coaching session would begin immediately, no navigation, no setup, just a direct start.

The client had a clear product vision. What they needed was an engineering team that could build it. The technical requirements were not straightforward.

What Made This Build Technically Difficult

What We Built

ETechViral built the full iOS application and its watchOS companion, along with the Firebase Cloud Functions backend that powers the coaching pipeline. The app launched on the App Store in August 2025 and reached version 2.0 by March 2026.

Throughout the build, licensed psychologists worked directly with the development team. They reviewed the coaching content, validated the session flows, and checked that the guidance each coach gave matched real clinical practice. This was not a review at the end of the project, psychologists were in the room at each stage where the app made decisions about what to say to a user in distress. The result is a product where the AI coaching content is grounded in how mental wellness professionals actually work with people, not just general wellness advice.

The iOS App

The main app is built in Flutter. It covers onboarding, user profile setup, coach selection, session management, progress tracking, and subscription handling. Users on the free plan get access to the Anxiety Guru coach and one 15-minute session. Paid subscribers get five 30-minute sessions per month, a progress dashboard, user memory across sessions, and 24/7 session access.

Each wellness coach in the app covers a specific area: stress, anxiety, sleep, motivation, relationships, happiness, calm, and spirituality. When a session starts, the coach picks up from where the previous session ended. Session history, notes, and user context carry forward across conversations, the user does not repeat themselves each time.

The watchOS Companion App

Flutter does not support watchOS. To build the watch app, the ETechViral team wrote a native Swift application that runs on the Apple Watch and communicates with the Flutter iOS app through WatchConnectivity, Apple’s framework for passing data between an iPhone and a paired watch.

The watch app reads the user’s biometric data, heart rate variability, resting heart rate, and sleep signals, and passes this to the iOS app. When stress indicators appear, the system triggers the notification pipeline.

No Flutter Support for watchOS

Flutter runs on iOS, Android, web, and desktop, but not on watchOS. This is a known limitation of the framework. Building the watch companion required writing a fully separate native Swift app and connecting it to the Flutter app through WatchConnectivity. This meant maintaining two codebases, one in Flutter for iOS, one in Swift for the watch, and keeping them in sync.

The Firebase Backend, Working Without an Official watchOS SDK

Firebase has no official SDK for watchOS. Direct Firestore reads and writes from the Apple Watch are not supported. To work around this, the ETechViral team built the communication layer through Firebase Cloud Functions rather than having the watch talk to Firebase directly.

No Firebase SDK for watchOS

The watch app cannot call Firebase directly, there is no supported SDK. The solution was to route all watch-originated data through the iOS app, which then calls Firebase Cloud Functions. The Cloud Functions handle the logic: reading user data, identifying the stress pattern, selecting the correct coach persona, and writing back to Firestore. The watch never touches Firebase directly.

The Notification and Session Pipeline

When the system detects a stress signal, either from the watch biometrics or from the user’s self-reported state, a Firebase Cloud Function runs. It reads the user’s profile and session history from Firestore, identifies which coach persona fits the current situation, and sends a targeted push notification through Firebase Cloud Messaging.


The notification carries a deep link. When the user taps it, the app opens directly into a session with the correct coach already loaded. There is no home screen, no coach selection, no navigation step. One tap and the session starts.



This pipeline was built entirely in TypeScript on Firebase Cloud Functions, deployed on Google Cloud. The functions run on trigger, they do not poll or run continuously, which keeps costs low and response times fast.

The Eight Wellness Coaches

The app includes eight AI coaching personas, each focused on a specific area of mental wellness:

  • Stress Guru: general stress reduction and prevention
  • Anxiety Coach: panic relief and anxiety management
  • Sleep Coach: sleep quality and recovery
  • Motivation Coach: focus, goals, and daily momentum
  • Relationship Coach: communication and conflict
  • Happiness Coach: positive habits and emotional balance
  • Calm Coach: real-time de-escalation
    Spirituality Coach: mindfulness and inner balance


The system selects the right coach based on what the biometric data and session history indicate, not just what the user clicks. A user whose watch data shows poor sleep over three nights might be routed to the Sleep Coach even if they open the app looking for motivation support.

Engineering Notes Worth Keeping

Two decisions from this project apply directly to future healthcare and wellness builds:

When a client wants a Flutter app with smartwatch features, the watch companion has to be built natively. There is no shortcut. The WatchConnectivity bridge works well, but it adds coordination overhead between two separate codebases. Plan for this from the start, not after the iOS app is already built.

Firebase Cloud Functions as the communication layer for watch-to-backend data is a reliable pattern. It avoids the SDK gap, keeps the watch code simple, and centralises all business logic in one place where it can be tested and updated without touching the native watch code.

Technology Stack

Flutter

Cross-platform iOS app development

Swift

Native watchOS companion app, required because Flutter has no watchOS support

Kotlin

Native Android bridge code


Flutter

Cross-platform iOS app development

Swift

Native watchOS companion app, required because Flutter has no watchOS support

Kotlin

Native Android bridge code

Firebase

Auth, Firestore database, Cloud Messaging (push notifications)

TypeScript

Firebase Cloud Functions, persona identification, session triggers, notification logic

Google Cloud

Cloud infrastructure, function hosting, AI model serving

Node.js

Firebase Cloud Functions, persona identification, session triggers, notification logic

Firebase

Auth, Firestore database, Cloud Messaging (push notifications)

TypeScript

Firebase Cloud Functions, persona identification, session triggers, notification logic

Google Cloud

Cloud infrastructure, function hosting, AI model serving

Node.js

Firebase Cloud Functions, persona identification, session triggers, notification logic

What Was Delivered

Live

On the App Store

v2.0

Current Version

iOS + watchOS

Platforms Shipped

Stress Guru launched on the App Store on August 9, 2025. It shipped with iOS and watchOS support, full coaching pipeline, push notification triggers, and subscription management through Apple’s in-app purchase system. The app reached version 2.0 in March 2026 with a redesigned UI, faster load times, and improved subscription flows.

The client received a live, published product, not a prototype or a staging build. The app is available to download in the US App Store, runs on iPhone and Apple Watch, and handles real user sessions, payments, and data.

The two technical problems that would have blocked most Flutter teams, watchOS support and Firebase on the watch, were both solved with custom engineering. Neither required switching frameworks or abandoning the chosen tech stack. The solutions work within the existing architecture without adding brittle dependencies.

Engineering Notes Worth Keeping

Two decisions from this project apply directly to future healthcare and wellness builds:

When a client wants a Flutter app with smartwatch features, the watch companion has to be built natively. There is no shortcut. The WatchConnectivity bridge works well, but it adds coordination overhead between two separate codebases. Plan for this from the start, not after the iOS app is already built.

Firebase Cloud Functions as the communication layer for watch-to-backend data is a reliable pattern. It avoids the SDK gap, keeps the watch code simple, and centralises all business logic in one place where it can be tested and updated without touching the native watch code.

Building a healthcare or wellness app that needs watch integration?

Building a healthcare or wellness app that
needs watch integration?

ETechViral builds Flutter apps for healthcare and fintech clients. We handle iOS, Android, watchOS integration, Firebase backends, and App Store submission.

More Case Studies

PlantPort: Plant Diagnosis
& Care Management

Plantport A plant care app that identifies plants by camera scan, tracks watering and fertilization schedules, and connects users with an AI guide or in-app plant doctor for health questions. UX/UI design project.

Apollo.ai: Board Management Platform

Apollo.ai A board management platform that handles agendas, resolutions, decision tracking, and document storage for executive teams. EU-hosted, ISO 27001 and GDPR compliant. Clients report saving 10+ hours per meeting.