File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
site/docs-md/apis/local-notifications Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,22 @@ const notifs = await LocalNotifications.schedule({
40
40
console .log (' scheduled notifications' , notifs );
41
41
```
42
42
43
+ ## Local Notifications configuration (Android only)
44
+
45
+ The local notification plugin allows the following configuration values to be added in ` capacitor.config.json ` for the Android platform:
46
+
47
+ - ` smallIcon ` : It allows you to set the default icon for the local notification.
48
+ - ` iconColor ` : It allows you to set the default color for the local notification icon.
49
+
50
+ ``` json
51
+ "plugins" : {
52
+ "LocalNotifications" : {
53
+ "smallIcon" : " ic_stat_icon_config_sample" ,
54
+ "iconColor" : " #488AFF"
55
+ }
56
+ }
57
+ ```
58
+
43
59
## API
44
60
45
61
<plugin-api name =" local-notifications " ></plugin-api >
You can’t perform that action at this time.
0 commit comments