Our own project · Case study
Glenby React Native Case Study A messenger app in detail
Glenby is a messenger for private chats and calls that needs no phone number. One-to-one chats are end-to-end encrypted and calls are encrypted. We built the app as a bare React Native app with local Gradle builds. It is available on Google Play and the App Store.
Feature scope
This is what we built into the app: private chats and calls, protection features and control over your own data.
-
Chat without a phone number
Friends find each other through a code or a username. No phone number is needed.
-
Encrypted one-to-one chats
Text, photos, voice messages and files in one-to-one chats are end-to-end encrypted, built with tweetnacl.
-
Calls on every plan
Voice and video calls are encrypted and free on every plan. On Android a call keeps running in picture-in-picture.
-
Protection in chat
Messages can disappear after a time you choose, and photos can be sent for one-time viewing. Chat lock, app lock and the safety number protect the conversation.
-
A tidy chat list
Folders and pinned chats keep the list organized.
-
On the go
Live location goes only to friends you choose. With Safe return you set a time and pick a friend who is told if you do not check in. SOS sends your location to that friend. Glenby is not an emergency service.
-
Data and ads
Data export and account deletion are available in the app. There are no ads and no advertising trackers. Glenby is for adults aged 18 and over.
-
Glenby+ is optional
The optional subscription adds your own colors, backgrounds, message effects, HD photos and higher limits for pinned chats, folders and file size. Calls stay free on every plan.
Tech stack
in detail
-
React Native 0.86
Bare workflow with the New Architecture, builds run locally via Gradle instead of cloud services
-
Expo Router
File-based, typed routes, Expo modules used as a library instead of Expo Go
-
TypeScript strict
Strict mode in the app and in the Cloudflare Workers
-
Cloudflare Workers + D1
On Cloudflare since August 2026, previously Supabase. No direct database access from the client, sign-in runs on JWT sessions
-
R2 + Durable Objects
Media lives in R2, and the realtime inboxes for messages run on Durable Objects
-
Zustand 5 + MMKV
Local state lives in native key-value stores
-
WebRTC
Encrypted 1:1 calls between friends, signaling runs through the app backend
-
Kotlin PiP module
Custom Expo native module for Android picture-in-picture during calls
-
tweetnacl
End-to-end encrypted one-to-one chats
-
Reanimated 4 + FlashList
Worklet animations and FlashList v2 for long chat lists
-
Vitest
Unit tests with Vitest, plus a script that checks every color pair of the design tokens against WCAG 2.2 AA
Two decisions
Isolated backend
No direct database access from the client: all traffic runs through custom endpoints on Cloudflare Workers. Until August 2026 the backend ran on Supabase.
Accessibility as a gate
The color tokens are defined in OKLCH. A build script checks every pair against WCAG 2.2 AA and fails on violations.