Reference Source

React Native SDK for IBM Mobile Foundation

This is the React Native SDK for IBM Mobile Foundation.

Getting Started

Pre-requisites

  1. Make sure you have all the pre-requisites for a React Native app covered. See the React Native Getting Started page if you're new to this whole stuff.
  2. Setup of MobileFirst server

Android

cd MyApps

react-native init MyReactWallet

cd MyReactWallet

npm install <path_to_react-native-ibm-mobilefirst_package> --save

react-native link

Run your app

cd ..

react-native run-android

iOS

cd MyApps

react-native init MyReactWallet

cd MyReactWallet

npm install <path_to_react-native-ibm-mobilefirst_package> --save

react-native link

pod install

react-native run-ios

Manual Steps for iOS only

  1. In XCode, in the project navigator, drag and drop "mfpclient.plist" from "ios" folder.