ionic-team / ionic-team/capacitor-background-runner

App Icon not Shown on Android Notification

Open
#111 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
56
Forks
36
Avg merge
4d 12h
Merged PRs (30d)
7

Description

I have set the smallIcon and LargeIcon to 'ic_notif', saved it in res/drawable but the only thing appears is an Info Icon.
It seems that it can't find the icon but it's saved properly.

When editing [Notifications.kt](https://github.com/ionic-team/capacitor-background-runner/blob/main/packages/capacitor-plugin/android/src/main/java/io/ionic/backgroundrunner/plugin/api/Notifications.kt#L156) at Line 156 and set `smallIconConfigResourceName` to the resource name - it works.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.