
Security News
Inside Lodash’s Security Reset and Maintenance Reboot
Lodash 4.17.23 marks a security reset, with maintainers rebuilding governance and infrastructure to support long-term, sustainable maintenance.
@mappedin/react-native-sdk
Advanced tools
Mappedin SDK for React Native enables integration of Mappedin's indoor mapping and navigation capabilities into React Native applications. This SDK provides a native wrapper around Mappedin's web-based mapping technology using WebView for cross-platform c
Mappedin SDK for React Native enables integration of Mappedin's indoor mapping and navigation capabilities into React Native applications. This SDK provides a native wrapper around Mappedin's web-based mapping technology using WebView for cross-platform compatibility.
npm install @mappedin/react-native-sdk
or
yarn add @mappedin/react-native-sdk
This package requires the following peer dependencies with minimum versions:
>=16.8.0 (for React Hooks support)>=0.60.0 (for auto-linking and WebView compatibility)>=11.0.0 (for stable TypeScript support)npm install react react-native react-native-webview
Get your first map up and running in just a few minutes:
import React, { useEffect } from 'react';
import { View, StyleSheet } from 'react-native';
import { MapView, useMap } from '@mappedin/react-native-sdk';
const MapSetup = () => {
const { mapData, mapView } = useMap();
useEffect(() => {
if (mapData && mapView) {
console.log('Map is ready!');
async function initializeMap() {
// Display all venue labels (experimental feature)
mapView.Labels.__EXPERIMENTAL__all();
// Create a smooth tour through all spaces
for (const space of mapData.getByType('space')) {
await mapView.Camera.focusOn(space, {
duration: 1000,
easing: 'ease-in-out',
});
}
}
initializeMap();
}
}, [mapData, mapView]);
return null;
};
// Add your Mappedin key, secret and map ID or use a demo key and map
// Demo Key & Maps: https://developer.mappedin.com/docs/demo-keys-and-maps
const App = () => {
return (
<View style={styles.container}>
<MapView
options={{}}
mapData={{
key: 'your-mappedin-key',
secret: 'your-mappedin-secret',
mapId: 'your-map-id',
}}
>
<MapSetup />
</MapView>
</View>
);
};
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#f0f8ff',
},
});
export default App;
import React from 'react';
import { MapView, useMap } from '@mappedin/react-native-sdk';
const CustomMapComponent = () => {
const { mapData, mapView } = useMap();
const handleSpaceClick = async space => {
// Focus on clicked space with smooth animation
await mapView.Camera.focusOn(space, {
duration: 1500,
easing: 'ease-out',
});
};
// Add your Mappedin key, secret and map ID or use a demo key and map
// Demo Key & Maps: https://developer.mappedin.com/docs/demo-keys-and-maps
return (
<MapView
style={{ flex: 1 }}
mapData={{
key: 'mik_your_key_here',
secret: 'mis_your_secret_here',
mapId: 'your_map_id_here',
}}
options={
{
// Custom options go here
}
}
>
{/* Your custom map setup logic */}
</MapView>
);
};
MapViewThe main component that renders your indoor map with powerful mapping capabilities.
Props:
mapData - Configuration object containing your Mappedin credentialsoptions - Additional MapView configuration optionsstyle - ViewStyle for the map containerchildren - Custom components to render within the map contextuseMap HookAccess map data and view controls from any child component.
Returns:
mapData - Venue data and spatial informationmapView - Map control methods and interactions// Camera Controls
await mapView.Camera.focusOn(target, options);
// Labels
mapView.Labels.__EXPERIMENTAL__all(); // Show all labels (experimental feature)
mapView.Labels.hide(); // Hide all labels
Check out our example app in apps/rn-example/ for more detailed implementations, including:
See LICENSE.txt for license information.
FAQs
Mappedin SDK for React Native enables integration of Mappedin's indoor mapping and navigation capabilities into React Native applications. This SDK provides a native wrapper around Mappedin's web-based mapping technology using WebView for cross-platform c
The npm package @mappedin/react-native-sdk receives a total of 488 weekly downloads. As such, @mappedin/react-native-sdk popularity was classified as not popular.
We found that @mappedin/react-native-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Lodash 4.17.23 marks a security reset, with maintainers rebuilding governance and infrastructure to support long-term, sustainable maintenance.

Security News
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.

Security News
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.