Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android icon when app is not running in background #61

Open
stesvis opened this issue Mar 6, 2019 · 9 comments
Open

Android icon when app is not running in background #61

stesvis opened this issue Mar 6, 2019 · 9 comments

Comments

@stesvis
Copy link

stesvis commented Mar 6, 2019

Bug

Receiving a notification while the app is not running uses the default icon.

Plugin Version: 3.0.1
Platform (e.g., Android API 28):
Device/Hardware: Huawei

Expected behavior

  • When i receive the notification while the app is running or in background mode, the notification icon is correct.
  • When i receive the notification after killing the app, the icon is correct.

Actual behavior

  • When i receive the notification while the app is running or in background mode, the notification icon is correct.
  • When i receive the notification after killing the app, the icon is the default icon (with the exclamation mark in it).

Steps to reproduce the behavior

  • Create a new notification
  • Kill the app
  • Wait till you receive the notification
@DoktorAerzt
Copy link

The point should be. In this function https://github.com/edsnider/localnotificationsplugin/blob/master/src/Plugin.LocalNotifications.Android/ScheduledAlarmHandler.cs#L25 the NotificationIconId get´s never set.

@AntvissMedia
Copy link

Hey guys. Is there a workaround for this in the meantime? Or perhaps just a way to replace the default notification icon altogether? Many thanks!

@REDECODE
Copy link

REDECODE commented May 13, 2019

Same problem for me.
If I kill the app I receive the notification with an exclamation mark instead of the correct icon (if the app is not killed everything is ok)

@matheuscschenfeld
Copy link

Same problem here, any solution?

@matheuscschenfeld
Copy link

@AntvissMedia
Copy link

Hi @matheuscschenfeld .

Since writing the comment I have moved to a different plugin. Not because of this issue, as this wasn't a deal breaker for me. But I needed support for Categories on Android.

This plugin was last updated in Nov 2018 so I was also worried that it might not include any other features that might come up in the meantime.

Sorry I can't help you, bud.

@matheuscschenfeld
Copy link

Hi @AntvissMedia, thanks for you answer.
Which plugin are you using?

@matheuscschenfeld
Copy link

thanks @AntvissMedia

@AntvissMedia
Copy link

Happy to help @matheuscschenfeld

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants