Troubleshooting

  • 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: 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: 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.

ProGuard

When trying to build your app with ProGuard enabled, refer to these common issues and their solutions.

You can always refer to the Android ProGuard documentation for more information.

  • Issue: Missing class com.google.android.play.core.splitcompat.SplitCompatApplication. Solution: Add the following line to your proguard-rules.pro file:

    1-dontwarn com.google.android.play.core.**
  • Issue: Missing class issue due to transitive Flutter dependencies. Solution: Add the following lines to your proguard-rules.pro file:

    1-keep class io.flutter.** { *; }
    2-keep class io.flutter.plugins.** { *; }
    3-keep class GeneratedPluginRegistrant { *; }
  • Issue: Missing class org.s1f4j.impl.StaticLoggerBinder. Solution: Add the following line to your proguard-rules.pro file:

    1-dontwarn org.slf4j.impl.StaticLoggerBinder