-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 notification icon in status bar #1051
Comments
Where did you put the icon ? :) |
Here is my ionic resources directory tree :
|
If this is still a problem, please update with the template in #1188. |
Closed as no response from original poster. |
I want to display a notification when a user messages via firebase cloud messaging. I expect the service to display the title, text of the message along with the app icon When the app is in the foreground, notifications are awesome. It loads the title, text, icon and everything runs smoothly. However, when the app is in the background or inactive, the icon dissapears and a grey block appears. EnvironmentPlugin version: 2.1.1 Expected BehaviorWhen app is in background and foreground| icon | Actual BehaviorWhen app is in foreground| icon | When app is in background, the icon becomes grey| grey | ContextI am loading messages from Firebase Cloud Messaging (FCM). After receiving the data in JSON format, I load the data onto the the schedule function
The data i am receiving is in a JSON format as below
|
Don't hijack another thread, especially one that's closed. Create a new issue. This has also been covered a few times, you need to create the right icon and create a hook to copy the notification icon to the correct place. See #1222 for the solution. |
Thanks a lot
Sorry for the mess, it was my first time posting comments and issues on
github
Thanking you,
J.Harilela
…On Sat, Mar 18, 2017 at 3:50 PM, Rob Willett ***@***.***> wrote:
Don't hijack another thread, especially one that's closed. Create a new
issue.
This has also been covered a few times, you need to create the right icon
and create a hook to copy the notification icon to the correct place. See
#1222
<#1222>
for the solution.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1051 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ASlQU55nY74Y-DLpZuSDyKXUNcT7J0yXks5rm4zJgaJpZM4JU8uZ>
.
|
Hello !
I'm trying to manage local notifications in my app, but I have a trouble understanding the icons.
I setup my notifications icons with those 2 config lines :
smallIcon: "res://icon",
icon: "res://icon",
And I get my icon on the notification itself (beside the text), but I have a white square in the status bar.
I also tried to dissociate the "icon" entry with a white version of it, but it does not affect my notification. I still have my colored icon on the notification, and the white square in the status bar.
What am I missing ?
Thanks !
The text was updated successfully, but these errors were encountered: