SalesIQ SDK for React native error on building

SalesIQ SDK for React native error on building

Hello there,

I want to intergrade SalesIQ to my react native application, the installation guide very clean and I am following these step fine. But unfortunately I got an error on building:
  1. D:\MY_APP\node_modules\react-native-momosdk\android\build\intermediates\runtime_library_classes_jar\debug\classes.jar: D8: Type com.reactlibrary.BuildConfig is defined multiple times: D:\MY_APP\node_modules\react-native-momosdk\android\build\intermediates\runtime_library_classes_jar\debug\classes.jar:com/reactlibrary/BuildConfig.class, D:\MY_APP\node_modules\react-native-zohosalesiq-mobilisten\android\build\intermediates\runtime_library_classes_jar\debug\classes.jar:com/reactlibrary/BuildConfig.class

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ':app:multiDexListDebug'.
    > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
       > Error while merging dex archives:
         Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
         Type com.reactlibrary.BuildConfig is defined multiple times: D:\MY_APP\node_modules\react-native-momosdk\android\build\intermediates\runtime_library_classes_jar\debug\classes.jar:com/reactlibrary/BuildConfig.class, D:\MY_APP\node_modules\react-native-zohosalesiq-mobilisten\android\build\intermediates\runtime_library_classes_jar\debug\classes.jar:com/reactlibrary/BuildConfig.class 
The error for "Type com.reactlibrary.BuildConfig is defined multiple times" due to your package name very generic, here I found from AndroidManifest.xml file.


  1. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
              package="com.reactlibrary">

    </manifest>
So, for reduce the error, can you please rename your package to your name like: com.zoho.saleIQ...
If will be great if I resolve the issue by install new update for SaleIQ SDK.

Thank you.