braze-inc / braze-cordova-sdk

Public repo for the Braze Cordova SDK
https://www.braze.com
Other
21 stars 63 forks source link

[Android] Ability to specify notification accent color and small icons #8

Closed qimingfang closed 7 years ago

qimingfang commented 8 years ago

According to the android docs, there are quite a few additional properties that we can specify, such as com_appboy_push_small_notification_icon and com_appboy_push_large_notification_icon and com_appboy_default_notification_accent_color

Whats the easiest way to add these in?

radixdev commented 8 years ago

Hey @qimingfang,

These settings are found in the appboy.xml file for Android. At the moment we don't support a graceful way of setting these values in Cordova.

For now, you can alter the appboy.xml file via editing the plugin.xml, as seen here. To add resource files from the plugin.xml, please see the cordova plugin documentation here. Note that these settings would be reset every time the Appboy plugin gets synced.

radixdev commented 7 years ago

Hi @qimingfang,

If you have any further comments/questions regarding this issue, please feel free to update or re-open. Thanks again for raising this issue.