You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-6Lines changed: 17 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ DevRev SDK, used for integrating DevRev services into your Android app.
9
9
-[Integration](#integration)
10
10
-[Step 1](#step-1)
11
11
-[Step 2](#step-2)
12
+
-[Proguard rules](#proguard-rules)
12
13
-[Set up the DevRev SDK](#set-up-the-devrev-sdk)
13
14
-[Sample app](#sample-app)
14
15
-[Features](#features)
@@ -101,6 +102,13 @@ dependencies {
101
102
}
102
103
```
103
104
105
+
#### Proguard rules
106
+
If you are using Proguard in your project, you must add the following lines to your configuration:
107
+
```bash
108
+
-keep class ai.devrev.** { *; }
109
+
-keep class com.userexperior.* { *; }
110
+
```
111
+
104
112
### Set up the DevRev SDK
105
113
1. Open the DevRev web app at [https://app.devrev.ai](https://app.devrev.ai) and go to the **Settings** page.
106
114
2. Under **PLuG settings** copy the value under **Your unique App ID**.
@@ -941,14 +949,17 @@ public class MyFirebaseMessagingService extends FirebaseMessagingService {
941
949
```
942
950
943
951
## Troubleshooting
944
-
-**Issue**: Encountering problems with DevRev SDK integration.
945
-
**Solution**: Verify the correct SDK dependency setup in the project. Ensure `mavenCentral` is accessible from the IDE, and confirm accurate detection of the selected DevRev SDK version.
952
+
-**Issue**: Can't import the SDK into my app.
953
+
**Solution**: Double-check the setup process and ensure that `mavenCentral()` is present in the project level repositories block.
954
+
955
+
-**Issue**: How does the DevRev SDK handle errors?
956
+
**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.
946
957
947
-
-**Issue**: The `showSupport()` function or XML button is unresponsive.
948
-
**Solution**: Confirm that user identification is performed before using the `showSupport()` function or XML button.
958
+
-**Issue**: Support chat won't show.
959
+
**Solution**: Ensure you have correctly called one of the identification methods: `DevRev.identifyUnverifiedUser(...)`, `DevRev.identifyVerifiedUser(...)`, or `DevRev.identifyAnonymousUser(...)`.
949
960
950
-
-**Issue**: Incorrect operation due to `App ID` and `secret` misconfiguration.
951
-
**Solution**: Ensure correct functionality by double-checking that both `App ID`and `secret` values are accurately configured in your application or sample app.
961
+
-**Issue**: Not receiving push notifications.
962
+
**Solution**: Ensure that your app is configured to receive push notifications and that your device is registered with the DevRev SDK.
952
963
953
964
## Migration guide
954
965
If you are migrating from the legacy UserExperior SDK to the new DevRev SDK, please refer to the [Migration Guide](./MIGRATION.md) for detailed instructions and feature equivalence.
0 commit comments