I have a standalone app both on iOS and Android. For the iOS app, the notification shows up with the notification icon I specify in exp.json (notification.icon) and with the right title.
When I send the same exact HTTP request to the Expo push service for an Android device (i.e. change the to field to an Android device), I get a notification whose title is my app name, not the specified title, and icon is a tinted square-in-circle icon, not the icon I specify in exp.json. This is on Android 6.0.
How can I get that icon and title in there for Android?
Any chance I could get a quick brain dump from someone at Expo on how push notifications work for Android / why they think this might not be working?
Some of this does seem to be expected (?) behavior given that notification.color is an option in exp.json — but why can’t Android remote notifications use notification.icon instead and why do they ignore the title?
@trungtrungkang@gugamm Do you guys have transparent backgrounds with a white icon 48x48? I had the same issue until I made another icon with only white and transparent.
I followed this instructions and made the icon 48x48px with only with and transparent pixels, but still get just a white square in as a notification icon.
Using a standalone build. The title works fine though.
I am also having this problem. I set an icon that is 96x96, it is mix of colors. During expo app the notification icon shows, but in production, its not working right.