Case study · iOS · Code review
KOCH Scan App
A review of the KOCH Scan App, a B2B app for a Swiss building supplier that lets tradespeople scan article labels, collect them by commission and order on site, in preparation for taking over its maintenance.
Delivered at MerkleEnterprise mobile & digital engineering
- Client
- KOCH, Swiss building supplier
- My role
- Mobile codebase assessment
- Period
- Sep 2021 – May 2022 (approx.)
- Platform
- iOS · Swift · UIKit & SwiftUI
The brief
The app had been built by another agency, and we were to take over its maintenance. Before that, the client needed to know what they had: how the app is built, how healthy the code is and what maintaining it would involve.
I reviewed the native iOS app independently and coordinated with the project stakeholders.
What I reviewed
- The app structure: five tabs for scanning, the article list, ordering, locations and news.
- The scanner: auto and tap scan modes, flashlight, detection overlay and manual EAN entry.
- The order flow, which runs in a WKWebView with a script message handler.
- The SAP Commerce (Hybris) backend with OAuth, and Firebase Crashlytics, Remote Config, Performance and Analytics.
- Push notifications with a notification service extension, three Swiss languages, the app version guard and the unit tests.
What stood out
- Strength
A focused scanner
Auto and tap scanning, a flashlight and manual EAN entry cover real conditions on building sites.
- Strength
Unit tests and a version guard
A base to change the app safely, and a way to retire old versions.
- Watch
Ordering in a WebView
Checkout depends on the web shop and a JavaScript bridge, so both sides have to change together.
- Watch
Mixed UI technologies
UIKit storyboards next to SwiftUI views: workable, but every change needs a clear rule for which to use.
Stack
- Swift
- UIKit
- SwiftUI
- WKWebView
- SAP Commerce (Hybris)
- OAuth
- Firebase
- APNs
Team
An independent assessment, in coordination with the project stakeholders on the client's and the agency's side.
The result
The client got a clear picture of the codebase and of what maintaining it would take. The maintenance engagement itself did not go ahead.
KOCH 470.1287640123456789