Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.

Commit f745429

Browse files
authored
Update sdk-react-native.mdx
1 parent cb9f850 commit f745429

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

fern/docs/pages/plug-sdk/sdk-react-native.mdx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,5 +89,29 @@ You can initiate a new support conversation directly from your app. This method
8989
DevRev.createSupportConversation()
9090
```
9191

92+
### In-app link handling
93+
94+
TBD
95+
96+
97+
### In-app link callback
98+
99+
<Callout intent="note">
100+
This functionality is for Android only.
101+
</Callout>
102+
103+
For scenarios where custom handling is needed, links from the support chat can be captured with the following method:
104+
105+
```typescript
106+
DevRevSDK.setInAppLinkHandler((url) => {
107+
// Perform an action here.
108+
});
109+
```
110+
111+
If a custom handler is not defined, all external and in-app links from the support chat will open using the system's default browser, such as Chrome.
112+
113+
114+
115+
92116

93117

0 commit comments

Comments
 (0)