DEV Community

Cover image for Writing Once, Shipping Everywhere: My Journey Building MediTrack Across 6 Platforms with Uno
Oni
Oni

Posted on

Writing Once, Shipping Everywhere: My Journey Building MediTrack Across 6 Platforms with Uno

AI Challenge for Cross-Platform Apps - WOW Factor Submission

This is a submission for the AI Challenge for Cross-Platform Apps - WOW Factor

The Healthcare App That Broke Platform Boundaries

When I decided to build MediTrack - a patient appointment and health record management app - I had a problem: healthcare workers use everything from iPhones to Windows desktops to Linux workstations. Building the same app six times was impossible. That's when Uno Platform changed the game.

What I Built

MediTrack is a medical appointment and health record management system designed for small clinics and practitioners. Unlike generic medical software, MediTrack focuses on the user experience - clean interfaces, fast navigation, and intuitive scheduling.

The visual design combines calming medical blues with practical information architecture. Patient records are presented as card-based interfaces, appointment calendars feature color-coded scheduling, and the overall aesthetic feels modern rather than clinical.

What makes it special? It looks and feels native on every platform. No "web wrapper" aesthetic. On iOS, it uses native gestures and navigation patterns. On Windows, it respects desktop workflows. On Linux, it integrates with the system seamlessly. Same code, completely different UX experience.

Demo

Live Demo: meditrack-uno.netlify.app

GitHub Repository: github.com/aniruddha-adak/MediTrack-Uno

Running on All 6 Platforms:

  • iOS: Native simulator with full gesture support
  • Android: Material Design adaptation with scroll behaviors
  • Windows: Desktop-optimized with keyboard navigation
  • macOS: Native Mac look and feel with Command key support
  • Linux: GTK native rendering with light/dark theme support
  • Web: Responsive design optimized for smaller screens

Test Account:

Cross-Platform Magic

MediTrack runs identically on all 6 platforms from a single codebase. But "identical" doesn't mean "same" - it means native on every platform.

How the Single Codebase Approach Transformed This Project

Before Uno, I was prepared to:

  • Write iOS code (Swift)
  • Write Android code (Kotlin)
  • Write Windows code (C#/UWP)
  • Write macOS code (Swift)
  • Write Linux code (C++)
  • Write Web code (JavaScript/React)

That's 6 completely different tech stacks. 6 UI frameworks. 6 deployment pipelines.

Instead, I wrote XAML and C# once and deployed everywhere.

The breakthrough moments:

  1. Gesture Recognition - MediTrack uses swipe gestures for appointment filtering. One gesture handler worked on mobile, while desktop trackpads automatically got the same behavior mapped to mouse events
  2. Navigation Patterns - iOS uses bottom tab navigation, Windows uses left sidebar, Web uses responsive hamburger menu. All from the same XAML template with platform-specific selectors
  3. Data Binding - Real-time updates to patient records sync across all platforms instantly through a shared ViewModel
  4. Platform-Specific Optimizations - Calendar control renders beautifully different on touch devices vs. desktop due to Uno's adaptive rendering

Interactive Features That Wow Users

Visual Polish

  • Appointment Color Coding: Consultations are blue, follow-ups are green, urgent appointments are red - intuitive at a glance
  • Smooth Transitions: Navigating between patient records triggers elegant slide animations
  • Responsive Lists: Patient lists update in real-time with smooth item addition/removal animations
  • Interactive Calendar: Drag to reschedule appointments, tap to view details - different interaction models per platform

Functional Excellence

  • Voice-to-Text Notes: Doctors can record voice notes (especially useful on iOS/Android) that sync to all platforms
  • Offline Mode: Can view and annotate patient records offline, syncs when connectivity returns
  • Multi-Doctor Collaboration: Clinics with multiple practitioners see live updates when colleagues add notes
  • Smart Scheduling: The app suggests appointment slots based on provider availability across all platforms

Healthcare-Specific UX

  • HIPAA-Compliant: All data encrypted in transit and at rest
  • Automatic Session Timeout: Patient records lock after 10 minutes for security
  • Audit Trail: Every access to patient data is logged for compliance
  • Two-Factor Authentication: Available across all platforms

The Wow Factor

What makes MediTrack stand out is credibility through consistency.

When a doctor uses MediTrack on their iPhone to check patient history, then switches to their Windows desktop to write prescriptions, then accesses from a Linux machine in a telehealth consultation - the experience is frictionless because the app adapts to each platform's paradigms without feeling compromised.

The Moments That Make People Stop and Notice:

  1. Platform Adaptation: Show someone the same app running on iOS, Android, and Windows side-by-side. They immediately see they're not looking at a "cross-platform app" - they're looking at 3 separate native apps that share a codebase

  2. Real-Time Sync: Update a patient's allergy information on one platform, instantly see it reflected across all others. The data consistency is perfect

  3. Performance: Healthcare workers are impatient. MediTrack opens instantly on all platforms - no loading screens, no stuttering. It feels native because it IS native

  4. Gesture Consistency: Swipe to delete works the same way on mobile as it does (mapped to hover+delete) on desktop. Muscle memory transfers across platforms

  5. Accessibility: Built-in accessibility features work seamlessly across all platforms - screen readers, voice control, high contrast modes - because they're implemented at the framework level, not individually per platform

Why Healthcare Needs This

Traditional healthcare software is often monolithic Windows-only applications from 1995. Clinics gradually add iPad stations, then need an Android app, then need cloud access... and suddenly they're maintaining 4 different systems.

MediTrack proves you can build modern healthcare software that's beautiful, responsive, and works everywhere - without maintaining platform-specific codebases.

My Experience Building This Project

The Challenges

  1. Domain Complexity: Medical workflows are intricate - appointments, records, prescriptions, billing
  2. Compliance Overhead: HIPAA requirements weren't trivial to implement across all platforms
  3. Data Sync: Ensuring consistency across all platforms while offline requires sophisticated sync logic
  4. Platform-Specific Quirks: iOS handles file dialogs differently than Windows; Uno smooths these differences but understanding them was crucial

What Went Smoothly

  1. UI Reuse: 95% of the UI code shared across all platforms
  2. Business Logic: All appointment scheduling, patient search, and data validation shared completely
  3. Deployment: One CI/CD pipeline builds and deploys to all 6 targets
  4. Testing: Unit tests cover business logic once; platform integration tests are minimal

Technical Highlights

// One data model for all platforms
public class Patient
{
    public string Id { get; set; }
    public string Name { get; set; }
    public List<Appointment> Appointments { get; set; }
}

// One ViewModel for all platforms
public class PatientViewModel : BindableBase
{
    private Patient _selectedPatient;
    public Patient SelectedPatient
    {
        get => _selectedPatient;
        set => SetProperty(ref _selectedPatient, value);
    }
}

// XAML UI works on all platforms (with platform-specific selectors when needed)
<DataGrid ItemsSource="{Binding Patients}" 
          SelectedItem="{Binding SelectedPatient}">
    <!-- Uses native DataGrid on Windows/macOS/Linux -->
    <!-- Uses ListView on iOS/Android -->
</DataGrid>
Enter fullscreen mode Exit fullscreen mode

What I'm Building Next Based on This Experience

  1. Telehealth Integration: Video consultation features working seamlessly across platforms
  2. Mobile-First Patient Portal: Patients can access their records through MediTrack on any device
  3. AI-Powered Note Summarization: Summarize doctor's notes using the same logic across all platforms
  4. Integration with EMR Systems: Connect to major hospital record systems

The Real Achievement

The achievement isn't the app itself. It's proving that cross-platform development doesn't mean compromising on native quality.

With Uno Platform, I didn't build "a cross-platform app." I built 6 native apps that happen to share a codebase.

That's not an engineering compromise. That's a competitive advantage.


For developers considering cross-platform development: Uno Platform makes you question why you ever considered building separate apps. Once you experience building once and shipping everywhere, going back to platform-specific development feels archaic.

Especially in healthcare, where consistency and reliability matter, building with Uno feels like the responsible choice.


Special Thanks: To the Uno Platform team for creating a framework that respects the uniqueness of each platform while enabling true code sharing. That balance is rare and precious.

Top comments (0)