Skip to content

ISS-179074: Update troubleshooting guide and proguard rules #244

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions fern/docs/pages/sdks/mobile/android/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ To integrate the latest version of our SDK into your app, follow these steps:
</Tab>
</Tabs>

### Proguard rules

If you are using Proguard in your project, you must add the following lines to your configuration:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
If you are using Proguard in your project, you must add the following lines to your configuration:
If you are using Proguard in your project, add the following lines to your configuration:

```bash
-keep class ai.devrev.** { *; }
-keep class com.userexperior.* { *; }
```

## Set up the DevRev SDK

1. Open the DevRev web app at [https://app.devrev.ai](https://app.devrev.ai) and go to the **Settings** page.
Expand Down
15 changes: 9 additions & 6 deletions fern/docs/pages/sdks/mobile/android/troubleshooting.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# Troubleshooting

- **Issue**: Encountering problems with DevRev SDK integration.
**Solution**: Verify the correct SDK dependency setup in the project. Ensure `mavenCentral` is accessible from the IDE.
- **Issue**: Can't import the SDK into my app.
**Solution**: Double-check the setup process and ensure that `mavenCentral()` is present in the project level repositories block.

- **Issue**: The `showSupport()` function or XML button is unresponsive.
**Solution**: Confirm that user identification is performed before using the `showSupport()` function or XML button.
- **Issue**: How does the DevRev SDK handle errors?
**Solution**: The DevRev SDK reports all errors using Android's logging utility. Look for error messages in Android Studio's Logcat after applying `DEVREV SDK` filter.

- **Issue**: Incorrect operation due to `App ID` and `secret` misconfiguration.
**Solution**: Double-check that both `App ID` and `secret` values are accurately configured in your application.
- **Issue**: Support chat doesn't show.
**Solution**: Ensure you have correctly called one of the identification methods: `DevRev.identifyUnverifiedUser(...)`, `DevRev.identifyVerifiedUser(...)`, or `DevRev.identifyAnonymousUser(...)`.

- **Issue**: Not receiving push notifications.
**Solution**: Ensure that your app is configured to receive push notifications and that your device is registered with the DevRev SDK.
Loading