Coder Social home page Coder Social logo

zoho / salesiq-mobilisten-android-sample Goto Github PK

View Code? Open in Web Editor NEW
13.0 18.0 4.0 1.65 MB

Sample App to integrate SalesIQ Android SDK (Mobilisten)

Home Page: https://mobilisten.io/

Java 77.41% Kotlin 22.59%
sdk sdk-android mobilisten support-library customer-support salesiq-android-sdk salesiq-mobilisten-android chat-sdk chatbot mobilisten-android-sdk

salesiq-mobilisten-android-sample's Introduction

Installing Mobilisten (ZohoSalesIQ Android SDK)

Requirements

The SDK supports Android 5.0 (API level 21) and above.

Step 1:

Add the following maven repository in the settings.gradle file or root build.gradle file (/build.gradle).

 allprojects {
    repositories {
       maven { url 'https://maven.zohodl.com' }
    }
 }

enter image description here

Step 2:

Add the following dependency in the app's build.gradle file (app/build.gradle).

dependencies {
   implementation 'com.zoho.salesiq:mobilisten:7.1.1'
}

enter image description here

Step 3:

Then, press Sync Now in the bar that appears in the IDE.

enter image description here

Step 4:

Now, initialize the SDK by adding the following line in the onCreate() method of your Application class. You will have to insert the app key and access key as mentioned below:

public class MyApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        
        InitConfig initConfig = new InitConfig();
        initConfig.setFont(Fonts.REGULAR, <fontpath>);
        
        ZohoSalesIQ.init(this, "your app key", "your access key", initConfig, new InitListener() {
            @Override
            public void onInitSuccess() {
                 ZohoSalesIQ.Launcher.show(ZohoSalesIQ.Launcher.VisibilityMode.ALWAYS); //by default launcher will be hidden and it can be enabled with this line.
            }

            @Override
            public void onInitError(int errorCode, String errorMessage) {
                //your code
            }
        });
    }
}
Step 5:

Also, in the AndroidManifest.xml file, add the application class name in the application tag.

<application  android:name=".MyApplication">
  ...
</application>โ€‹

Help Doc - Mobilisten (ZohoSalesIQ Android SDK)

Demo Application:

Download our demo app from the Play Store today!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.