scriptometry

PRJ-01/Case study · NOW by Almajdouie

One app for the whole dealer group.

Cars, test drives, service, contracts and payments for Genesis, Hyundai, Changan, Peugeot, Citroën and Deepal owners in Saudi Arabia, in Arabic and English, each brand in its own colours, hardened to pass independent penetration testing.

Core stack
FlutterBLoCGraphQLHyperPayTabbyTamaraFirebaseSentry
/work/now-almajdouie
§ 01Challenge

Everything a car owner does, in one app.

Almajdouie sells and services Genesis, Hyundai, Changan, Peugeot, Citroën and Deepal cars across Saudi Arabia. It wanted one app for everything its customers do: find a car, book a test drive, book a service, buy a service contract, pay, claim compensation and get support.

Each brand had to feel like its own app, in Arabic and English, while sharing one codebase and one release.

And because the app takes payments and holds personal data, it had to be secure enough to pass independent penetration testing on iOS and Android.

§ 02What we built

Sales, service and support, end to end.

One customer app in place of separate channels for each brand and each part of the business.

BUILD SPECPRJ-01/work/now-almajdouie

What we built

  1. One app for six car brands, re-themed live in each brand’s colours and logo
  2. Deep links and deferred deep links that opened the app in the right brand, even straight after install
  3. Vehicle browsing, comparison, quote requests and test-drive booking
  4. Service booking, service prices and history; parts search; dealers on a map
  5. Service contracts sold end to end, paid by card, Mada, Tabby or Tamara
  6. Invoices, compensation requests, complaints and support in one place
  7. Privacy self-service under Saudi data-protection law
  8. Encrypted offline cache, secure storage and biometric sign-in

Built with

App
FlutterBLoCget_itgo_routerHive (encrypted)Secure storage
Data
GraphQLRESTMicrosoft Dynamics CRM (server side)
Payments
HyperPayVisaMastercardMadaTabbyTamara
Links and maps
AppsFlyer OneLinkGoogle Maps
Platform
FirebaseSentryGitHub Actions
§ 03Modules

Every module, one codebase.

The whole app, grouped the way a car owner meets it: from the first launch to the service bay.

  1. Start and sign-in

    • Video splash that loads the app configuration and brand list
    • Phone sign-in with one-time codes and SMS autofill
    • Biometric unlock with Face ID, Touch ID or fingerprint
    • Sign-up that confirms your vehicles and scans the Istimara (vehicle registration)
    • Guest mode: browse cars, offers, dealers and service prices without an account
  2. Brands and theming

    • Genesis, Hyundai, Changan, Peugeot, Citroën and Deepal, plus the group brand
    • The brand follows the customer’s primary vehicle
    • Colours, gradients, logos and page transitions re-theme live per brand
    • Deep links and deferred deep links (AppsFlyer OneLink) that chose the brand, even on first install
    • Brand-scoped content, offers and advertisements
  3. Sales

    • Explore and filter models, with full vehicle details
    • Compare vehicles side by side
    • Request a quote and book a test drive
    • Offers slider and offer details; brand advertisements on home
    • Brochures and owner’s manuals for your car
  4. Service and after-sales

    • Service menu and appointment booking, connected to the workshop queueing system
    • My appointments and full service history
    • Service price lookup, signed in or as a guest
    • Parts search and prices by brand
    • Dealers and branches on Google Maps, with directions and filters
    • One-tap roadside assistance call
  5. Service contracts

    • Pick a vehicle and mileage, then a Classic or Flexible package
    • Starter services and a start date
    • A warning when a new contract overlaps an existing one
    • Terms, payment and the contract delivered to the app
    • My contracts, with details and status
  6. Payments

    • HyperPay checkout in the app for Visa, Mastercard and Mada
    • Tamara monthly instalments
    • Tabby in four payments, or a payment link sent by SMS
    • Prepaid or instalments, with unfinished payments resumable later
    • Every payment confirmed by the server before a contract is granted
  7. Invoices, claims and support

    • Invoices with PDF preview, share and print
    • Compensation requests in three steps, with attachments and status tracking
    • Complaints with attachments, and a list of your complaints
    • Support channels and FAQs
  8. Privacy and account

    • Data rights under Saudi PDPL: see, update or delete your data
    • Withdraw consent and opt out of marketing
    • Privacy and data-usage policies in the app
    • Profile with photo, My Cars and a primary vehicle
    • Arabic or English; light, dark or system theme
  9. Notifications and app health

    • Notification inbox, push by topic and local notifications
    • Forced updates when a release must be installed
    • Offline-first invoices, complaints, profile and FAQs from an encrypted cache
    • Typed analytics events across the customer journey
    • Crash reporting with personal data scrubbed
§ 04How it works

Clean layers, several brands.

One codebase serves every brand in the group, on five backends and the group’s CRM.

  1. Entry
    • Brand from vehicle or link
    • OTP and biometrics
  2. App
    • Brand theming
    • BLoC
    • Use cases
    • Repositories
  3. Services
    • Public and customers
    • Queueing and service
    • Contracts and compensation
    • CRM
  4. Payments
    • Hosted checkout
    • Instalments
    • Server confirmation
PRJ-01SYSTEM MAP
  1. Clean Architecture

    Screens talk to BLoCs, BLoCs to use cases, use cases to repositories. Errors come back typed, so every failure has a designed screen.

  2. Multi-brand

    A brand manager switches colours, logos and transitions at runtime, so one release ships every brand and each still feels like its own app.

  3. Offline first

    Invoices, complaints, profile and FAQs load from an encrypted local cache when the network drops, and refresh when it returns.

  4. One design system

    The interface was rebuilt on a shared component library with light and dark themes, motion that respects reduced-motion settings, and large tap targets.

  5. Bilingual by design

    Arabic and English with full right-to-left layouts, IBM Plex Sans for each script, and phone input that accepts Arabic-Indic digits.

  6. Ordered, fail-closed start

    Firebase, preferences, brand, environment, security and remote configuration start in a fixed order, so the app never runs half-configured.

§ 05Security and quality

Hardened, then tested again.

Two rounds of third-party penetration testing on iOS and Android, each finding answered in a formal response.

  1. Pinned connections

    Certificate pinning with backup pins, checked on the same connection that carries each request, at both the app and the native layer.

  2. Device integrity

    Root, jailbreak, hook, tamper, debugger and emulator detection in native code, checked again whenever the app resumes.

  3. Biometric vault

    Sign-in tokens kept in a biometric-gated vault that resets when a new fingerprint or face is enrolled.

  4. Sessions

    Idle and absolute session expiry, and a lockout after repeated failed attempts.

  5. Encrypted at rest

    Tokens and personal data in secure storage, an AES-encrypted local cache, no device backups and encrypted connections only.

  6. Hardened builds

    Obfuscated, shrunk release builds, and a build that refuses to ship if a test server address is found inside.

  7. Payments and web views

    A scheme allowlist, no script bridges, exact matching of the payment return, and the server confirming every payment.

  8. Privacy in telemetry

    Personal data redacted from crash reports and logs, sensitive copies that expire from the clipboard, and an iOS privacy manifest.

  9. In the pipeline

    Dependency scanning, an SBOM and a GraphQL injection guard on every change, with unit, widget and BLoC tests.

§ 06Outcome

Live, and passing.

The app is live on both stores in Arabic and English for Genesis, Hyundai, Changan, Peugeot, Citroën and Deepal owners, with the penetration-test findings closed. Along the way our team also found and fixed issues the auditors had missed.

Pen-test findings closedacross two rounds, iOS and Android
§ 08Start/brief.ts

Building something like this?

Tell us about it. We come back with questions and the next step: a short discovery call.

Book a call →
What do you need?
No spam. No sales sequences.