Skip to content

Conversation

amanjayshahomnicg
Copy link

No description provided.

dataFields.put(IterableConstants.DEVICE_APP_VERSION, IterableUtil.getAppVersion(context));
dataFields.put(IterableConstants.DEVICE_APP_BUILD, IterableUtil.getAppVersionCode(context));
dataFields.put(IterableConstants.DEVICE_ITERABLE_SDK_VERSION, IterableConstants.ITBL_KEY_SDK_VERSION_NUMBER);
dataFields.put(IterableConstants.DEVICE_NOTIFICATIONS_ENABLED, !isFireTV(context.getPackageManager()) && NotificationManagerCompat.from(context).areNotificationsEnabled());
Copy link
Contributor

@davidtruong davidtruong Mar 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This field can be removed from populateDeviceDetails and put only in the registerDeviceToken method as it only relates to devices with push enabled.

Copy link
Contributor

@davidtruong davidtruong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me

@davidtruong davidtruong changed the title Firetv updateuser fix [MOB-5828] Firetv updateuser fix Mar 20, 2023
Copy link
Member

@Ayyanchira Ayyanchira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Just a small fix needed.

Copy link
Member

@Ayyanchira Ayyanchira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some suggestions

Copy link
Member

@Ayyanchira Ayyanchira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@codecov
Copy link

codecov bot commented Apr 3, 2023

Codecov Report

Patch coverage: 50.00% and project coverage change: -0.30 ⚠️

Comparison is base (650679e) 62.29% compared to head (f10606b) 61.99%.

❗ Current head f10606b differs from pull request most recent head e232049. Consider uploading reports for the commit e232049 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #532      +/-   ##
==========================================
- Coverage   62.29%   61.99%   -0.30%     
==========================================
  Files          67       68       +1     
  Lines        3970     3984      +14     
  Branches      462      465       +3     
==========================================
- Hits         2473     2470       -3     
- Misses       1253     1265      +12     
- Partials      244      249       +5     
Impacted Files Coverage Δ
.../iterable/iterableapi/IterableActivityMonitor.java 90.16% <0.00%> (-3.49%) ⬇️
...ain/java/com/iterable/iterableapi/IterableApi.java 60.33% <0.00%> (-1.57%) ⬇️
...va/com/iterable/iterableapi/IterableConstants.java 0.00% <ø> (ø)
...in/java/com/iterable/iterableapi/IterableUtil.java 70.00% <0.00%> (ø)
...va/com/iterable/iterableapi/IterableApiClient.java 75.00% <50.00%> (-1.07%) ⬇️
...com/iterable/iterableapi/util/DeviceInfoUtils.java 82.35% <82.35%> (ø)

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Ayyanchira Ayyanchira merged commit fa121af into Iterable:master May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants