Rudder-Integration-Intercom-Android

RudderStack's Native SDK Integration support for Intercom.

Лицензия

Лицензия

Группа

Группа

com.rudderstack.android.integration
Идентификатор

Идентификатор

intercom
Последняя версия

Последняя версия

0.1.1
Дата

Дата

Тип

Тип

aar
Описание

Описание

Rudder-Integration-Intercom-Android
RudderStack's Native SDK Integration support for Intercom.
Ссылка на сайт

Ссылка на сайт

https://github.com/rudderlabs/rudder-integration-intercom-android
Система контроля версий

Система контроля версий

https://github.com/rudderlabs/rudder-integration-intercom-android/tree/master

Скачать intercom

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.rudderstack.android.integration/intercom/ -->
<dependency>
    <groupId>com.rudderstack.android.integration</groupId>
    <artifactId>intercom</artifactId>
    <version>0.1.1</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.rudderstack.android.integration/intercom/
implementation 'com.rudderstack.android.integration:intercom:0.1.1'
// https://jarcasting.com/artifacts/com.rudderstack.android.integration/intercom/
implementation ("com.rudderstack.android.integration:intercom:0.1.1")
'com.rudderstack.android.integration:intercom:aar:0.1.1'
<dependency org="com.rudderstack.android.integration" name="intercom" rev="0.1.1">
  <artifact name="intercom" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.rudderstack.android.integration', module='intercom', version='0.1.1')
)
libraryDependencies += "com.rudderstack.android.integration" % "intercom" % "0.1.1"
[com.rudderstack.android.integration/intercom "0.1.1"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
com.rudderstack.android.sdk : core jar 1.0.11
io.intercom.android : intercom-sdk-base jar 9.1.2
com.google.firebase » firebase-messaging jar 20.2.0

Модули Проекта

Данный проект не имеет модулей.

What is RudderStack?

RudderStack is a customer data pipeline tool for collecting, routing and processing data from your websites, apps, cloud tools, and data warehouse.

More information on RudderStack can be found here.

Integrating Intercom with RudderStack's Android SDK

  1. Add Intercom as a destination in the Dashboard and define applicationId, and clientKey. If you turn on the Development Environment flag, make sure to put your development key in clientKey.

  2. Setup the Hybrid Mode of integration:

  • Turning on the switch beside Initialize Native SDK to send automated events in the dashboard will initialize the Intercom native SDK in the application.
  • Turning on the switch beside Use native SDK to send user generated events in the dashboard will instruct your data-plane to skip the events for Intercom and the events will be sent from the Intercom SDK.
  1. Add these lines to your app/build.gradle
repositories {
    maven { url "https://dl.bintray.com/rudderstack/rudderstack" }
}
  1. Add the dependency under dependencies
// Rudder core sdk and intercom extension
implementation 'com.rudderstack.android.sdk:core:1.0.2'
implementation 'com.rudderstack.android.integration:intercom:0.1.1'

// intercom core sdk
implementation 'io.intercom.android:intercom-sdk-base:6.+'

// gson
implementation 'com.google.code.gson:gson:2.8.6'

// FCM
implementation 'com.google.firebase:firebase-messaging:20.2.0'

Initialize RudderClient

val rudderClient:RudderClient = RudderClient.getInstance(
    this,
    WRITE_KEY,
    RudderConfig.Builder()
        .withDataPlaneUrl(DATA_PLANE_URL)
        .withLogLevel(RudderLogger.RudderLogLevel.DEBUG) // optional
        .withFactory(IntercomIntegrationFactory.FACTORY)
        .build()
)

Send Events

Follow the steps from the RudderStack Android SDK.

Contact Us

If you come across any issues while configuring or using this integration, please feel free to start a conversation on our Slack channel. We will be happy to help you.

com.rudderstack.android.integration

RudderStack

Steer your Customer Data

Версии библиотеки

Версия
0.1.1