github DataDog/dd-sdk-reactnative 1.2.0

latest releases: 2.4.4, 2.4.3, 2.4.2...
22 months ago

What's changed

Initialize the SDK early with the DatadogProvider component

To simplify the code for initialization and reduce the likelihood of registering RUM events before the SDK is able to report them, we introduced the DatadogProvider component.

const config = new DatadogProviderConfiguration();
//...

export default function App() {
    return (
        <DatadogProvider configuration={config}>
            <Navigation />
        </DatadogProvider>
    );
}

The migration process only requires 3 steps, and is described in our docs.

Other improvements

Full Changelog: 1.1.5...1.2.0

Don't miss a new dd-sdk-reactnative release

NewReleases is sending notifications on new releases.