@mappedin/react-native-sdk
TypeScript icon, indicating that this package has built-in type declarations

5.40.3 • Public • Published

Mappedin React Native SDK

Resources

Usage

Installation

npm install @mappedin/react-native-sdk react-native-webview

or

yarn add @mappedin/react-native-sdk react-native-webview

Update cocoapods: cd ios && pod install

Getting Started

import React from 'react';
import { SafeAreaView } from 'react-native';
import { MiMapView } from '@mappedin/react-native-sdk';

// See Trial API key Terms and Conditions
// https://developer.mappedin.com/guides/api-keys
const options = {
	clientId: '5eab30aa91b055001a68e996',
	clientSecret: 'RJyRXKcryCMy4erZqqCbuB1NbR66QTGNXVE0x3Pg6oCIlUR1',
	venue: 'mappedin-demo-mall',
};

const App = () => {
	return (
		<SafeAreaView style={{ flex: 1 }}>
			<MiMapView style={{ flex: 1 }} key="mappedin" options={options} />
		</SafeAreaView>
	);
};

export default App;

For full documentation, read our Getting Started guide on the Developer Portal.

Readme

Keywords

none

Package Sidebar

Install

npm i @mappedin/react-native-sdk

Weekly Downloads

232

Version

5.40.3

License

UNLICENSED

Unpacked Size

5.46 MB

Total Files

6

Last publish

Collaborators

  • mappedin-ops
  • mappedin-engineering