Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
neerhaj authored Jan 4, 2022
1 parent 11be539 commit a0409a1
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,27 @@ Preferences are used to record user-choices for push notifications. The preferen
Do not use this as a persistent (key/value) store since this data is purgeable.


### Changing Notification Icon and Color (Android Only)

Responsys SDK uses the app icon as the icon for notifications. You can change this by using the following two APIs,

```javascript
PushIOManager.setNotificationLargeIcon("ic_notification_large");
PushIOManager.setNotificationSmallIcon("ic_notification_small");
```

- Icon name should be provided without the file extension.
- Icon images should be present in your app's `drawable` or `mipmap` directory, i.e. `android/app/src/main/res/drawable` or `android/app/src/main/res/mipmap`.


It is also possible to change the notification small icon color by using the following API,

```javascript
PushIOManager.setNotificationSmallIconColor("#d1350f");
```



## Upgrades

### 6.50.1 to 6.51
Expand Down

0 comments on commit a0409a1

Please sign in to comment.