1.0.6 • Published 6 years ago
react-native-tailormade v1.0.6
react-native-tailormade
Getting started
Installation of the Javascript bridge module
Execute these commands in your React Native project directory. This will install and link the module to your native apps:
$ react-native install react-native-tailormade
$ react-native link react-native-tailormade
Installation of the Tailormade SDK in your native apps
To be able to use this module, you need to install the native Tailormade SDK in the native iOS and Android versions of your React Native app. To do it, just follow this guide: Tailormade mobile SDKs
Usage
import {NativeModules} from 'react-native';
var Tailormade = NativeModules.Tailormade;
Tailormade.getInfo("YOUR_LICENSE_KEY", (error, response) => {
if (response) {
console.log(response);
}
});