# Revolut Engineering

Revolut under the hood - Medium

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Reinventing Risk at Revolut

DevFeed: [Reinventing Risk at Revolut](<https://devfeed.tech/articles/reinventing-risk-at-revolut-26346.md>)

Original publisher: [Read original article](<https://medium.com/revolut/reinventing-risk-at-revolut-77e63c552503?source=rss----44c5ac415e14---4>)

Author: Konstantin Vasilev

Published: 2024-12-10T07:46:23Z

Content type: article

Language: en

Sources: [Revolut Engineering](<https://devfeed.tech/sources/revolut-engineering.md>)

Topics: [Finance](<https://devfeed.tech/topics/finance.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Conversational AI](<https://devfeed.tech/topics/conversational-ai.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>)

Tags: [addition](<https://devfeed.tech/tags/addition.md>), [advanced](<https://devfeed.tech/tags/advanced.md>), [ai](<https://devfeed.tech/tags/ai.md>), [also](<https://devfeed.tech/tags/also.md>), [app](<https://devfeed.tech/tags/app.md>), [banking](<https://devfeed.tech/tags/banking.md>), [but](<https://devfeed.tech/tags/but.md>), [can](<https://devfeed.tech/tags/can.md>), [challenges](<https://devfeed.tech/tags/challenges.md>), [children](<https://devfeed.tech/tags/children.md>), [comes](<https://devfeed.tech/tags/comes.md>), [company](<https://devfeed.tech/tags/company.md>), [complex](<https://devfeed.tech/tags/complex.md>), [components](<https://devfeed.tech/tags/components.md>), [crashes](<https://devfeed.tech/tags/crashes.md>), [customers](<https://devfeed.tech/tags/customers.md>), [decades](<https://devfeed.tech/tags/decades.md>), [define](<https://devfeed.tech/tags/define.md>), [finance](<https://devfeed.tech/tags/finance.md>), [knowledge-graph](<https://devfeed.tech/tags/knowledge-graph.md>), [revolut](<https://devfeed.tech/tags/revolut.md>), [risk](<https://devfeed.tech/tags/risk.md>), [risk-management](<https://devfeed.tech/tags/risk-management.md>)

### AI overview

The article proposes modeling risk as a time-bounded chain of events that moves between states and ends in a financial loss. This event-based framework aims to replace overlapping risk taxonomies with reusable probability-based building blocks: risks can be measured with comparable metrics, linked to live data, and updated as observed outcomes differ from expectations. In a simplified negative-balance example, a two-period model gives a GBP 100 maximum loss and GBP 8 expected loss. The article describes implementing the rules and data links with Prometheux, whose reasoner records proof trees that trace calculated results back to rules and inputs. An LLM can turn those trails and the risk ontology into natural-language explanations and chat responses; the reasoner supplies the derivation while the LLM makes it readable. For creating new risks from text, the proposed workflow has an LLM generate code against the ontology, the reasoner compile it, and a risk manager review successful results. That automation is presented as future work.

### Source excerpt

Using probability, reasoning and AI Revolut is known for its innovation in delivering "super-app" financial services to its customers. The success is evident not only through the rocketing user growth, but also via the ripple effects caused across the banking industry -- traditional finance has to reinvent and evolve, or remain part of history, just like the internet search replaced the paper phonebook. Behind this success stands a complex and impressive machinery, which is still piloted by the same founders, who also engineered the very first components and set the Revolut rocketship in motion. This machine is mostly known for its software excellence, however, with any financial services comes the responsibility of navigating a complex net of regulations and risks. True to the company values, the Risk function at Revolut also innovates, leveraging the decades of banking experience of its leadership and adding the challenger way of thinking with the latest technology. What is Risk? One can find many definitions of risk, ranging from explanations suitable for children, "The possibility of something bad happening", to advanced statistical definitions used in finance: Uncertainty of the return on investment, characterised by standard deviation, asymmetry and tails of the return distribution and the generic ISO 31000 definition: "The effect of uncertainty on objectives" In addition, both graduate textbooks and banking regulations define two general types of risk: Financial: related to financial positions, such as: user deposits, lending, and investments in market instruments. Operational: related to failure of operations, such as: system outage, fraud and natural disasters. Some of you might already sense the inevitable challenges in distinguishing the above definitions and risks. Events seldom happen in isolation and independently: a natural disaster can lead to system outages and market crashes, similarly fraudsters might use fake accounts to withdraw loans which would

## The fundamentals of iOS at Revolut

DevFeed: [The fundamentals of iOS at Revolut](<https://devfeed.tech/articles/the-fundamentals-of-ios-at-revolut-26349.md>)

Original publisher: [Read original article](<https://medium.com/revolut/the-fundamentals-of-ios-at-revolut-f75acb765ac8?source=rss----44c5ac415e14---4>)

Author: Illia Kucheriavyi

Published: 2024-05-14T11:41:25Z

Content type: article

Language: en

Sources: [Revolut Engineering](<https://devfeed.tech/sources/revolut-engineering.md>)

Topics: [iOS](<https://devfeed.tech/topics/ios.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [SDK](<https://devfeed.tech/topics/sdk.md>), [product-experimentation](<https://devfeed.tech/topics/product-experimentation.md>), [feature flags](<https://devfeed.tech/topics/feature-flags.md>), [progressive delivery](<https://devfeed.tech/topics/progressive-delivery.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [Agile](<https://devfeed.tech/topics/agile.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>)

Tags: [agile](<https://devfeed.tech/tags/agile.md>), [continuous-delivery](<https://devfeed.tech/tags/continuous-delivery.md>), [continuous-integration](<https://devfeed.tech/tags/continuous-integration.md>), [development-process](<https://devfeed.tech/tags/development-process.md>), [experimentation](<https://devfeed.tech/tags/experimentation.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [feature-flagging](<https://devfeed.tech/tags/feature-flagging.md>), [financial-services](<https://devfeed.tech/tags/financial-services.md>), [fundamentals](<https://devfeed.tech/tags/fundamentals.md>), [ios](<https://devfeed.tech/tags/ios.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [product-owner](<https://devfeed.tech/tags/product-owner.md>), [releases](<https://devfeed.tech/tags/releases.md>), [revolut](<https://devfeed.tech/tags/revolut.md>), [risk](<https://devfeed.tech/tags/risk.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>)

### AI overview

Revolut describes a rapid iOS release process that pairs weekly App Store updates with continuous integration and delivery. Its in-house release framework uses feature flags and gradual rollout of app versions and features to limit risk; teams can disable a flag or resubmit an older version if a change causes problems. Flags also support testing and comparing user experiences. A separate in-house experimentation platform measures feature impact against predefined metrics using a statistical framework. The excerpt says ideas are tested and development effort is guided by data, but cuts off before explaining the architecture.

### Source excerpt

Let's take a look behind the scenes of the iOS development at Revolut, where we strive to provide exceptional financial services and seamless customer experiences for the customers who rely on our iOS apps to manage their financial lives. We believe that it's possible to deliver high-quality software, fast. To achieve this we follow a set of important principles and apply a number of modern agile practices, mainly inspired by XP (eXtreme Programming). Deliver fast Currently, on the iOS platform, we have both applications and SDKs. Here's a list of what's live: Revolut, Revolut <18, Revolut Business, Revolut POS and Revolut Pay SDK. All iOS applications are updated in the App Store on a weekly basis. We operate on the principles of continuous integration and continuous delivery to swiftly deliver new functionality to customers -- as soon as a feature or part of it is ready. We've built our own in-house framework for feature-based releases. According to our process, the Product Owner specifies a feature to be enabled starting from a selected version of the application. Then both the application version and its features are rolled out gradually, starting with a small percentage of our customer base. These two approaches -- feature flagging and gradual version and feature rollout -- enable delivering value to customers with the minimum amount of risk. If anything goes wrong, the flag will be turned off or the older version will be re-submitted as rollback, to remove the problematic change. Moreover, feature flags allow team members to easily switch between different user experiences, compare them, or turn them on and off for testing. We've also developed an in-house experimentation platform that allows teams to experiment with new features and measure their impact using predefined metrics in a statistically significant way. This platform guarantees that experiments are properly set up, and that results are produced using a robust statistical framework. All ideas are teste

## Canvas-based JavaScript Blur detection

DevFeed: [Canvas-based JavaScript Blur detection](<https://devfeed.tech/articles/canvas-based-javascript-blur-detection-26341.md>)

Original publisher: [Read original article](<https://medium.com/revolut/canvas-based-javascript-blur-detection-b92ab1075acf?source=rss----44c5ac415e14---4>)

Author: Eremingeorgy

Published: 2024-01-22T08:38:54Z

Content type: article

Language: en

Sources: [Revolut Engineering](<https://devfeed.tech/sources/revolut-engineering.md>)

Topics: [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Canvas](<https://devfeed.tech/topics/canvas.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [blur-detection](<https://devfeed.tech/tags/blur-detection.md>), [canvas](<https://devfeed.tech/tags/canvas.md>), [case-study](<https://devfeed.tech/tags/case-study.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [library](<https://devfeed.tech/tags/library.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

### AI overview

The article describes developing a JavaScript algorithm to detect whether an image is blurred and estimate the degree of blur. The work began during development of a banking KYC module because existing open-source solutions did not meet the requirements, and it discusses potential client-side image-quality applications.

### Source excerpt

Introduction While developing the Know Your Customer (KYC) module in the banking sector, we faced a specific challenge. KYC is a process where banks verify the identity and assess the risk profile of their clients. As part of this module's development, we needed a JavaScript library that was capable of analysing images -- specifically, we required it to detect if an image is blurred and, importantly, to determine the degree of that blur. This functionality was crucial because clear images are essential for accurate identity verification in KYC processes so a dedicated library was needed. Unfortunately, there were no suitable solutions in opensource that fulfilled criteria satisfactorily. Left with no alternative, we embarked on creating an algorithm on our own. The outcome was a user-friendly algorithm that effortlessly checks any image for the presence and degree of blur. From the voluminous inquiries we observed on platforms like StackOverflow, it became evident that our solution could greatly benefit the community. This utility has significant potential for diverse applications, such as image quality analysis on the client side. Yet, surprisingly, a modern, uncomplicated, resource-friendly library to tackle this common problem remains absent in today's software landscape. Our experience, therefore, not only serves as a case study, but also underscores the urgent need for such a library in the JavaScript/TypeScript ecosystem. Relevance In an era where the visual web dominates, the quality of images plays a significant role in user engagement and experience. Blurry images can tarnish user perceptions and limit the effectiveness of visual communication. Yet, our research has shown a glaring gap in the JavaScript/TypeScript ecosystem: the lack of a simple, accessible tool to detect and quantify image blur. This absence impacts developers, businesses, and users alike, leaving a critical need unmet. In the digital age, the quality of visuals is paramount across a broad

## Evolution of translations management for Android at Revolut

DevFeed: [Evolution of translations management for Android at Revolut](<https://devfeed.tech/articles/evolution-of-translations-management-for-android-at-revolut-26343.md>)

Original publisher: [Read original article](<https://medium.com/revolut/evolution-of-translations-management-for-android-at-revolut-2f97b5969bfb?source=rss----44c5ac415e14---4>)

Author: Yaroslav T

Published: 2023-12-05T17:28:51Z

Content type: article

Language: en

Sources: [Revolut Engineering](<https://devfeed.tech/sources/revolut-engineering.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [migration](<https://devfeed.tech/topics/migration.md>), [Script](<https://devfeed.tech/topics/script.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>), [Groovy](<https://devfeed.tech/topics/groovy.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [development](<https://devfeed.tech/tags/development.md>), [evolution](<https://devfeed.tech/tags/evolution.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [gradle-plugin](<https://devfeed.tech/tags/gradle-plugin.md>), [groovy](<https://devfeed.tech/tags/groovy.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [management](<https://devfeed.tech/tags/management.md>), [migration](<https://devfeed.tech/tags/migration.md>), [translation](<https://devfeed.tech/tags/translation.md>)

### AI overview

An engineering retrospective on how Revolut evolved Android translation management across multiple apps, modules, and languages. It describes using Lokalise, moving translation downloads from app startup to scripts, and migrating the script from Python to Groovy through a Gradle task.

### Source excerpt

Here's everything you need to know about how translations have evolved at Revolut. We currently have 6 apps, with 330 modules containing strings.xml files. And don't forget, we need to support 33 languages. To make the translation process smooth, we use the API of Lokalise. When one of our engineers adds a new string on the platform, it's translated into all languages within 1 hour. After that, we need to download and place the translations into the correct module. Now, from an engineering perspective, here comes the most interesting part! Initial implementation In 2017, we began our expansion, and the first supported languages were French and Polish. We quickly reached a stage where fast translation became an integral part of the feature release process. Using our partner, Lokalise.com, we started implementing translations for a single app (only Revolut retail app existed at the time). We added Lokalise library to our project and used keys from it via a Singleton pattern: https://medium.com/media/b55574683f8ebc328b4049d46f1114bf/href Library downloads translations from the server once the user opens the app. This approach was fast to implement, but had 2 limitations: API has user limit, which is critical for the fast-growing application Download translations on app launch degrades the performance First script To answer both of these problems, we created a simple local script that downloads strings and puts them into the resources' folder. Before releasing a new version of the app, one of the engineers has to call this script and merge translated files into the release branch. https://medium.com/media/78c6e72e4148de66b8d461b467b0df55/hrefSimplifying developers' life Later on, one of our engineers introduced an additional script to upload keys to Lokalise. The goal was to let engineers create new keys in strings.xml during the development process, automatically upload them to the provider, translate them, and then download them back. However, we soon discovered that

## Improving product reliability by imposing constraints as a part of CI/CD process

DevFeed: [Improving product reliability by imposing constraints as a part of CI/CD process](<https://devfeed.tech/articles/improving-product-reliability-by-imposing-constraints-as-a-part-of-ci-cd-process-26344.md>)

Original publisher: [Read original article](<https://medium.com/revolut/improving-product-reliability-by-imposing-constraints-as-a-part-of-ci-cd-process-597cf2307224?source=rss----44c5ac415e14---4>)

Author: Pedro Moura

Published: 2023-11-03T14:26:59Z

Content type: article

Language: en

Sources: [Revolut Engineering](<https://devfeed.tech/sources/revolut-engineering.md>)

Topics: [CI/CD](<https://devfeed.tech/topics/cicd.md>), [vulnerability management](<https://devfeed.tech/topics/vulnerability-management.md>), [vulnerability scanning](<https://devfeed.tech/topics/vulnerability-scanning.md>), [Production Engineering](<https://devfeed.tech/topics/production-engineering.md>)

Tags: [advice](<https://devfeed.tech/tags/advice.md>), [also](<https://devfeed.tech/tags/also.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [application](<https://devfeed.tech/tags/application.md>), [application-security](<https://devfeed.tech/tags/application-security.md>), [architectures](<https://devfeed.tech/tags/architectures.md>), [article](<https://devfeed.tech/tags/article.md>), [automated](<https://devfeed.tech/tags/automated.md>), [avoid](<https://devfeed.tech/tags/avoid.md>), [based](<https://devfeed.tech/tags/based.md>), [best](<https://devfeed.tech/tags/best.md>), [blocking](<https://devfeed.tech/tags/blocking.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [business](<https://devfeed.tech/tags/business.md>), [but](<https://devfeed.tech/tags/but.md>), [cd](<https://devfeed.tech/tags/cd.md>), [ci](<https://devfeed.tech/tags/ci.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [devsecops](<https://devfeed.tech/tags/devsecops.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [process](<https://devfeed.tech/tags/process.md>), [product](<https://devfeed.tech/tags/product.md>), [reliability](<https://devfeed.tech/tags/reliability.md>), [security](<https://devfeed.tech/tags/security.md>), [software-development](<https://devfeed.tech/tags/software-development.md>)

### AI overview

Revolut describes shifting security checks into CI/CD to catch reliability risks before production. Its approach combines continuous scanning from varied tools and providers (including SAST, SCA, DAST and IaC), centralized security data, application-specific dynamic risk calculation, and bug counts collected during CI/CD. The stated goal is to reduce time spent consolidating findings and locating responsible people, then use deployment constraints to block highly vulnerable applications and prompt vulnerability mitigation and bug fixes. The excerpt does not provide the risk formula, blocking thresholds, or further implementation details.

### Source excerpt

At Revolut, we always aim to consistently provide efficient, high-quality, and secure services. Our primary goals are to enhance product quality, increase customer satisfaction, and reduce business risk. To achieve those goals, we should aim to be as proactive -- rather than reactive -- as possible. This means fixing any point of failure before it reaches production by identifying, reporting, and potentially blocking deployments that can impact the reliability of our products. In this article, we'll explain how we achieve those goals using automated risk calculation, data analysis, and imposing constraints to push for the mitigation of open vulnerabilities and the fix of reported bugs identified in our products. Challenges faced by Revolut Each application/service has its own specifications, with different technology stacks and architectures, bringing a diversity of security challenges and different vulnerabilities. That being said, application risk cannot be based only on the reported security vulnerabilities but also in the context of that specific application. Continuous scanning, reporting, visibility, and risk evaluation are essential to providing the best security advice and automated security controls. Nowadays there are several types of security scanners (SAST, SCA, DAST, IaC, etc.) that help security professionals to identify and report vulnerabilities, where each of them can belong to a different third-party provider. For further information on these, read our article on continuous security. Data scraped from different sources creates friction when it's needed to group findings and provide mitigations. This can also decrease mean time to identify vulnerabilities and mean time to provide mitigations. Also, to avoid such negative workflow impact, security must be shifted left. Without a centralised source of truth for security-related application data, most of the time is wasted on searching for information/findings in segmented platforms and finding the corre

## Customising Android app UI with themes

DevFeed: [Customising Android app UI with themes](<https://devfeed.tech/articles/customising-android-app-ui-with-themes-26342.md>)

Original publisher: [Read original article](<https://medium.com/revolut/customising-android-app-ui-with-themes-a251e42b1451?source=rss----44c5ac415e14---4>)

Author: Maxim Kostenko

Published: 2023-07-19T11:14:44Z

Content type: tutorial

Language: en

Sources: [Revolut Engineering](<https://devfeed.tech/sources/revolut-engineering.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>), [Dark Mode](<https://devfeed.tech/topics/dark-mode.md>), [User interface design](<https://devfeed.tech/topics/ui-design.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [material-components](<https://devfeed.tech/topics/material-components.md>), [color](<https://devfeed.tech/topics/color.md>), [Material Design](<https://devfeed.tech/topics/material-design.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-12](<https://devfeed.tech/tags/android-12.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [android-development](<https://devfeed.tech/tags/android-development.md>), [app](<https://devfeed.tech/tags/app.md>), [appearance](<https://devfeed.tech/tags/appearance.md>), [application](<https://devfeed.tech/tags/application.md>), [branding](<https://devfeed.tech/tags/branding.md>), [color](<https://devfeed.tech/tags/color.md>), [dark-mode](<https://devfeed.tech/tags/dark-mode.md>), [dark-theme](<https://devfeed.tech/tags/dark-theme.md>), [demo](<https://devfeed.tech/tags/demo.md>), [fintech](<https://devfeed.tech/tags/fintech.md>), [light-mode](<https://devfeed.tech/tags/light-mode.md>), [look-and-feel](<https://devfeed.tech/tags/look-and-feel.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [palette](<https://devfeed.tech/tags/palette.md>), [revolut](<https://devfeed.tech/tags/revolut.md>), [themes](<https://devfeed.tech/tags/themes.md>), [ui](<https://devfeed.tech/tags/ui.md>), [ui-design](<https://devfeed.tech/tags/ui-design.md>), [user-experience](<https://devfeed.tech/tags/user-experience.md>), [wallpaper](<https://devfeed.tech/tags/wallpaper.md>)

### AI overview

The excerpt describes three Android theming options: light/dark styles, Android 12 Dynamic Color based on wallpaper colors, and user-selected color themes. Light and dark styles can be placed in `values` and `values-night` and switched at runtime with `AppCompatDelegate.setDefaultNightMode`, which recreates activities. Dynamic colors can use `Theme.Material3.DynamicColors.DayNight`, but that requires migrating to Material 3 and changes component styling; a `dynamicColorThemeOverlay` can add dynamic colors while retaining the existing theme, provided Material Design token naming conventions are followed. For runtime theme selection, the described `ColorThemesController` tracks activities with lifecycle callbacks and recreates them to apply selected dynamic colors; custom overlays can replace colors such as `colorPrimary` and can support themes beyond Android's Dynamic Color. The excerpt notes runtime recoloring is nonstandard and requires custom handling.

### Source excerpt

Keeping an app fresh and engaging is important to provide users with an enjoyable experience. One effective method is to add a personal touch to your app by supporting different themes in the application. In this article, we'll explore the various options that developers have to enhance user experience with the themes. We'll also share our company's experience in building themes, and the technical hurdles we faced during Android development. Let's dive in! Depending on your app and company goals, you have several options to consider when implementing theming in your Android app. Here are a few: Switching between light and dark mode: This has become almost a necessity on mobile platforms due to users' preference for dark mode Implementing dynamic colours. Android 12 introduced Dynamic Color, allowing you to adapt your app's colour scheme to match the user's wallpaper Going above and beyond, as we did in Revolut: We offer all the options mentioned above, and also provide our customers with the ability to choose colour-based themes in the app. This allows them to select their favourite colour from a predefined palette, and the app's appearance changes to match it By leveraging these options, you can create an app with a look and feel that aligns with your company's branding and goals. In this article, we'll build a simple app that takes advantage of all the mentioned customisations options: Switching between light and dark mode With many platforms now offering system-wide dark mode, implementing a dark theme in your app has become almost an industry standard. While there are numerous resources available for implementing dark mode, we won't delve into all the technical details here. That said, if you're interested in learning more about implementing a dark theme in Android, you can refer to the official guide. In our demo app, we support dark and light mode by defining two styles: Light:https://medium.com/media/68c7ff182cdd7a8095299976aa1eee50/hrefDark:https://medium.co

## The Fundamentals of Android at Revolut

DevFeed: [The Fundamentals of Android at Revolut](<https://devfeed.tech/articles/the-fundamentals-of-android-at-revolut-26348.md>)

Original publisher: [Read original article](<https://medium.com/revolut/the-fundamentals-of-android-at-revolut-3537101a2c7c?source=rss----44c5ac415e14---4>)

Author: Revolut

Published: 2023-03-17T09:48:42Z

Content type: article

Language: en

Sources: [Revolut Engineering](<https://devfeed.tech/sources/revolut-engineering.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [mobile devops](<https://devfeed.tech/topics/mobile-devops.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>), [Android Security](<https://devfeed.tech/topics/android-security.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [android-development](<https://devfeed.tech/tags/android-development.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [backend](<https://devfeed.tech/tags/backend.md>), [behind-the-scenes](<https://devfeed.tech/tags/behind-the-scenes.md>), [building](<https://devfeed.tech/tags/building.md>), [builds](<https://devfeed.tech/tags/builds.md>), [business](<https://devfeed.tech/tags/business.md>), [ci](<https://devfeed.tech/tags/ci.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [ci-cd-pipeline](<https://devfeed.tech/tags/ci-cd-pipeline.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [crypto](<https://devfeed.tech/tags/crypto.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [design](<https://devfeed.tech/tags/design.md>), [design-system](<https://devfeed.tech/tags/design-system.md>), [designers](<https://devfeed.tech/tags/designers.md>), [development](<https://devfeed.tech/tags/development.md>), [fintech](<https://devfeed.tech/tags/fintech.md>), [fundamentals](<https://devfeed.tech/tags/fundamentals.md>), [mobile-development](<https://devfeed.tech/tags/mobile-development.md>), [programming](<https://devfeed.tech/tags/programming.md>), [revolut](<https://devfeed.tech/tags/revolut.md>)

### AI overview

Revolut describes an Android organization of over 100 engineers across roughly 70 teams, divided into Platform and Product streams. Product teams cover areas such as onboarding, payments, trading, crypto and credit, with product, design, iOS, Android, backend and frontend roles working together. The Mobile Platform team handles infrastructure, releases, architecture, dependencies, Gradle build performance, CI/CD, internal tools and frameworks, app performance and security. The Design System team maintains UIKit, a shared library of reusable components and guidelines. This excerpt outlines team structure and responsibilities; it does not provide implementation details for the named tools or frameworks.

### Source excerpt

People deserve more from their money. More visibility, more control, more freedom. Since 2015, Revolut has been on a mission to deliver just that. With an arsenal of awesome products that span spending, saving, travel, transfers, credits, crypto, investing, exchanging, and more, our mobile super app has helped 25+ million customers send, spend, save, and invest smarter. Let's take a look behind the scenes of the Android development at Revolut and learn how we deliver our iconic apps to millions of customers all over the world. Dream team Our Android team is one of the best in the industry -- and we're proud of it. It's one of our driving forces: over a hundred excellent Android engineers work on our key products, such as Revolut for personal customers, Revolut Lite, Revolut Business, and Revolut < 18 for teens. At Revolut, we believe that building diverse, lean teams of brilliant go-getters who break down barriers, is the key to winning. That's why we have around 70 strong teams that split their work across two main streams: Platform and Product. The Platform stream consists of Design System and Mobile Platform teams, while the Product stream includes various product teams, such as the Onboarding team, Payments team, Trading team, Crypto team, Credit team, and more. Each team is made up of Product Owners, Designers, iOS, Android, Backend, and Frontend engineers who work together to deliver exceptional results. To better understand our teams and how they contribute to our success, let's take a closer look at their roles and responsibilities. Mobile Platform Team 👨🔧 Our Mobile Platform team is involved in a broad range of areas, such as building infrastructure, managing releases, maintaining architecture, and owning internal tools and libraries. The team upgrades projects configuration, particularly improve performance of Gradle Builds, maintains architecture, manages dependencies and keeps architecture sustainable, modernises CI/CD pipeline, facilitates mobile releas

## Security Drone: scaling continuous security at Revolut.

DevFeed: [Security Drone: scaling continuous security at Revolut.](<https://devfeed.tech/articles/security-drone-scaling-continuous-security-at-revolut-26347.md>)

Original publisher: [Read original article](<https://medium.com/revolut/security-drone-scaling-continuous-security-at-revolut-862bcd55956e?source=rss----44c5ac415e14---4>)

Author: Krzysztof Pranczk

Published: 2023-01-03T09:24:53Z

Content type: article

Language: en

Sources: [Revolut Engineering](<https://devfeed.tech/sources/revolut-engineering.md>)

Topics: [DevSecOps](<https://devfeed.tech/topics/devsecops.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [software security audit](<https://devfeed.tech/topics/software-security-audit.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [software composition analysis](<https://devfeed.tech/topics/software-composition-analysis.md>), [Code review](<https://devfeed.tech/topics/code-review.md>)

Tags: [application-security](<https://devfeed.tech/tags/application-security.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [fintech](<https://devfeed.tech/tags/fintech.md>), [revolut](<https://devfeed.tech/tags/revolut.md>), [scaling](<https://devfeed.tech/tags/scaling.md>), [security](<https://devfeed.tech/tags/security.md>), [software-development](<https://devfeed.tech/tags/software-development.md>)

### AI overview

Security Drone scales Revolut's security review by scanning pull requests in a centrally managed Kubernetes service, independently of CI/CD pipelines, and sharing findings during code review. This shifts feedback earlier and avoids adding scanner jobs to every pipeline; merged issues are routed to AppSec for triage. It uses Semgrep for SAST, Snyk Open Source for software composition analysis, and Checkov for infrastructure as code. Revolut reports scanning all pull requests, with median times of 11 seconds for SAST, 22 for IaC, and 101 for SCA, and a roughly 3.8% false positive rate after selecting and tuning rules. Only high and critical SCA findings were directly reported to developers. The excerpt says the system reduced manual review work and had operated in production for eight months; planned improvements included developer-friendly false-positive marking and incremental SAST scans.

### Source excerpt

Security Drone: Scaling Continuous Security at RevolutIntro As we're continuously growing and extending our product offerings, we can face many technological challenges. These challenges are solved by our engineers and this results in many features, changes and updates being developed and successfully delivered to our customers. However, with the development of new features comes many security challenges that are faced by the internal Application Security Team. This lovely bunch is responsible for the security assurance of every new feature developed by our engineers. To provide the highest level of security assurance to our products, we've implemented a number of processes placed in different stages of the Software Development Life Cycle (SDLC), including automated scans in our CI/CD pipelines. However, it wouldn't be possible to efficiently triage every security finding produced by automated scanners. In July 2022, there were nearly 39,000 commits created by over 900 authors! To address this challenge, we developed Security Drone. In this article, we'd like to share with you our approach to provide the highest security assurance in fast CI/CD environments. Challenges faced by Revolut The classic approach to security testing requires the security teams to perform a manual review of any developed features, with the help of automated security scans. Traditionally, this work was executed on a risk and priority basis and that need was stretching the team beyond its capacity. Additionally, the team had to cope with the numerous CI pipelines across the company. This approach wasn't a viable solution in terms of scaling, quality and coverage. Some of you may have an idea of the security challenges faced in a fast CI/CD environment. If not, let us make a little recap of the challenges we've been facing: Software changes are constantly increasing New changes are integrated and deployed every day Engineers tend to prioritise the development of functionalities over security T

## iOS Screen Navigation Engine at Revolut

DevFeed: [iOS Screen Navigation Engine at Revolut](<https://devfeed.tech/articles/ios-screen-navigation-engine-at-revolut-26345.md>)

Original publisher: [Read original article](<https://medium.com/revolut/ios-screen-navigation-engine-at-revolut-1b189f45240?source=rss----44c5ac415e14---4>)

Author: Vincent Berihuete

Published: 2022-08-17T11:35:30Z

Content type: article

Language: en

Sources: [Revolut Engineering](<https://devfeed.tech/sources/revolut-engineering.md>)

Topics: [navigation](<https://devfeed.tech/topics/navigation.md>), [Dependency injection](<https://devfeed.tech/topics/dependency-injection.md>), [rule-engine](<https://devfeed.tech/topics/rule-engine.md>)

Tags: [abstract](<https://devfeed.tech/tags/abstract.md>), [abstraction](<https://devfeed.tech/tags/abstraction.md>), [actions](<https://devfeed.tech/tags/actions.md>), [app](<https://devfeed.tech/tags/app.md>), [button](<https://devfeed.tech/tags/button.md>), [code](<https://devfeed.tech/tags/code.md>), [controller](<https://devfeed.tech/tags/controller.md>), [controllers](<https://devfeed.tech/tags/controllers.md>), [custom](<https://devfeed.tech/tags/custom.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [dependency-injection](<https://devfeed.tech/tags/dependency-injection.md>), [engine](<https://devfeed.tech/tags/engine.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [fintech](<https://devfeed.tech/tags/fintech.md>), [flow](<https://devfeed.tech/tags/flow.md>), [ios](<https://devfeed.tech/tags/ios.md>), [ios-app-development](<https://devfeed.tech/tags/ios-app-development.md>), [ios-engineering](<https://devfeed.tech/tags/ios-engineering.md>), [navigation](<https://devfeed.tech/tags/navigation.md>), [product-page](<https://devfeed.tech/tags/product-page.md>), [revolut](<https://devfeed.tech/tags/revolut.md>), [screen](<https://devfeed.tech/tags/screen.md>), [storyboard](<https://devfeed.tech/tags/storyboard.md>)

### AI overview

The article contrasts storyboard action navigation, segues, and programmatic view-controller navigation with Revolut's Flow Engine, which abstracts navigation outside view controllers. It describes the engine as a state machine for a sequence of steps: define a flow with steps and an initial state, create a FlowPerformer to execute the logic, and use a FlowRunner to invoke it, for example with `runProductDetailFlow(...)`. In the FoodDeliveryApp example, this packages ProductDetails dependencies and business actions so the screen can be called from elsewhere without duplicating setup. The author says this supports easier testing, including TDD. The supplied text does not include the implementation details hidden in code or the rest of the article.

### Source excerpt

Ever heard about the Coordinator pattern? Good for you, this article isn't about it. I'm here to open your eyes to Custom Navigation Engines just like the one we created on our Revolut Flow Engine. First let's talk about some traditional approaches for navigation before we get into our Flow engine: Storyboard actions navigation The most traditional way of doing navigation with storyboards is the one that's triggered by an action. As you know, you can ctrl + drag from your button to reach the desired screen on your storyboard. Segue driven navigation Another traditional type of storyboard navigation are segues, by doing ctrl+drag from one view controller to another we create a connection of a certain type (push, modally, etc) and assign it an ID. https://medium.com/media/8976cef3dea76b0581556b979848d899/href ViewController code driven navigation The most traditional way outside storyboards, is to instantiate and push or present your view controllers programmatically. https://medium.com/media/efae70b3641c09ff15c404f46504a84e/hrefFlow Engine Now let's bring out the big guns: the abstraction of navigation outside view controllers. Why do we need to abstract navigation? Well, imagine you have a FoodDeliveryApp and in there you have a screen called ProductDetails that shows the information for a given product (Hamburger 🍔, fish and chips 🍟, etc) -- but you want to call this screen and its dependencies from anywhere. Will it be enough to just instantiate the screen everywhere, with its dependencies and its actions? 🤯 of course not! 😅 Wait, what? Don't worry, here's some code: https://medium.com/media/b24d2268c0b542848c5d8a6f05379a6e/href When we want to call our ProductDetail screen and pass its business actions through dependency injection, we end up doing this: https://medium.com/media/cb3e85b0c7ae83eb4080db9b221086f3/href Code looks clean to you? Well, kind of 😅. What happens when you need to show that product page from other view controllers and handle its actions? .sho