Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History

README.md

Outline

Rum react navigation - Async Initialization

This project initializes the Datadog SDK asynchronously. See App.tsx for the asynchronous initialization implementation.

Usage

In this directory, install all dependencies:

yarn install
(cd ios && pod install)

To try this project you need to create a folder called config in the project root containing 2 files:

  • config/credentials.json file containing:

    {
        "clientToken": "<CLIENT_TOKEN>",
        "environment": "<ENVIRONMENT_NAME>",
        "applicationId": "<RUM_APPLICATION_ID>",
        "apiCall": "<ApiLink>"
    }

    <ApiLink> is a hyperlink to a gist file you have created to store the Datadog initialization information For example:

    {
        "sessionSamplingRate": 60,
        "nativeCrashReportEnabled": true
    }
  • config/hosts.json file containing:

    {
        "shopistApiHost": "shopist.io"
    }

To upload sourcemaps for the app, add a datadog-ci.json file in the project root containing:

{
  "apiKey":"<YOUR_DATADOG_API_KEY>"
}

Note: The Datadog API key must be valid.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.