Closed emesterhazy closed 9 months ago
I think we won't be able to fix this issue without using custom emoji font, unless Google fixes the emoji on Android directly. Wondering if we can locate the issue directly on Android open source code 🤔
Coming into this I assumed that Android bundled Noto Color Emoji, or at least that Pixel phones would include it. I still suspect that this is true, but maybe for some reason Flutter isn't able to access it. I don't know enough about how Flutter and Android handle fonts to say either way. I just doubt that every Android app that uses emojis is forced to bundle an emoji font. That would be madness.
Yes I agree and that's probably that's the case, Flutter apps must not able to access the native fonts for some reason. I will continue to keep my eyes open for an explanation or solution.
I asked a question on the Flutter repo since after searching for a while this morning I wasn't able to find any documentation explaining how Flutter interacts with system fonts. Hopefully someone can clarify.
@emesterhazy Good news! I was told by another Flutter dev that this issue is solved from 3.17 and I could confirm it with current beta that the frowning face and others are being rendered correctly! 🤩 Not sure which exact commit did it, tho.
Since Flutter 3.19 has been released and the issue is solved, I think we can close this issue 🙏 Thanks for your help !
The frowning face emoji does not render correctly on Android, even though typical Android fonts such as
Noto Color Emoji
support it.Another dev reported this issues ~2 years ago, but it was closed because technically users can override the default fonts in order to get the emoji to work.
I haven't found a solution yet that works without importing Google Fonts, which shouldn't be necessary. In theory specifying
Noto Color Emoji
orNotoColorEmoji
should work, but it didn't when I tried it in the Android simulator.