03 / Mobile architecture
From a website inside the app to native screens with Expo
Open a web screen inside the app
━ Selected flow ┄ Other connections
The React Native shell handles device features. Inside its WebView, the current website calls the Platform API.
The native shell handles device interactions such as biometric login.
The shell sends navigation commands into the WebView and receives events back.
The embedded browser loads the customer site.
The site requests data from the Platform API and renders the page.
What we run · V1 · WebView wrapper
- Why start here?
- Reusing the customer site brought its screens to both stores. Login, biometrics and the app’s navigation still needed native code.
- Where the boundary was
- Tapping native navigation could change a web route. The website could send an event, such as logout, back to the shell.
Load notifications
━ Selected flow ┄ Other connections
In the new React Native app, Expo Router opens a native screen. The app owns the interaction as well as the device features.
Expo Router opens the native notifications screen.
The screen reads the signed-in account’s feed.
While the screen is focused, the feed polls Core API.
Core API returns events, not a web page.
The account cache supplies the new rows to the screen.
One new notification appears in this example. React Native draws the row and handles filtering on the phone.
What we’re building · V2 · Native Expo app
- What moved into the app
- Design and frontend can change how a notification feels on a phone without changing the website. The screen handles taps, filtering and refresh itself.
- What stays separate
- The feed cache belongs to the signed-in account. Switching accounts on one device must not reuse another person’s notifications.
Open roles
No open role in this discipline right now.
See all open roles →