# Retail mobile modernization

Led the Swift and Kotlin rewrite of the Bilka, Netto and føtex apps, from 75% to 98% crash-free sessions and from a 3.8s to a 1.6s cold start.

## The problem

The retail apps had grown on ageing Objective-C and Java codebases. Crashes and slow starts were hurting everyday shopping.

## What I did

I led the rewrite: **Objective-C → Swift** on iOS and **Java → Kotlin** on Android. Stability was the first goal, and crash-free sessions rose from 75% to 98% across the apps.

Performance was the second goal: cold start and main screen load came down through the startup work described under Decisions and trade-offs.

## Leading the team

As Mobile Team Lead, I owned planning, estimation, delivery and release practices for a 5-person Mobile Applications team (4 engineers and 1 intern). I worked with product, design and backend, and contributed to mobile architecture decisions.

## Outcomes

- **75→98%** crash-free sessions
- **3.8→1.6s** cold start
- **400k+** downloads · 60k+ MAU · 4.8★
- **5** people in the mobile team I led

## Decisions and trade-offs

### Rewrite in Swift and Kotlin instead of patching

**Why:** The ageing Objective-C and Java codebases were hard to keep stable and fast. A rewrite in Swift and Kotlin was the chance to fix the foundations on both platforms.

**Trade-off:** A rewrite competes with feature work for the same team, so it had to prove its value in production early.

### Measure what shoppers feel

**Why:** Crash-free sessions, cold start and main screen load were the success metrics, because those are what people notice in a store aisle.

**Trade-off:** Holding the line on those numbers takes instrumentation and release discipline, not a one-off effort.

### Pay startup costs later, or off the main thread

**Why:** Deferred initialization, moving work off the main thread and leaner data loading brought the cold start from 3.8s to 1.6s and main screen load from 2.5s to 0.9s.

**Trade-off:** Initialization order becomes something you have to design explicitly, not something that just happens.

### Make quality a team practice

**Why:** As team lead I raised the code-quality and release standards on both platforms, so the gains didn't depend on any one person.

**Trade-off:** Stricter standards mean more review and release effort for each change.
