Giter Site home page Giter Site logo

vedo1608 / crisp-sdk-android Goto Github PK

View Code? Open in Web Editor NEW

This project forked from crisp-im/crisp-sdk-android

0.0 0.0 0.0 693 KB

:package: Crisp Android SDK, add a chat in any Android app and communicate with your users.

Home Page: https://crisp.chat/livechat

crisp-sdk-android's Introduction

Crisp

Chat with app users, integrate your favorite tools, and deliver a great customer experience.

Crisp Android SDK

Crisp screenshot

Download Twitter

How to use

Video tutorial

Play Introduction Video

1. Get your Website ID

Your website ID can be found in the Crisp App URL:

Crisp Website ID is an UUID like e30a04ee-f81c-4935-b8d8-5fa55831b1c0

2. Setup Bintray

Add our bintray in your repositories

repositories {
    // Keep your prevous repositories
    maven {
        url 'https://dl.bintray.com/crispim/crisp-maven'
    }
}

3. Add Crisp Dependency Bintray

Add the Crisp SDK in your dependencies:

dependencies {
    implementation 'im.crisp:crisp-sdk:1.0.1'
}

4. Setup Multidex

Configure your app for multidex:

android {
    defaultConfig {
        multiDexEnabled true
    }
}
dependencies {
    // If you're using AndroidX
    implementation 'androidx.multidex:multidex:2.0.1'
    // If you're not using AndroidX
    implementation 'com.android.support:multidex:1.0.3'
}

5. Initiate Appplicatation class

Initialize the library in your Application subclass:

public class Initializer extends MultiDexApplication {

    @Override
    public void onCreate() {
        super.onCreate();

        // Replace it with your WEBSITE_ID
        // Retrieve it using https://app.crisp.chat/website/[YOUR_WEBSITE_ID]/
        Crisp.configure(getApplicationContext(), "7598bf86-9ebb-46bc-8c61-be8929bbf93d");
    }
}

5. Include Crisp in your Activity

You can for instance start Crisp after a click on a button

Intent crispIntent = new Intent(this, ChatActivity.class);
startActivity(crispIntent);

Availables APIs:

Work in progresss

crisp-sdk-android's People

Contributors

baptistejamin avatar doc1faux avatar

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.