Skip to content

Debug ID not found warning in ExpoΒ #930

@crrobinson14

Description

@crrobinson14

Describe the bug

[Datadog SDK] Debug ID not found. Are you using @datadog/mobile-react-native/metro config? is reported in the console in Expo.

Reproduction steps

  1. Scaffold an empty Expo project (with version 53.0.17 but it doesn't matter.)
  2. Follow the Datadog installation instructions at https://docs.datadoghq.com/real_user_monitoring/mobile_and_tv_monitoring/react_native/setup/expo/.
  3. Run the app.
  4. Open the Debugger.
  5. Observe the warning noted above at the ContextNavigator component just under ExpoRoot.

NOTE: Unlike with React Native Bare, the Expo installation instructions do not call for a Metro plugin/config step. One would think this is the purpose of the expo-datadog plugin being added to app.json.

Image

SDK logs

 WARN  [Datadog SDK] Debug ID not found. Are you using @datadog/mobile-react-native/metro config?```

### Expected behavior

No error is reported.

### Affected SDK versions

expo-datadog 53.0.0, @datadog/mobile-react-native 2.9.1

### Latest working SDK version

N/A

### Did you confirm if the latest SDK version fixes the bug?

Yes

### Integration Methods

Yarn

### React Native Version

0.79.5

### Package.json Contents

_No response_

### iOS Setup

_No response_

### Android Setup

_No response_

### Device Information

_No response_

### Other relevant information

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions