rnmapbox/maps is major 10 while the SDK it wraps is major 11
A Mapbox react native module for creating custom maps
At a glance
- What is it?
- A community maintained React Native binding for the Mapbox native SDKs, with four exports, an Expo config plugin, a Jest setup entry, and scripts that fetch the vendor's style specification and run an autogeneration step. The file asks for maintainers at the top and sponsors at the bottom, and both point at the same discussion thread.
- Who is it for?
- This library is the practical choice if your project already uses the Mapbox native SDKs on both platforms and needs a React Native surface, because it ships both the JavaScript API and the native projects. Two things decide it.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository received new commits within the last day.
- What is it written in?
- Mainly Kotlin, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 22, 2026, and from our analysis. They are not legal advice.
Star history
- rnmapbox/maps2,933 ★ · +18
| Repository | 2026-09-24 | 2026-11-22 |
|---|---|---|
| rnmapbox/maps | 2.9k | 2.9k |
18 Stars in the last 59 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
The maintainer appeal and the sponsorship appeal share one thread
The first item under the news section is a call for additional maintainers, rendered in red, pointing at one discussion thread. The sponsors section at the bottom of the file says the repository needs help to move forward, invites sponsorship, and tells readers to add a comment in a discussion to discuss it. That is the same thread number as the maintainer call. So the file opens by asking for people to do maintenance work and closes by asking for money, and both conversations happen in the same place. That is not necessarily wrong; it is the single place a maintainer watches. But it does mean the two asks are indistinguishable to a reader who follows the sponsorship link expecting a funding page, and it means the number of people who could actually take on maintenance is the same number who would read a sponsorship thread. The self description calls the project community supported, which is the honest framing for a binding layer over someone else's SDK.
The package is major 10 while the SDK it wraps is major 11
Two version numbers run in parallel and they are not the same number. The package version in the manifest is 10.3.16, matching the newest release tag, v10.3.16, and the file states that it supports the eleventh major version of the Mapbox native SDKs. So the library's own major has not moved for the SDK major it targets, which is a reasonable choice for a binding layer and a confusing one for anyone deciding whether an upgrade is safe. The repository keeps both readings available, with a separate README-v10.md sitting next to the main readme. The release history is otherwise busy in a way that suggests active work: three versions, v10.3.14, v10.3.15 and v10.3.16, published within about 19 hours on 2026-10-27.
The published tarball contains the Android and iOS projects
Read the file list in the manifest and notice what is not excluded. The package ships the source directory and the built library, the Expo plugin and its entry file, the Jest setup file, both native platform directories, a C++ directory, and the podspec. Then the negations: the build output under each platform is excluded, along with the Gradle wrapper, the wrapper's Windows batch file, the Gradle directory itself, the local properties file, test directories, fixture directories, mock directories, and dotfiles. So what arrives in the tarball is the whole Android and iOS project source, minus the parts that are generated. That is what makes the manifest's main field point at a built module while the export map's source condition points at the TypeScript entry: consumers get both the JavaScript and the native code, and a bundler or a Metro resolver is expected to pick between them. It is a heavier package than a pure JavaScript library, and the reason is the platform code.
The component layer is generated from a downloaded style specification
Two scripts explain the shape of the documentation section. One fetches the style specification by sourcing a shell script that downloads it, and the other runs an autogeneration script over the result. The manifest's generate script suggests part of the surface is produced rather than hand written, though the file does not say exactly what it generates. The documented list has ten layer types and four source types named in one uniform pattern. The tree confirms it with a directory named for the style specification and a scripts directory holding both of those files.
Expo Go cannot load it and the repository ships a config plugin
The Expo section is one sentence and a link, and the sentence is a blocker. The package is not available in the Expo Go app, and the file points at custom development clients instead. The reason is structural rather than a missing feature: a module with native code cannot run inside a client that only loads JavaScript bundles already known to the app. What the repository offers for that case is a config plugin, which is visible in three places at once. There is a plugin entry in the exports map, there is a plugin file at the repository root, and there is a plugin source directory with its own build, lint and test scripts, the test one invoking the Expo module test runner. So the project treats Expo as a first class target with a maintained solution, and the one thing it cannot do is work in the default client every Expo user starts with.
Testing needs a preset, a setup entry and a transform exception
The Jest section supplies a configuration block rather than an instruction, and all three parts are required. The preset has to be the React Native one. A setup file after each environment has to point at the package's own setup entry, which exists as an export subpath and as a file at the root. And the transform ignore patterns have to name the package explicitly, because the default React Native pattern skips everything in node_modules, which is where a published package lives:
"jest": {
"preset": "react-native",
"setupFilesAfterEnv": ["@rnmapbox/maps/setup-jest"],
"transformIgnorePatterns": [
"node_modules/(?!(...|@rnmapbox))"
]
}The file describes what the entry supplies as mocks that are necessary for running tests. So a consumer does not get working tests by installing; they get working tests by adding three lines, and the third of those is the one that fails first if it is left at its default value.
Two eslint configurations and two names for one type check
The root carries a legacy eslint configuration file and a flat configuration file, and the lint script calls eslint over the whole tree with no file extension list. Having both means the flat one wins and the older one is dead weight, or that one of them is used by a tool that has not moved; the file does not say which. There is a similar duplication in the type checking. Two script names run the same compiler with the same no emit flag, one calling the local binary and one calling the package runner script. Neither is harmful, and both are the kind of thing that accumulates while a repository changes package managers. The package manager here is unambiguous, though: the tree contains a Yarn configuration directory, a Yarn configuration file and a Yarn lockfile, so this is a Yarn Berry project with Yarn scripts throughout. The test script chains linting and the unit tests, and the precommit hook chains linting and the type check.
The example application's tests generate the documentation
One script in the manifest changes directory into the example project and runs a single test file whose name says it dumps examples as JSON. The script name suggests the example application feeds a generated examples file. The example directory is a full application rather than a snippet collection, with its own Android and iOS projects, a Metro config, a Detox configuration for end to end tests, a Ruby gemfile for the iOS side, a web entry point and its own test setup.
Editorial conclusion
This library is the practical choice if your project already uses the Mapbox native SDKs on both platforms and needs a React Native surface, because it ships both the JavaScript API and the native projects. Two things decide it. Expo: the file says in one line that the package is not available in Expo Go, so an Expo project needs a custom development client and the config plugin this repository ships. And the access token: a Mapbox account is a prerequisite, not an implementation detail, so the vendor's pricing sits outside this repository entirely and no question about it can be answered from here. For a self hosted map, this is not the library. The release history is healthy enough to rely on, with three versions cut on 2026-10-27, the newest matching the 10.3.16 version in the manifest.
Frequently asked questions
What is @rnmapbox/maps?
A community supported, open source React Native library for building maps with the Mapbox Maps SDK for iOS and Android. It supports the eleventh major version of those SDKs, requires React Native 0.79 or newer.
Does rnmapbox maps work inside Expo Go?
No. The file states that the package is not available in the Expo Go app and points to custom development clients instead. For that case the repository ships an Expo config plugin, exposed as an export and built and tested by its own scripts.
What do I need before using rnmapbox/maps?
A Mapbox account, because signing up to Mapbox to obtain an access token is the single stated prerequisite, and the setting of that token on the module is the first call in the example. Node, npm and React Native 0.79 or newer are listed as dependencies.
How do I test an app that uses rnmapbox maps?
Add three things to the Jest configuration: the React Native preset, the package's setup entry in the setup files after each environment, and a transform ignore pattern that names the package so it is not skipped with the rest of node_modules. The package provides the mocks those lines depend on.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/rnmapbox-maps)Star history chart for your README
[](https://hysenlabs.com/projects/rnmapbox-maps)Was this useful?