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

Notification icon is incorrect #69

Closed
yuraix opened this issue Jan 26, 2020 · 6 comments
Closed

Notification icon is incorrect #69

yuraix opened this issue Jan 26, 2020 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@yuraix
Copy link

yuraix commented Jan 26, 2020

  1. Compile your sample project using Android 10
  2. Run on emulator with android 9
  3. Notification icon is fully white circle

I also tried icons from clipart (Android notification icons) and they also display incorrectly - always full square.

@yuraix yuraix added the bug Something isn't working label Jan 26, 2020
@thudugala
Copy link
Owner

@yuraix can please attach your sample project?

@yuraix
Copy link
Author

yuraix commented Jan 26, 2020

I'm using your sample project and icon with name notif
notif
https://user-images.githubusercontent.com/60047232/73141190-45e10880-4092-11ea-8d02-525d04a55982.png

I have always full square instead of real icon

And is it true that local notifications on real devices only works when the application is running in the background? And when app process killed by user, local notifications will never been recieved?

@thudugala
Copy link
Owner

@yuraix app does not need to run for future notification to show up. Even if you restart the phone it should work.

@yuraix
Copy link
Author

yuraix commented Feb 5, 2020

@yuraix app does not need to run for future notification to show up. Even if you restart the phone it should work.

Pending notifications only works on stock Android. If you remove the application from recent list, then the notifications do not work on Xiaomi, ZenUI and other vendor roms. Tested many times. The stackoverflow site is full of these posts and simple solution is not exists. Only push notifications works well on not original Android.
https://stackoverflow.com/questions/57617450/why-alarm-not-fired-when-i-remove-app-from-recent-apps

https://stackoverflow.com/questions/50682061/android-is-workmanager-running-when-app-is-closed

@thudugala
Copy link
Owner

@yuraix Thanks for the update. Will look in to it

@thudugala
Copy link
Owner

Closing the issue as solution cannot be provided by this plugging as it's Andoid issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants