Skip to content

ISS-160270: Restructure mobile SDK documentation for React Native SDK #223

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

Conversation

PranithaShetty
Copy link
Contributor

This PR restructures the React Native SDK documentation.

@PranithaShetty PranithaShetty requested a review from bojan May 12, 2025 06:06
@PranithaShetty PranithaShetty self-assigned this May 12, 2025
@PranithaShetty PranithaShetty requested a review from a team as a code owner May 12, 2025 06:06
@PranithaShetty PranithaShetty marked this pull request as draft May 12, 2025 06:07
Copy link
Contributor

github-actions bot commented May 12, 2025

🌟 EkLine Reviewer

Hello! I’m here to help improve your docs. I’ve reviewed your pull request, and left in-line suggestions for quick fixes. For details, visit the Analytics Page.

For questions or feedback, please email [email protected].

@@ -1,16 +1,17 @@
This section describes the process of integrating the DevRev SDK with your React Native app.

## Installation
## Quickstart Guide
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [EkLine]

'Quickstart Guide' should use sentence-style capitalization. (EK00037)

@@ -107,14 +116,14 @@
For scenarios where custom handling is needed, links from the support chat can be captured with the following method:

```typescript
DevRevSDK.setInAppLinkHandler((url) => {
DevRev.setInAppLinkHandler((url) => {
// Perform an action here.
});
```

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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [EkLine]

Where possible, do not structure sentences in future tense. Use present tense instead. (EK00005)

Suggested change
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.
If a custom handler is not defined, all external and in-app links from the support chat open using the system's default browser, such as Chrome.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [EkLine]

Where possible, do not structure sentences in future tense. Use present tense instead. (EK00005)

The SDK will be ready for use once you execute the following configuration method.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [EkLine]

Where possible, do not structure sentences in future tense. Use present tense instead. (EK00005)

On iOS, if you haven't previously identified the user, the DevRev SDK will automatically create an anonymous user for you immediately after the SDK is configured.

@PranithaShetty PranithaShetty force-pushed the feature/ISS-160270-restructure-mobile-sdk-documentation-for-react-native branch from 60e0cb1 to 6ad86fa Compare May 12, 2025 06:15
@@ -210,25 +219,25 @@ To stop a timer, use the following method:
DevRev.stopTimer(name: string, properties: Map<string, string>)
```

### Screen tracking
#### Screen tracking

The DevRev SDK offers automatic screen tracking to help you understand how users navigate through your app. Although view controllers are automatically tracked, you can manually track screens using the following method:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [EkLine]

Consider using 'go' instead of 'navigate'. (EK25033)

Suggested change
The DevRev SDK offers automatic screen tracking to help you understand how users navigate through your app. Although view controllers are automatically tracked, you can manually track screens using the following method:
The DevRev SDK offers automatic screen tracking to help you understand how users go through your app. Although view controllers are automatically tracked, you can manually track screens using the following method:

@@ -281,7 +290,7 @@
const messageJson = notificationPayload["message"];
DevRevSDK.processPushNotification(JSON.stringify(messageJson));
```
#### iOS
##### iOS

On iOS devices, you must pass the received push notification payload to the DevRev SDK for processing. The SDK will then handle the notification and execute the necessary actions.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [EkLine]

Where possible, do not structure sentences in future tense. Use present tense instead. (EK00005)

Suggested change
On iOS devices, you must pass the received push notification payload to the DevRev SDK for processing. The SDK will then handle the notification and execute the necessary actions.
On iOS devices, you must pass the received push notification payload to the DevRev SDK for processing. The SDK handles the notification and executes the necessary actions.

```

## Troubleshooting
- **Issue**: Support chat won't show.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [EkLine]

Where possible, do not structure sentences in future tense. Use present tense instead. (EK00005)

Suggested change
- **Issue**: Support chat won't show.
- **Issue**: Support chat doesn't show.

**Solution**: The DevRev SDK reports all errors in the console using Apple's Unified Logging System. Look for error messages in the subsystem `ai.devrev.sdk`.


## Migration Guide
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [EkLine]

'Migration Guide' should use sentence-style capitalization. (EK00037)

## Migration Guide
This guide and chart should help facilitate the transition from the legacy UserExperior SDK to the new DevRev SDK in your React Native application, providing insights into feature equivalents and method changes.

### Feature Equivalence Chart
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [EkLine]

'Feature Equivalence Chart' should use sentence-style capitalization. (EK00037)

@PranithaShetty
Copy link
Contributor Author

This PR was closed as the changes in this PR has been done in the PR ISS-158592: Modularize the mobile SDK documentation(#221).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant