dd-sdk-reactnative icon indicating copy to clipboard operation
dd-sdk-reactnative copied to clipboard

Please make `stopInstance()` available in react-native.

Open trcoffman opened this issue 11 months ago • 2 comments

Feature description

https://github.com/DataDog/dd-sdk-ios/issues/591#issuecomment-2658564716

Recently, the iOS datadog sdk was given the stopInstance() api that lets you tear down the dd sdk and reinitialize it with different parameters.

This would be very useful because when our QA engineers connect to a QA server from the production app, we want to tear down the RUM session and restart it with env set to qa.

Proposed solution

Add bindings so that react-native users can access the stopInstance api that's available in the underlying iOS and Android datadog SDKs.

Other relevant information

No response

trcoffman avatar Feb 18 '25 23:02 trcoffman

Hello, thanks for reaching out.

First, apologies for the late reply. Second, yes, this is something that we are planning to for v3 of the SDK.

Please keep an eye for it when it releases.

sbarrio avatar Sep 10 '25 09:09 sbarrio

This issue has been automatically marked as stale because it has not had recent activity and has the awaiting-response label.

It will be closed if no further activity occurs within 3 days.

github-actions[bot] avatar Sep 25 '25 07:09 github-actions[bot]