ATSA Perú
The problem
ATSA Perú was running its Daily Technical Flight Record (RTVD) system on a Xamarin.Forms application that had reached the end of its technical lifespan: no test coverage, business logic tightly coupled to views, and ad-hoc error handling that made maintenance and evolution increasingly difficult.
The critical nature of the aeronautical domain required a solution that guaranteed the integrity of flight records, crew data, aircraft information, and technical discrepancies — regardless of network availability, a fundamental requirement for operations in areas without connectivity.
The challenge was to fully migrate the application while preserving all aeronautical business logic, modernizing the architecture to make it testable, maintainable, and scalable — without disrupting flight team operations.

The Solution
The Alaz team designed and implemented a new React Native mobile application in TypeScript, applying Clean Architecture to fully separate the aeronautical domain from infrastructure and presentation technical details.
The offline-first architecture ensures that flight records can be created, edited, and digitally signed without an internet connection, syncing transparently when the network becomes available.
Migration from Xamarin to React Native
The application was completely rebuilt from Xamarin.Forms to React Native, preserving all aeronautical domain business logic while gaining native support for both iOS and Android from a single codebase.
Clean Architecture with Dependency Injection
The system was structured in distinct layers (Domain, Application, Infrastructure, Presentation) using Inversify for dependency injection, ensuring the business logic is fully independent of the framework and testable in isolation.
Complete RTVD system
The core Daily Technical Flight Record module was implemented with support for flight legs, fuel and oil control, VOR checks, flight times, landings and takeoffs per crew member, and aircraft registration.
Digital signatures and traceability
The system incorporates certified digital signatures for record closure, guaranteeing the traceability and legal validity of every aeronautical document generated.
Offline-first architecture with Realm
A local Realm database enables full offline operation. Data syncs automatically with the server when connectivity is restored, with zero data loss.
Technical discrepancy management
A discrepancy control module was developed to record, track, and close aircraft technical deficiencies in a structured way, aligned with aeronautical regulatory standards.
Professional monitoring and distribution
Sentry was integrated for production error monitoring, Firebase App Distribution for QA release cycles, and Fastlane to automate releases to the App Store and Google Play.


Results
Zero technical debt in the new codebase
The migration to Clean Architecture eliminated the coupling between views and business logic, allowing the system to evolve without risk of regression.
Guaranteed operation without connectivity
The offline-first approach allows aeronautical personnel to complete flight records in the field, even in areas without network access, with automatic sync afterward.
Test coverage from day one
Unlike the previous Xamarin system with zero tests, the new architecture was designed to be fully testable, with unit tests covering entities, use cases, and repositories.
Unified iOS and Android platform
A single React Native codebase replaced two separate projects, reducing maintenance effort and ensuring feature parity across platforms.
Automated release pipeline
Integration with Fastlane and Firebase App Distribution professionalized the delivery process, reducing publication time and enabling more frequent QA cycles.

