-
Notifications
You must be signed in to change notification settings - Fork 3
ISS-160289: Update the React Native SDK guide #195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
4a5bbdc
cfcacf6
b937d89
184d651
a86f668
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -33,7 +33,7 @@ On iOS, if you haven't previously identified the user, the DevRev SDK will autom | |||||
</Callout> | ||||||
|
||||||
<Callout intent="note"> | ||||||
The `Identity` structure allows for custom fields in the user, organization, and account traits. These fields must be configured through the DevRev app before they can be utilized. For more information, refer to [Object customization](https://devrev.ai/docs/product/object-customization). | ||||||
The `Identity` structure allows for custom fields in the user, organization, and account traits. These fields must be configured through the DevRev app before they can be used. For more information, refer to [Object customization](https://devrev.ai/docs/product/object-customization). | ||||||
</Callout> | ||||||
|
||||||
You can select from the following methods to identify users within your application: | ||||||
|
@@ -71,7 +71,7 @@ The `userID` property cannot be updated. | |||||
Once user identification is complete, you can start using the chat (conversations) dialog supported by our DevRev SDK. The support chat feature can be shown as a modal screen from the top-most screen. | ||||||
|
||||||
<Callout intent="note"> | ||||||
This functionality requires the SDK to be configured and the user to be identified, whether they are unverified or anonymous. | ||||||
This feature requires the SDK to be configured and the user to be identified, whether they are unverified or anonymous. | ||||||
</Callout> | ||||||
|
||||||
To show the support chat screen in your app, you can use the following method: | ||||||
|
@@ -90,7 +90,7 @@ DevRev.createSupportConversation() | |||||
|
||||||
### In-app link handling | ||||||
|
||||||
In some instances, links opened from the support chat are displayed within the app rather than in a browser. You can manage whether the chat modal should close after a link is opened by using the following method: | ||||||
In certain cases, the links opened from the support chat are opened in the app instead of a browser. You can control whether the chat modal should be dismissed after the link is opened by calling the following method: | ||||||
|
In certain cases, the links opened from the support chat are opened in the app instead of a browser. You can control whether the chat modal should be dismissed after the link is opened by calling the following method: | |
In certain cases, tapping links in the support chat will open them in the app instead of a browser. You can control whether the chat modal screen should be dismissed after the link is opened by calling the following method: |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Push notifications require that the SDK has been configured and the user has been identified, to ensure delivery to the correct user. | |
To ensure delivery to the correct user, push notifications require that the SDK has been configured and the user has been identified. |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On Android devices, the `deviceToken` should be the Firebase Cloud Messaging (FCM) token value, while on iOS devices, it should be the Apple Push Notification Service (APNs) token. | |
On Android devices, the `deviceToken` must be the Firebase Cloud Messaging (FCM) token value. On iOS devices, it must be the Apple Push Notification Service (APNs) token. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where possible, do not structure sentences in future tense. Use present tense instead. (EK00005)
fern-api-docs/fern/docs/pages/plug-sdk/react-native.mdx
Line 19 in 4a5bbdc