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.






                            Zoho Desk Resources

                            • Desk Community Learning Series


                            • Digest


                            • Functions


                            • Meetups


                            • Kbase


                            • Resources


                            • Glossary


                            • Desk Marketplace


                            • MVP Corner


                            • Word of the Day



                                Zoho Marketing Automation


                                        Manage your brands on social media



                                                Zoho TeamInbox Resources

                                                  Zoho DataPrep Resources



                                                    Zoho CRM Plus Resources

                                                      Zoho Books Resources


                                                        Zoho Subscriptions Resources

                                                          Zoho Projects Resources


                                                            Zoho Sprints Resources


                                                              Qntrl Resources


                                                                Zoho Creator Resources


                                                                  Zoho WorkDrive Resources



                                                                    Zoho Campaigns Resources

                                                                      Zoho CRM Resources

                                                                      • CRM Community Learning Series

                                                                        CRM Community Learning Series


                                                                      • Tips

                                                                        Tips

                                                                      • Functions

                                                                        Functions

                                                                      • Meetups

                                                                        Meetups

                                                                      • Kbase

                                                                        Kbase

                                                                      • Resources

                                                                        Resources

                                                                      • Digest

                                                                        Digest

                                                                      • CRM Marketplace

                                                                        CRM Marketplace

                                                                      • MVP Corner

                                                                        MVP Corner

                                                                      





                                                                      




                                                                          Design. Discuss. Deliver.

                                                                          Create visually engaging stories with Zoho Show.

                                                                          Get Started Now