freshworks / hotline-android

Android SDK for Hotline
https://hotline.io
13 stars 12 forks source link

Allow .setLargeIcon(Bitmap bitmap) for HotlineNotificationConfig #29

Open ishaansrm opened 7 years ago

ishaansrm commented 7 years ago

HotlineNotificationConfig's .setLargeIcon(@DrawableRes int largeIconResId) accepts Drawable Res only. This way its not possible to set vectorDrawables as large icons.

If you could allow .setLargeIcon(Bitmap bitmap)then vectorDrawables can be resolved to Bitmap and be passed here.

tryprasannan commented 7 years ago

@ishaansrm We'll consider this request, but the way the SDK treats this today is it persists and reload the notification options on subsequent launches and this probably wouldn't play well with that.