The integration of Applivery into Econocom’s workflow has led to a significant improvement in productivity, thanks to its ability to integrate with various platforms and optimize the version distribution processes. This tool allows all stakeholders to easily and systematically access distributions, covering all necessary build variables.
Currently, Econocom is involved in a project for one of the world’s most important franchises: McDonald’s, operated in Latin America by Arcos Dorados. The goal is to develop their native mobile solution, which has 24 million active monthly users and over 100 million registered users across 20 countries in Latin America.
Project evolution
Initially, the Arcos Dorados app focused on offering coupons to users, allowing them to view and redeem offers at the restaurants. However, market evolution led to the need to implement an in-house ecommerce system, which includes a comprehensive user management system, a customer loyalty program, and an advanced promotions and discounts engine.
The challenges faced in this project are ambitious. On the one hand, Arcos Dorados aims to improve sales personalization, which will enable more precise segmentation of promotions tailored to each user. On the other hand, they are focused on increasing recurring purchases and the average ticket size. All of these efforts are directed towards one goal: to make the mobile app the main digital sales channel in LATAM, multiplying sales.
Technical Challenges
Building a mobile product in such an agile and dynamic market as McDonald’s in Latin America presents various technical challenges. The cadence of building and deploying new features requires adaptability to meet the demands of different countries, each with its own needs and peculiarities. In this context, minimizing time to market and maintaining development agility are crucial.
Thanks to Applivery, Arcos Dorados has been able to launch a new production version of the app every three weeks, incorporating not only bug fixes but also substantial improvements to the product’s functionality, demonstrating its ability to maintain a constant pace of innovation in a highly competitive environment.
Technical integrations in daily work
Environments and context
For native app development, specific IDEs are used for each platform. For iOS, XCode is used, and programming is done in Swift. Currently, a transition is underway from UIKit to SwiftUI for interface creation. For Android development, Android Studio is used with Kotlin as the programming language. They are also migrating from Synthetic views to Jetpack Compose.
Additionally, tools like Bitrise and SonarCloud are incorporated into the daily process, facilitating continuous integration and code quality. Regarding version control management, Bitbucket by Atlassian and Gitlab (deployed locally) are used, while Jira is used for project management through agile methodologies (SCRUM). These tools and solutions help optimize and efficiently coordinate mobile app development work.
Git and Code Versions
As previously mentioned, code version management and control are primarily handled using Bitbucket, Atlassian’s solution. Git commands can be executed in three ways: via the terminal console, with the SourceTree program, or through the version control tools integrated into the IDEs.
The branches used in the daily workflow are as follows:
- Master: This branch is primarily used as a repository for historical versions. Each version is tagged with a specific tag to facilitate tracking.
- Feature: These branches are created for the development of new features or bug fixes. They are used to work on specific features without affecting the main code.
- Develop: This branch serves as the integration point for all feature branches. Feature branches are merged here once completed, consolidating new features into a common development environment.
- Release: A release branch is created to prepare a Release Candidate, allowing the QA team to test new features before their deployment to production.
- Hotfix: Similar to the release branch, but specifically used for urgent fixes. It allows for the creation of a Release Candidate to address critical issues without waiting for the next planned version.
These branches structure and organize development efficiently, ensuring that each stage of the integration and deployment process is manageable and controlled.

Version Generation: Bitrise and CI
Bitrise is used as the continuous integration tool for version generation. Depending on the configured triggers, Bitrise initiates a build in the corresponding environment. A representative example of the triggers and workflows managed in the process is as follows:

When a Pull Request is made to any of the branches, a workflow is triggered that integrates unit tests for each application, ensuring code integrity with each merge.

In the following image, all the steps executed are shown as a representative example of all workflows. It can be observed that the different steps are grouped into build, testing, and deployment phases for better management.

Below is a description of the steps in the Bitrise workflow and the functionality of each step
- Script: Installs the minimum required version of Java to compile Android Compose applications.
- Activate SSH Key: Activates the SSH key to access the remote repository.
- Git Clone Repository: Clones the repository using Git.
- Bitrise.io Cache: Pull: Retrieves cached dependencies to speed up build times.
- Merge Destination with PR Branch: Merges the destination branch with the Pull Request branch and proceeds with the build. This step only runs for Pull Requests.
- Install Missing Android SDK Components: Ensures all required Android SDK components are installed.
- JaCoCo Full Report: Runs a Gradle task that performs tests with coverage and generates a report.
- SonarQube Scanner - Not PR: Performs a SonarQube analysis without including the coverage report. This runs when the trigger is not a Pull Request.
- Build Task: Executes the Gradle Build task according to the selected build variant, managing dependency downloads and other aspects of the Android app build process.
- Bitrise.io Cache: Push: Updates the cache with dependencies downloaded in the previous step.
- Android Unit Test: Runs unit tests on Android.
- Android Sign: Signs the application for distribution.
- Applivery.com Android Deploy: Uploads the APK/AAB file to Applivery.
- Deploy to Bitrise.io - Build Artifacts, Test Report: Uploads the compiled file to Bitrise servers.
- Gradle Runner: Generates a Gradle report on the signatures used during the app build.
These steps automate and optimize the continuous integration process, ensuring that every change in the code is built, tested, and deployed effectively and efficiently.
Workflows
Project Organization: Build Variants
In Applivery’s project management, three main environments are handled for app distribution and testing:

- QA [Q]: This environment is intended for the quality team to download and test the latest versions of the app. Here, the team identifies and reports possible errors before the version moves to later stages.
- Production [P]: Used to distribute Release Candidate versions, allowing testing in a production environment and carrying out User Acceptance Testing (UAT).
- Friends Family (FF): Special versions are distributed in this environment, enabling a select group to test new features before their official release. Users access the platform similarly to an official store, downloading and installing the app on their devices through a URL, which can be protected with a username and password.
To manage the different development and distribution needs, four build variants have been defined to create installable versions of the apps:
- Debug:Generates a version intended for the QA environment. It includes tools and configurations that facilitate error identification during testing.
- Release: Produces versions for the production or Release Candidate environment. These versions are ready for general distribution and are used in the Production environment.
- Hyper: Creates special versions for the Friends Family environment. These versions allow selected users to test specific features before their official release.
- Prerelease: Designed for the development environment, this variant includes active logs to facilitate debugging if an error is detected in a production environment.
These variants allow for efficient organization tailored to the specific needs at each stage of the app development lifecycle.

Version Distribution
Version distribution is classified as either internal or external, depending on the target audience.
Internal Distribution
The entire internal team, including the QA team and other stakeholders not part of the client or the Friends Family test group, has access to the Applivery console. From this console, they can directly download versions.
In the Applivery console, tags are used to identify the source of each distributable version. For example:
- Internal distribution in development: A version tagged as generated by Bitrise with the “quality_deploy” workflow and coming from the develop branch indicates a version in the development process.

- Testing distribution: A version generated from a “release candidate” branch and tagged for the testing environment indicates that this version is intended for pre-release testing.

- Production distribution: A version tagged as a “release candidate” in production refers to a version ready for final deployment.
When a member of the internal team wants to download an app, Applivery presents a sidebar displaying detailed information about the version to be downloaded, facilitating review and tracking of the app’s status.

Additionally, Applivery displays the application’s changelog directly extracted from Bitrise in markdown, along with direct links to the code repository, branch, tag, and the Bitrise continuous integration pipeline—all from a single view.
External Distribution
External users access the distribution via a specific URL. This URL redirects to a web app where they can download the app. This mode is used to allow external users, such as participants in the Friends Family program, to test ad-hoc versions of the app.

These distribution methods ensure that the appropriate versions reach the correct recipients at each phase of the development and testing process.
Nota
Applivery allows the creation of hidden links, password-protected links, or even links requiring access via a username and password, which considers the groups the user belongs to for additional security.
Ticketing and QA process
The development and bug-fixing process is organized through tickets in Jira, which the development team uses to receive and manage requests for new features or bug fixes.
Development and Review Process
- Ticket Creation: Development requests reach the team through Jira tickets. These tickets detail new features or bugs that need to be addressed.
- Development and Pull Request: Once development is completed, a Pull Request (PR) is generated. This PR must be reviewed and approved by the team before moving to the next step.
- Merge and Build: After the PR is approved, the merge to the develop branch is performed, provided that the build in Bitrise has passed all tests and no errors were found in SonarQube. This merge generates a new build in Applivery.
- Ticket Documentation: The developer must collect relevant information about the generated build, such as the version and the build link in Applivery. Then, they update the ticket in Jira with these details, indicating where the new functionality can be tested.
QA Process
With the information provided in the ticket, the QA team member can download the app from Applivery. Then, they perform the necessary tests to verify that the developed functionality meets the requirements, using both virtual and physical devices. If bugs are identified during testing, the developer must fix them. After making the corrections, a new Pull Request is created, restarting the review and testing cycle.
This workflow ensures that each new feature or bug fix undergoes a rigorous review and testing process before being approved for release, guaranteeing the quality and stability of the app versions.
Version History
Once an app is ready for release in the store, the version history management process is organized as follows:
When an app is published, a tag with the version number is created upon merging the release or hotfix branch into the master branch. Bitrise then automatically generates a production build, which includes the tagged APK file for the version history.
Applivery ensures that each version of the app is recorded and easily accessible for future needs, offering an organized and efficient way to manage previous versions.
Conclusion
Applivery ha demostrado ser indispensable, permitiendo al equipo de desarrollo centrarse en crear una solución móvil innovadora y efectiva para Arcos Dorados. La implementación de un sistema robusto para la gestión de versiones y el control de calidad, facilita un flujo de trabajo eficiente y organizado. Estas herramientas no solo optimizan el proceso de desarrollo y pruebas, sino que también aseguran que cada versión de la aplicación sea estable y confiable. Applivery, permite gestionar distintas versiones y realizar ajustes ágiles, lo que es esencial para ofrecer una experiencia de usuario excepcional. A medida que la aplicación evoluciona, estas capacidades son cruciales para implementar nuevas funciones y mejoras de manera eficaz. Si quieres conocer más detalles sobre el caso de uso de Arcos Dorados, encontrarás toda la información en nuestro caso de éxito.
