dt-setup-react-native

Installation
SKILL.md

Dynatrace React Native Plugin Integration Skill

Prerequisites

  • Node.js 16.0+ and npm available on PATH
  • An existing React Native project (v0.68+) or Expo project (v45+) with a package.json at the project root
  • android/ and ios/ platform folders present (Expo managed workflow requires npx expo prebuild first)
  • A Dynatrace environment with access to Experience Vitals (to obtain applicationId and beaconUrl, or to download dynatrace.config.js)
  • Console access to Experience Vitals → Mobile to configure app settings (Data Privacy, Enablement and Cost Control)
  • macOS with CocoaPods for iOS builds

Work through the steps below in order, interacting with the user at each decision point. Read actual project files before suggesting changes — do not assume the current state.

Step 1 — Check for existing dynatrace.config.js

Before asking the user anything, check whether dynatrace.config.js exists at the project root.

  • File exists: Read it, show the applicationId and beaconUrl, and confirm they match the target environment. If correct, run the userOptIn check below and skip to Step 3 (config is already present — Step 2 is not needed).
  • File does not exist: Proceed to Step 2.
Installs
42
GitHub Stars
122
First Seen
6 days ago
dt-setup-react-native — dynatrace/dynatrace-for-ai