( Blog — 02 · 28 October 2026 · 5 min )
Turn by turn, from scratch
Our ride-hailing app needed real turn-by-turn navigation inside React Native. Google had a Navigation SDK for iOS and Android. React Native had nothing ready to use.
The gap
At D&S I build the mobile apps for a ride-hailing service in Japan, in React Native and TypeScript. Maps were never the problem: there are good libraries for drawing a map and a route. Navigation is a different thing. It is the voice, the next-turn banner, the camera that follows the car, the rerouting when someone misses an exit. Google ships all of that as the Navigation SDK, but only for native iOS and Android.
When I started, there was no ready-to-go React Native library for it. Google had begun one, but it wasn’t released yet. So I built our own integration, using that unreleased library as a reference and customising the native code on both platforms to fit our app.
How React Native talks to native
React Native gives you two ways to reach the platform. A native module exposes functions with no UI, things you call from JavaScript. A native component exposes a real platform view that you can place in your React tree like any other component. Navigation needs both, plus a third piece: events flowing back from native to JavaScript, because the SDK is the one that knows when you’ve arrived, rerouted or lost GPS.
So the work came down to three bridges:
- A native module on each platform to start the navigator, set destinations, and start or stop guidance.
- A navigation view on each platform, wrapped so React Native can render it as a regular component.
- Events from the SDK, such as arrival and route changes, sent back to JavaScript so the app can react.
Two platforms, two shapes
The SDK does the same job on both platforms, but it isn’t the same API, and the bridge has to hide that.
On Android you ask NavigationApi.getNavigator() for a navigator and get it back in a callback. On
iOS, navigation lives on the map view itself: you switch on isNavigationEnabled and drive it through
mapView.navigator. One JavaScript API had to sit on top of both.
A few things the SDK insists on, and that the bridge has to respect:
- Terms first. The user must accept Google’s navigation terms before navigation is available. Until then, nothing else works.
- Lifecycle. On Android, the navigation view expects the activity or fragment holding it to forward its lifecycle methods. A view living inside React Native has to get those calls from somewhere.
- Location permissions. On iOS, navigation needs location authorisation and the background location mode. Without the background mode, the app crashes when navigation starts.
What I built
- A native module and view bridge for iOS and Android
- Navigation views usable as regular React Native components
- Event handling between the native SDK and the JavaScript app
- Performance work so navigation stays smooth on real devices
If you’re starting today
You probably don’t need to do what I did. Google now publishes an official library,
@googlemaps/react-native-navigation-sdk. It is still in beta until version 1.0, and recent
versions need React Native’s New Architecture. Start there, and only go native yourself if it
doesn’t cover what you need.
What I learned
It was hard and, at times, frustrating. It is also the project I’ve enjoyed most. Working this close to the native code taught me how React Native really talks to each platform, and it taught me patience with problems that don’t have a Stack Overflow answer yet.
When there’s no library, the docs and the native code are the library.