0.1.0 • Published 7 years ago

react-native-navitia-sdk v0.1.0

Weekly downloads
8
License
GPL-3.0
Repository
-
Last release
7 years ago

RNNavitiaSDK codebeat badge

React Native module for using Navitia SDK iOs & Android

Installation

  1. Run: $ npm install react-native-navitia-sdk --save
  2. For each platform (iOS/Android) you plan to use, follow one of the options for the corresponding platform.

Android

$ react-native link

iOS: With CocoaPods

$ react-native link doesn't work for iOS

  • Add the following to your Podfile and run pod update:
use_frameworks!

pod 'NavitiaSDK', '0.1'
  • Open the YOUR_PROJECT_NAME.xcworkspace
  • Add RNNavitiaSDK.h and RNNavitiaSDK.m from node_modules/react-native-navitia-sdk/RNNavitiaSDK/ in your project