Skip to content

DataDog/expo-datadog

Repository files navigation

expo-datadog

Overview

This package contains the Datadog Expo config plugin expo-datadog. It requires @datadog/mobile-react-native to work.

For more information about using the Expo SDK, see the Expo and Expo Go documentation. For more information about tracking Expo crash reports, see the Expo Crash Reporting and Error Tracking documentation.

Contributing

If you find an issue with this package and have a fix, first consult the Contributing Guidelines.

To try a development build plugin on an app, run this commands from this directory:

yarn clean && yarn build && yarn pack

Copy the generated archive to the root of your app and change your package.json to install the package from the archive:

"expo-datadog": "./package.tgz",

Run yarn install from your app and run expo prebuild to see changes appear in the native files. If this looks good to you, start an EAS build to test your changes.

To avoid issues with the npm cache, change the name of the archive every time you test a new version, for example: expo-datadog-v45.0.1-test-1.tgz.