3 Step Integration

Download Conversity Library

  1. Login to the Admin Portal
  2. Left menu » Click on Getting Started
  3. Click on the link to download the Conversity Library

Step 1: Integrate

  1. Open your Android Studio project
  2. Go to File » New » New Module » Import .JAR/.AAR Package » Next
  3. Locate the downloaded Conversity's .aar file and click [Finish].
  4. Check dependency in your application's module gradle file.
  5. Right Click on App folder » Open module settings » Under Modules, Click on app Select the dependencies tab
  6. If not automatically added, click on "+" to add module dependency
  7. Select Conversity from the pop window » OK
  8. Go to the Gradle file of the main module and add the following code in the dependency section.

    compile 'com.squareup.okhttp:okhttp:2.4.0'
  9. Extend ConversityCompatActivity instead of AppCompatActivity for your activity implementation

Step 2: Customize

  1. Set parameters like chat bubble colors, font color etc to suit your app's theme.
  2. This has to be done once only.

Step 3: Invoke

  1. Create an explicit intent to call the library in your application.
  2. You can do this on every activity where you'd like to place chat button.

Done. Test your app!

Feel free to contact us for any help you may require.
Request a Team Viewer session.