Omni AI Mobile App - Image 1
Mobile Application (Flutter)2025

Omni AI Mobile App

Omni is a cross-platform AI chat mobile application built with Flutter for Android and iOS. Users type or speak questions and receive AI-generated answers. The app searches company data for relevant responses, supports favorite prompts, and offers 10+ languages including RTL for Arabic. It includes secure email/password login with optional two-factor authentication (TOTP), attachment support for images and files, and voice input for speech-to-text. The architecture is component-based with Provider for state management, AWS Cognito for authentication, API Gateway and Lambda for the backend, and CloudFront for streaming and image delivery. The app supports markdown rendering, copy to clipboard, user feedback (thumbs up/down), share responses, and offline and network awareness.

The Story

The Problem

Teams needed a single mobile experience to query company knowledge via AI with support for multiple languages, secure access, and flexible input (text, voice, attachments) without maintaining separate Android and iOS codebases.

The Solution

Built a Flutter-based mobile app with a single codebase for Android and iOS. Integrated AWS Cognito for authentication and optional 2FA, API Gateway and Lambda for AI processing, and CloudFront for streaming and assets. Implemented prompt management (add, edit, delete, reorder, search), streaming AI responses, markdown and image rendering, voice input, attachments, and localization with 10+ languages and RTL support.

My Approach

Component-based Flutter architecture with Provider for Auth, Locale, and Network state. Service layer for APIs and business logic, reusable widgets, and centralized theme. Token storage with auto-refresh, TOTP for 2FA, and Flutter l10n with ARB files for localization.

Technology Stack

Frontend

  • Flutter – Single codebase for Android & iOS
  • Dart – Language
  • Provider – State management
  • flutter_markdown – Markdown rendering
  • Flutter l10n – Localization (10+ languages, ARB files)

Backend & Infrastructure

  • AWS Cognito – Authentication & MFA
  • AWS API Gateway – REST endpoints
  • AWS Lambda – AI processing
  • AWS CloudFront – Streaming & image delivery

Payments & Integrations

  • Flutter Secure Storage – Secure token storage
  • Speech-to-text – Voice input
  • Camera & file picker – Attachments

Core Platform Modules

A. AI Chat & Smart Answers

Users type or speak questions; AI searches company data and returns relevant responses with streaming support.

  • Text and voice input
  • Streaming AI responses
  • Markdown, images, charts rendering
  • Copy to clipboard
  • User feedback (thumbs up/down)
  • Share responses

B. Prompt Management

Save and reuse common questions with full CRUD and reorder.

  • Add, edit, delete, reorder prompts
  • Search favorite prompts
  • Quick access to saved questions

C. Authentication & Security

Secure login with optional two-factor authentication.

  • Email/password login
  • TOTP-based 2FA
  • Token storage and auto refresh
  • Flutter Secure Storage

D. Localization & Attachments

Multi-language support and rich message content.

  • 10+ languages including RTL (Arabic)
  • Images and files as attachments
  • Camera capture
  • Offline and network awareness

Advanced System Capabilities

  • AI chat with company data search
  • Voice input (speech-to-text)
  • Favorite prompts with full management
  • 10+ languages with RTL support
  • Secure login with optional 2FA
  • Attachments (images, files, camera)
  • Streaming responses and markdown rendering
  • Offline and network awareness

System Architecture Principles

  • Flutter single codebase → Android (Min SDK 21) and iOS (CocoaPods)
  • Regions: us-east-1 (Cognito), us-west-2 (API)
  • Component-based structure with Providers (Auth, Locale, Network)
  • Service layer for APIs and business logic
  • Reusable widgets and centralized theme