-
Notifications
You must be signed in to change notification settings - Fork 237
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] Small Icon not working correctly in release build #1069
Comments
I tried to reinstall the release APK but it didn't show icon at all. Just white circle! this is the code for background event I have:
|
Hello 👋, to help manage issues we automatically close stale issues. This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
Thank you for your contributions. |
Issue still require attention and is not fixed. |
Same here, any updates? I'm finding for push notes its fine but local notes its not using the specified icon. Update: specifying smallIcon: 'ic_notification' and adding a alpha channel transparent png worked. Had to specify when using createTriggerNotification whereas push notes get the icon applied via manifest. |
Im facing the same issue i have pixel 6a and also pitcture we are sending are not displaying My code: async function onDisplayNotification(remoteMessage: any) {
} Solution will be appreciated thank you. |
@kartvya here's my channel creation and payload await notifee.createChannel({ await notifee.displayNotification({ Maybe try specifying a color ;) My ic_notification.png sized files are in the respective drawable-xxx folders under res. They are transparent pngs with a solid white foreground icon. |
@devpascoe Thanks for respose. My icons are located in minmap files is this the corret way if it's not please correct me and also i can't genrate icons for notification i don't know what is the issue with all the sites |
same +1 |
1 similar comment
same +1 |
Hello 👋, to help manage issues we automatically close stale issues. This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
Thank you for your contributions. |
need attention. |
I am having a weird issue with small icon. In the beginning, I thought it is just not working in release build because it was working with development build. So I checked other closed issues 243 and 92.
It works in the beginning or may be just for first few notifications then after sometime it shows a white circle.
I followed the notifee guide thoroughly and generated icons in Android Studio. Read about Shrinking via @mikehardy twitter link.
So I enabled minify and shrinking. I also added a keep.xml to make sure my icon is in resources and I checked APK in Android Studio resources.arsc in drawable it has the icon.
Now I don't know what to do because it was working and now it is not working automatically.
I'm using Expo latest version:
"expo": "^51.0.21"
"react-native": "0.74.3"
"@notifee/react-native": "^7.8.2"
Why it is working partially? Can anyone please help with this.. I am not getting any lead.
Thanks!!
The text was updated successfully, but these errors were encountered: