Support Tools Integration for React Native
To debug support tickets effortlessly, all you have to do is extract the session URL from Instabug and send it as a custom attribute to your preferred support tools. This enables your support team to view Session Replays for every reported issue to help debug the issue. You can use the below API to extract the session URL.
SessionReplay.getSessionReplayLink();
Intercom Example
To automatically include the Session URL with each support ticket received via Intercom, integrate the following code snippet into your application. This will send the session URL to the recent events section.
const link = await SessionReplay.getSessionReplayLink();
if (link !== null) {
await Intercom.logEvent('session-replay-url', {
url: link,
});
await Intercom.present();
}
Updated 9 months ago