This is a test app for the FullStory Segment react native plugin.
- Ensure that you have completed the react-native CLI environment setup guide.
- Ensure you have cocoapods installed
brew install cocoapods
- Ensure you have installed
node_modules
in the root directory. - Install
node_modules
in the example directory.
npm i
cd ios && pod install
-
Search for
your-org-id
within the project and replace with your FullStory Organization ID. This will be in your appbuild.gradle
andInfo.plist
. -
Search for
SEGMENT_API_KEY
within the project and replace with your Segment write key. This will be inApp.js
. -
Run the mobile app by
npm run android
ornpm run ios
from theexample/
directory.
Metro is set up to watch for changes in the plugin files as well as the application code. This makes it easy to test changes to the plugin code since hot reloading is set up.