customerio / customerio-android

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

feat: track device with attributes #341

Closed mrehan27 closed 1 month ago

mrehan27 commented 1 month ago

part of MBL-217

Changes

Example Usage

CustomerIO.instance().registeredDeviceToken
CustomerIO.instance().deviceAttributes = mapOf("name" to "Brand", "os" to 33)
CustomerIO.instance().registerDeviceToken(token)
CustomerIO.instance().deleteDeviceToken

Not Included

Tests and sample app updates are not included in this PR, will be added in upcoming PRs soon.

github-actions[bot] commented 1 month 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-217-device-plugin (1716382615)` * kotlin_compose: `rehan/mbl-217-device-plugin (1716382614)`
codecov[bot] commented 1 month ago

Codecov Report

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

Project coverage is 25.84%. Comparing base (48c64c9) to head (2a2ddaa). Report is 32 commits behind head on feature/cdp.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## feature/cdp #341 +/- ## ================================================== - Coverage 54.45% 25.84% -28.62% + Complexity 282 100 -182 ================================================== Files 109 41 -68 Lines 2534 1122 -1412 Branches 355 177 -178 ================================================== - Hits 1380 290 -1090 + Misses 1032 796 -236 + Partials 122 36 -86 ```

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

github-actions[bot] commented 1 month ago

Build available to test Version: rehan-mbl-217-device-plugin-SNAPSHOT Repository: https://s01.oss.sonatype.org/content/repositories/snapshots/

github-actions[bot] commented 1 month ago

📏 SDK Binary Size Comparison Report

No changes detected in SDK binary size ✅