radarlabs / radar-sdk-android

Android SDK for Radar, the leading geofencing and location tracking platform
https://radar.com
Apache License 2.0
75 stars 22 forks source link

setNotificationsOptions end point #321

Closed KennyHuRadar closed 11 months ago

KennyHuRadar commented 12 months ago

created a new SDK function setNotificationOptions that is used to set notification icon and color for event notifications and foreground service notifications. iconString and iconColor are fields that determine the icon and color of both kind of notificaitons. They can be overriden by notification specific fields foregroundServiceIconString, foregroundServiceIconColor, eventIconString,`eventIconColor

QA: Automated tests Test for setter and getter, and defaulting to existing value tested in code Manual tests Setting with iconString and iconColor fields.

image

Setting with foregroundServiceIconString, foregroundServiceIconColor, eventIconString,eventIconColor and Setting with foregroundServiceIconString, foregroundServiceIconColor, iconString and iconColor

image

Verified that not setting this option does not impact current behaviors

image