In this tutorial, we will walk through the steps to install and enable the @fullstory/babel-plugin-react-native
package for integrating FullStory with React Native apps.
You can install the @fullstory/babel-plugin-react-native
package using npm or yarn.
npm install @fullstory/babel-plugin-react-native --save
yarn add @fullstory/babel-plugin-react-native
After installing the package, you need to enable the plugin in your babel.config.js
file. Here is an example configuration:
module.exports = {
presets: ['module:metro-react-native-babel-preset'],
plugins: ['@fullstory/react-native'],
};
By following these steps, you can effectively integrate FullStory with your React Native app using the @fullstory/babel-plugin-react-native
package.
Make sure to check the official documentation for more details or reach out to [email protected] for further assistance. ```