Skip to content

NZME/react-native-landmarksid

Repository files navigation

react-native-landmarksid

React native bridge for landmarksid location tracking

Installation

npm install react-native-landmarksid

Include the LandmarksID pod in the Podfile. Usually located in iod/Podfile

pod 'LandmarksID/LO', :git => 'https://github.com/LANDMARKSID/LandmarksID-iOS.git', :tag => '2.5.1'

Add a repository to android build.gradle file.

repositories {
    ...

    maven {
      url "https://jitpack.io"
      credentials {
        username "[ENTER PROVIDED USERNAME HERE]"
      }
    }
}

Usage

import Landmarksid from "react-native-landmarksid";

// ...

const result = await Landmarksid.initialize('APP_ID', 'APP_SECRET', {test_param: 'test'});

Set custom data.

Landmarksid.setCustomData({test_param: 'test'});

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT