Firebase Cloud Messaging - Change default Chrome icon for web notifications on Android - firebase

In firebase cloud messaging web notifications,
the default icon is chrome icon shown as a grey circle
how can i change it

You cannot remove that small Chrome icon. It is present to make it clear that the notifications are delivered through the Chrome app.
Update: on some OS, including Android, you can now set the badge when you display the notification. You can try that option and see if it works in your case (here's a blog post that I wrote about the icon / badge).

Related

TestFlight public link icon change after release?

Need help fixing TestFlight icon dimensions on our public email link as well as inside the TestFlight Site (top left icon).
Our icons are sized correctly inside the TestFlight mobile app and for my installed app on device so why would the site and email icons be incorrect?

How to set app icon for Firebase Auth Google Sign In - In Apps with access to your account section?

I have added Google Sign in for my Android app using Firebase Auth and it all works correctly.
However when my user visits https://myaccount.google.com/u/1/permissions to view apps that have access to their account, there is the default logo shown and not my app logo.
How do I set this logo?
Interestingly, I checked today if I am still missing an icon for my app in the Apps with access to your account section, and the icon now appears there. No idea why it fixed itself but now it works. Maybe it just takes some time?

Can I reject notifications when I uninstall Progressive Web App on the home screen?

I am in trouble with the operation of Progressive Web Apps.
First, I pressed "Add to Home Screen" on the web, added the application to the home screen, and gave permission for push notification.
After that, I uninstalled Progressive Web Apps from the home screen, I expected that the notification will not arrive, but in fact it gets notified.
Can I detect uninstallation and reject push notifications?
I tried searching including the following site.
For example, but there is nothing expected of event or status.
Although it is an attachment of the home screen after uninstallation,
A Google Chrome icon is displayed in the notification bar.
home screen image
Based on your comment in response to the other answer, I figure you are building a progressive web app and want to implement this feature (turning off notifications on removal from the home screen) in your own PWA?
Currently (October 2017) there is no way for a PWA to detect if a user has removed it from their home screen. There is a way for the PWA to detect if it is uninstalled (as in the service worker is removed from the browser all together) but that is something totally different. You aren't uninstalling the PWA when you remove it from the home screen, you're just removing a shortcut. The PWA is still installed in the user's browser. They could still manually visit the site and your PWA would still be working.
Maybe this will become a feature in the future. For right now there isn't even a way to create a hack that would help.
If you navigate to the web app in question using Chrome for Android, either directly or by tapping on a notification, you can manually adjust its permissions by tapping on the "Lock" icon next to the location bar, then choosing "SITE SETTINGS", and then making changes there.
The specific steps to do this would vary if you're using a browser other than Chrome.

Firebase can't open on laptop

I'm trying to use firebase for first time but the console isn't opening through my google chrome or firefox. I tried to open console through my mobile it opens but not from laptop.
Open firebase site in chrome, then click to inspect option and switch to mobile emulator, and reload the webpage, now you will able to see firebase home page...!
Exit the mobile emulator to see full page.
see this image for mobile emulator option
Make sure you haven't logged in on another device.

Firebase auth with signInWithPopup not working on mobile device

I have a problem with the firebase.auth().signInWithPopup() function it works perfectly in the browser but on a real mobile device its not working at all. The popup opens for a quick second but then quickly closes. I think the problem might be with the OAuth redirect domains settings, because a device dosen't have a domain name. Does any of you have a solution for this ?
Currently Firebase v3 dosen't support firebase.auth().signInWithPopup() and firebase.auth().signInWithRedirect() on mobile devices until then the solution is to use firebase.auth().signInWithCredential().

Resources