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

5.34.0 • 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

217

Version

5.34.0

License

UNLICENSED

Unpacked Size

5.48 MB

Total Files

6

Last publish

Collaborators

  • mappedin-ops
  • mappedin-engineering