Manual Integration by Downloading Modules from the GitHub Repository

Integrating manually by downloading the modules from Github repository.

Integrating manually by downloading the modules from Github repository.

Step 1:

  1. Navigate to the GitHub Repository

    1. Click on the provided link to go to the GitHub repository.
    2. Once you are in the repository, locate and click on the "Releases" section.
    3. Always choose the latest release.
    4. Under the "Assets" section, find the necessary files.
  2. Download the webexconnect-core Module:

    1. Download the webexconnect-core module from the Assets section.
    2. Unzip the Core module.
    3. Copy the webexconnect-core.aar file to the library folder of your app module.
  3. Download Additional Required Modules:

    1. Similarly, download the required modules such as push, fcm, hms, and in-app messaging.
    2. Follow the same process as in Step 2: Unzip each module and copy the respective .aar files to your app module's library folder.
  4. Open Your Android Studio Project:

    1. Launch Android Studio.
    2. Open your project in Android Studio where you want to integrate these modules.
  5. Add Dependencies in build.gradle:

    1. Open the build.gradle file for your app module.
    2. Within the dependencies section, add the following line to include the webexconnect-core module and other required modules:
    dependencies {
      
      //Core Module (Mandatory) - This module provides essential functionality that all other modules depend on.
       implementation(files("../../library/webexconnect-core-3.0.0.aar"))
      
      //Push Module - The push module enables your application to receive and handle push notifications.
      implementation(files("../../library/webexconnect-push-3.0.0.aar"))
      
       //FCM Module - Required to use Firebase Cloud Messaging as the push provider.
       implementation(files("../../library/webexconnect-fcm-3.0.0.aar"))
      
       //HMS Module - Required to use Huawei Mobile Services as the push provider. 
       implementation(files("../../library/webexconnect-hms-3.0.0.aar"))
      
       //In-App Messaging - Required to use In-App Messaging capabilities within your app.
       implementation(files("../../library/webexconnect-inappmessaging-3.0.0.aar"))
    }
    
    dependencies {
      
    implementation files("../../library/webexconnect-core-3.0.0.aar")
    
    implementation files("../../library/webexconnect-push-3.0.0.aar")
      
    implementation files("../../library/webexconnect-fcm-3.0.0.aar")
      
    implementation files("../../library/webexconnect-hms-3.0.0.aar")
      
    implementation files("../../library/webexconnect-inappmessaging-3.0.0.aar")
      
    }
    

Step 2:

In your app/build.gradle, add the following entries:

dependencies {
  	// Core Module
  	implementation(files("../../library/webexconnect-core-3.0.0.aar"))
    implementation("androidx.core:core-ktx:1.13.1")
    implementation("androidx.appcompat:appcompat:1.7.0")
    implementation("androidx.constraintlayout:constraintlayout:2.1.4")
    implementation("androidx.startup:startup-runtime:1.1.1")
    implementation("androidx.work:work-runtime-ktx:2.9.1")
    implementation("androidx.room:room-ktx:2.6.1")
    implementation("androidx.room:room-runtime:2.6.1")
    implementation("androidx.sqlite:sqlite-ktx:2.4.0")
    implementation("net.zetetic:sqlcipher-android:4.5.5")
    implementation("com.google.android.material:material:1.12.0")
    implementation("com.android.volley:volley:1.2.1")
    
    // Push Module
    implementation(files("../../library/webexconnect-push-3.0.0.aar"))
    implementation("com.squareup.picasso:picasso:2.5.2")

    // FCM Module
    implementation(files("../../library/webexconnect-fcm-3.0.0.aar"))
    implementation("com.google.firebase:firebase-messaging:24.0.1")
    implementation("com.google.android.gms:play-services-base:18.5.0")
    
    // HMS Module
    implementation("com.huawei.hms:push:6.11.0.300")
		implementation(files("../../library/webexconnect-hms-3.0.0.aar"))
    
		// In-App Messaging Module
    implementation(files("../../library/webexconnect-inappmessaging-3.0.0.aar"))
}
app/build.gradle
apply plugin: 'com.android.application' 
apply plugin: 'com.huawei.agconnect' 
android { 
  // ... 
} 
dependencies {
  	// Core Module
  	implementation(files("../../library/webexconnect-core-3.0.0.aar"))
    implementation "androidx.core:core-ktx:1.13.1"
    implementation "androidx.appcompat:appcompat:1.7.0"
    implementation "androidx.constraintlayout:constraintlayout:2.1.4"
    implementation "androidx.startup:startup-runtime:1.1.1"
    implementation "androidx.work:work-runtime-ktx:2.9.1"
    implementation "androidx.room:room-ktx:2.6.1"
    implementation "androidx.room:room-runtime:2.6.1"
    implementation "androidx.sqlite:sqlite-ktx:2.4.0"
    implementation "net.zetetic:sqlcipher-android:4.5.5"
    implementation "com.google.android.material:material:1.12.0"
    implementation "com.android.volley:volley:1.2.1"
    
    // Push Module
    implementation (files("../../library/webexconnect-push-3.0.0.aar"))
    implementation "com.squareup.picasso:picasso:2.5.2"

    // FCM Module
    implementation(files("../../library/webexconnect-fcm-3.0.0.aar"))
    implementation "com.google.firebase:firebase-messaging:24.0.1"
    implementation "com.google.android.gms:play-services-base:18.5.0"
    
    // HMS Module
	  implementation(files("../../library/webexconnect-hms-3.0.0.aar"))
    implementation "com.huawei.hms:push:6.11.0.300"
		
    
		// In-App Messaging Module
    implementation(files("../../library/webexconnect-inappmessaging-3.0.0.aar"))
}

And follow the next steps (Code Integration) provided in the Android Modularization SDK Quick Start Guide.