dt-obs-react-native

Solid

Integrate the Dynatrace React Native Plugin into a React Native or Expo project — dependency setup, dynatrace.config.js, Babel registration, npx instrumentation, navigation tracking, user privacy options, and verification. Handles both bare React Native and Expo (babel-preset-expo) Babel configuration automatically. Trigger: "add Dynatrace to React Native", "React Native plugin setup", "instrument React Native app", "integrate Dynatrace RN", "mobile observability React Native", "react-native-plugin", "dynatrace react native", "add Dynatrace to Expo", "instrument Expo app", "Dynatrace Expo setup". Do NOT use for: querying RN RUM data (use dt-obs-frontends), non-React Native mobile setups, or Dynatrace server-side configuration.

AI & Automation 117 stars 24 forks Updated 3 days ago Apache-2.0

Install

View on GitHub

Quality Score: 88/100

Stars 20%
69
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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. **`userOptIn` check:** Inspect the file for `userOptIn` (Android block) and `DTXUserOptIn` (iOS block). - **Present on both platforms:** Trust the value as-is. If `true`, flag Step 9. If `false`, skip Step 9. - **Absent from either platform:** Ask the user: **"Do...

Details

Author
Dynatrace
Repository
Dynatrace/dynatrace-for-ai
Created
3 months ago
Last Updated
3 days ago
Language
Shell
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

dt-obs-flutter

Integrate the Dynatrace Flutter Plugin into a Flutter project — dependency setup, config, SDK bootstrap, navigation tracking, and verification. Trigger: "add Dynatrace to Flutter", "Flutter plugin setup", "instrument Flutter app", "integrate Dynatrace Flutter", "mobile observability Flutter", "dynatrace_flutter_plugin". Do NOT use for: querying Flutter RUM data (use dt-obs-frontends), non-Flutter mobile setups, or Dynatrace server-side configuration.

117 Updated 3 days ago
Dynatrace
AI & Automation Solid

dt-obs-ios-sdk

Set up the Dynatrace iOS SDK (OneAgent) in an iOS project using Swift Package Manager. Automates adding the SPM dependency, creating a Dynatrace.plist configuration file, adding the import statement, adding privacy opt-in code, and building the project. Use this skill when the user wants to integrate, install, add, or set up Dynatrace monitoring in their iOS app. Keywords: Dynatrace, iOS, SDK, OneAgent, setup, install, integrate, SPM, Swift Package Manager, Info.plist, DTXApplicationID, DTXBeaconURL, mobile monitoring, RUM.

117 Updated 3 days ago
Dynatrace
Web & Frontend Listed

linkrunner-react-native

Integrate the Linkrunner mobile attribution SDK into a React Native app - add the package, initialize it, identify users, track events and revenue, and set up deep linking (iOS Universal Links, Android App Links, and custom URI schemes) with domain verification. Use when someone asks to add Linkrunner to a React Native app, wire up attribution, or debug why Linkrunner deep links are not opening the app.

0 Updated 5 days ago
linkrunner-labs