Nguyen Trung Hau2026-07-013 min read

Safety Document Management App

Cross-platform Flutter app for digitizing and managing safety/labor document processing workflows on mobile.

FlutterClean ArchitectureBLoCDioOAuth/CognitoCameraDocument Scanner

Overview

Safety Document Management App is a Flutter application for digitizing and managing safety/labor document processing workflows on mobile. Users can log in, view notifications or tasks that need handling, capture or scan documents with the camera, upload images to the backend for analysis, review the results, and confirm processed information directly in the app.

Key Features

  • Secure login and session management.
  • Task or notification list for documents requiring action.
  • Camera-based document capture/scan, document image preview, and multipart file upload.
  • Backend analysis result handling with user review and confirmation after processing.
  • A complete flow for turning paper documents into digital data and completing document workflows on mobile.

Technical Implementation

  • Designed and developed the Android/iOS app with Flutter, Clean Architecture, BLoC, Repository Pattern, UseCase, and Dependency Injection.
  • Optimized the networking layer with Dio Interceptors to attach tokens, retry failed network/server requests, refresh expired access tokens, and replay queued requests after a successful refresh.
  • Integrated OAuth/Cognito authentication through WebView, handled redirect callbacks, exchanged authorization codes for access/refresh tokens, and persisted login sessions.
  • Configured code generation and release workflow using Freezed, JsonSerializable, Injectable, AutoRoute, FlutterGen, Intl, Makefile, FVM, flavor config, and Android/iOS build obfuscation.

Tech Stack

Flutter, Dart, BLoC, Dio, GetIt, Injectable, Freezed, JsonSerializable, AutoRoute, SharedPreferences, WebView, Camera, Document Scanner, Intl, FVM.