How to Integrate the ASAP SDK with your Android app  

How to Integrate the ASAP SDK with your Android app

AlertThis document pertains explicitly to help widgets created using the updated ASAP Setup 4.0 Version.
Info
Please note that if you are using an older version of ASAP, the help widgets will be read-only. To utilize the new ASAP widgets on your App, use the latest ASAP SDK 4.0.
Once you have established the ASAP SDK, the next step is to integrate it using Maven.

Include the following code in the root-level build.gradle file to integrate the SDK with your app.
  1. repositories

    {

    google()

    mavenCentral()

    maven {

    url "https://maven.zohodl.com/"

    }

    maven {

    url "https://downloads.zohocdn.com/wmslibrary"

    }

    }

Notes
The ASAP SDK was developed using Android Architecture Components. Therefore, the app code must include maven.google.com/google().
Next, include the dependency required for the SDK.

Include the dependency code required in the dependencies section of the app-level build.gradle file.

1. ‘com.zoho.desk:asap:4.0.1' - ASAP SDK with default UI. (KB, Community and Tickets)
2. ‘com.zoho.desk:asap-api:4.0.1 - ASAP SDK without UI. Serves as the API provider.
3. ‘com.zoho.desk:asap-siq:4.0.1 - ASAP SalesIQ SDK
4. ‘com.zoho.desk:asap-chatkit:4.0.1 - ASAP SDK Chat Kit SDK. (GC, BM, and Answer Bot)
  1. dependencies { implementation 'com.zoho.desk:asap:4.0.1' }
Add the following line to include the SalesIQ dependency if the app shows SalesIQ chat.
  1. dependencies { implementation 'com.zoho.desk:asap-siq:4.0.1' }
Add the following line to include the Chat Kit dependency if the app shows any of the modules from the chat kit. (GC, BM and Answer Bot)
  1. dependencies { implementation 'com.zoho.desk:asap-chatkit:4.0.1' }
Notes
Replace the X with the latest version of ASAP SDK. Refer to the release notes for all the versions.
You have successfully integrated the SDK with your app.

The configuration details of the ASAP SDK are as follows:
 •    compileSdkVersion - 33
 •    targetSdkVersion - 33
 •    minSdkVersion - 23
 •    org.jetbrains.kotlin:kotlin-stdlib:1.8.0

How to initialize the SDK on your Android App 

Once the SDK integration is completed, you must initialize the ASAP SDK on your app.

The following three keys are crucial for the initialization:
    •    Org ID
    •    App ID
    •    Data Center

The values of these keys appear under the Install your widget on a website or mobile app section on the setup page of the ASAP help widget in Zoho Desk.

To initialize the SDK in your app, add the following code snippet to a subclass of the Application class.
  1. import android.app.Application;
    import com.zoho.desk.asap.api.ZohoDeskPortalSDK;

    public class MyApplication extends Application {
    public static ZohoDeskPortalSDK apiProvider;
    @Override
    public void onCreate() {
    super.onCreate();
    ZohoDeskPortalSDK.Logger.enableLogs();
    apiProvider = ZohoDeskPortalSDK.getInstance(getApplicationContext());
    apiProvider.initDesk(orgId, appId, datacenterValue);
    }
    }
Notes
Data Centers (DCs), according to the deployment types:
CN - ZDPDataCenter.CN
EU - ZDPDataCenter.EU
US - ZDPDataCenter.US
IN - ZDPDataCenter.IN
AU - ZDPDataCenter.AU
JP - ZDPDataCenter.JP
SA - ZDPDataCenter.SA
CA - ZDPDataCenter.CA

      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        Access your files securely from anywhere

          Zoho CRM Training Programs

          Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

          Zoho CRM Training
            Redefine the way you work
            with Zoho Workplace

              Zoho DataPrep Personalized Demo

              If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

              Zoho CRM Training

                Create, share, and deliver

                beautiful slides from anywhere.

                Get Started Now


                  Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                  BOOK A SESSION







                              Quick LinksWorkflow AutomationData Collection
                              Web FormsRetailOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceForms for Solopreneurs
                              Digital FormsMarketingForms for Small Business
                              HTML FormsEducationForms for Enterprise
                              Contact FormsE-commerceForms for any business
                              Lead Generation FormsHealthcareForms for Startups
                              Wordpress FormsCustomer onboardingForms for Small Business
                              No Code FormsConstructionRSVP tool for holidays
                              Free FormsTravelFeatures for Order Forms
                              Prefill FormsNon-Profit
                              Forms for Government
                              Intake FormsLegal
                              Mobile App
                              Form DesignerHR
                              Mobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic FormsInsurance
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsWufoo alternativeEncrypted Forms
                              Accessible FormsTypeform alternativeSecure Forms

                              WCAG

                                          Create. Review. Publish.

                                          Write, edit, collaborate on, and publish documents to different content management platforms.

                                          Get Started Now






                                                            You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                                Manage your brands on social media

                                                                  Use cases

                                                                  Make the most of Zoho Desk with the use cases.

                                                                   
                                                                    

                                                                  eBooks

                                                                  Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho Desk.

                                                                   
                                                                    

                                                                  Videos

                                                                  Watch comprehensive videos on features and other important topics that will help you master Zoho Desk.

                                                                   
                                                                    

                                                                  Webinar

                                                                  Sign up for our webinars and learn the Zoho Desk basics, from customization to automation and more

                                                                   
                                                                    
                                                                  • Desk Community Learning Series


                                                                  • Meetups


                                                                  • Ask the Experts


                                                                  • Kbase


                                                                  • Resources


                                                                  • Glossary


                                                                  • Desk Marketplace


                                                                  • MVP Corner



                                                                    Zoho Sheet Resources

                                                                     

                                                                        Zoho Forms Resources


                                                                          Secure your business
                                                                          communication with Zoho Mail


                                                                          Mail on the move with
                                                                          Zoho Mail mobile application

                                                                            Stay on top of your schedule
                                                                            at all times


                                                                            Carry your calendar with you
                                                                            Anytime, anywhere




                                                                                  Zoho Sign Resources

                                                                                    Sign, Paperless!

                                                                                    Sign and send business documents on the go!

                                                                                    Get Started Now




                                                                                            Zoho TeamInbox Resources





                                                                                                      Zoho DataPrep Demo

                                                                                                      Get a personalized demo or POC

                                                                                                      REGISTER NOW


                                                                                                        Design. Discuss. Deliver.

                                                                                                        Create visually engaging stories with Zoho Show.

                                                                                                        Get Started Now









                                                                                                                            • Related Articles

                                                                                                                            • Introducing ASAP Android SDK

                                                                                                                              This document pertains explicitly to help widgets created using the updated new ASAP Setup. Please note that if you are using an older version of ASAP, the help widgets will be read-only. To enable the new ASAP widgets on your app, use the latest ...
                                                                                                                            • ASAP SDK Android - Release Notes

                                                                                                                              4.5.0 Support for User Events tracking has been enhanced for the tickets module. We have furnished a configuration to disable the 'Topic Like' and 'Topic Comment' features in the community module. To see the complete list of configurations, click ...
                                                                                                                            • How to customize the ASAP SDK Android Help Widget UI?

                                                                                                                              The ASAP SDK allows you to customize the UI of the help widget as required. Predefined themes The SDK UI comes with two predefined themes: light and dark. Customized themes You can also override the default dark and light themes to make the SDK look ...
                                                                                                                            • How to change your language settings for ASAP Android SDK?

                                                                                                                              The ASAP SDK supports 47 languages. You can set any language of your choice based on the geographical location of your app's end-users. Below are the 47 language codes that help you set the language for the ASAP help widget. Language Local Code ...
                                                                                                                            • How to customize the ASAP SDK Flutter Help Widget UI?

                                                                                                                              The ASAP SDK allows you to customize the UI of the help widget as required. Predefined themes The SDK UI comes with two predefined themes: light and dark. Android iOS Setting up a theme type You can customize the theme type in the SDK help widget ...
                                                                                                                              Wherever you are is as good as
                                                                                                                              your workplace

                                                                                                                                Resources

                                                                                                                                Videos

                                                                                                                                Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                                eBooks

                                                                                                                                Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                                Webinars

                                                                                                                                Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                                CRM Tips

                                                                                                                                Make the most of Zoho CRM with these useful tips.



                                                                                                                                  Zoho Show Resources