Support Tools Integration for Flutter
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, simply integrate the following code snippet into your application. This will send the session URL to the recent events section.
final result = await SessionReplay.getSessionReplayLink();
if (result != null) {
await Intercom.instance.loginUnidentifiedUser();
await Intercom.instance.logEvent('session-replay-url', {"url": result});
}
Updated 9 months ago