customerio / customerio-android

This is the official Customer.io SDK for Android.
MIT License
11 stars 9 forks source link

refactor: sdk initialization with data pipeline module #316

Closed mrehan27 closed 2 months ago

mrehan27 commented 2 months ago

part of MBL-243

Changes

Example Usage

After the changes, the SDK can be initialized with data pipeline module using the following code:

import io.customer.sdk

with(CustomerIOBuilder(applicationContext = this, cdpApiKey = "API_KEY")) {
    setLogLevel(CioLogLevel.DEBUG)
    addCustomerIOModule(ModuleMessagingInApp())
    addCustomerIOModule(ModuleMessagingPushFCM())
    build()
}
github-actions[bot] commented 2 months ago
# Sample app builds 📱 Below you will find the list of the latest versions of the sample apps. It's recommended to always download the latest builds of the sample apps to accurately test the pull request. --- * java_layout: `rehan/mbl-243-sdk-init (1714553052)` * kotlin_compose: `rehan/mbl-243-sdk-init (1714553051)`
codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 53.94%. Comparing base (48c64c9) to head (24ead40). Report is 10 commits behind head on feature/cdp.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## feature/cdp #316 +/- ## ================================================= - Coverage 54.45% 53.94% -0.52% + Complexity 282 277 -5 ================================================= Files 109 106 -3 Lines 2534 2499 -35 Branches 355 348 -7 ================================================= - Hits 1380 1348 -32 + Misses 1032 1031 -1 + Partials 122 120 -2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 2 months ago

Build available to test Version: rehan-mbl-243-sdk-init-SNAPSHOT Repository: https://s01.oss.sonatype.org/content/repositories/snapshots/

github-actions[bot] commented 2 months ago

📏 SDK Binary Size Comparison Report

No changes detected in SDK binary size ✅