Skip to content
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

[Feature] Filter out emojis that cannot be displayed on iOS #165

Closed
naamapps opened this issue Nov 1, 2023 · 5 comments · Fixed by #183
Closed

[Feature] Filter out emojis that cannot be displayed on iOS #165

naamapps opened this issue Nov 1, 2023 · 5 comments · Fixed by #183

Comments

@naamapps
Copy link

naamapps commented Nov 1, 2023

Hi,
Thanks for the great package.
I was wondering if it's possible to filter out unsupported emojis on iOS.
I know it's currently only for android. But there is not reason why.

Please consider adding it to the package,
Thanks!

@Fintasys
Copy link
Owner

Fintasys commented Nov 1, 2023

iOS doesn't provide an easy way to determine which emoji is supported or not like Android does. Beside that all emoji should be supported by iOS. Is there anything that doesn't work?

@naamapps
Copy link
Author

naamapps commented Nov 1, 2023

@Fintasys Thanks for your super quick response!
Well for older iOS versions not all emojis are supported (which is to be expected).
I hope we can come up with a workaround, because looking at question marks is super bad UX.
See iOS 15.3.1:

IMG_0272

@stact
Copy link

stact commented Nov 12, 2023

It's seems the issue is related to flutter.
Several issue are still opened:

I tried to check but there is no easy way to detect this glitch.
We have also this option checkPlatformCompatibility but it seems is still displaying the unsupported emojis :)

Any idea?

@stact
Copy link

stact commented Nov 12, 2023

@Fintasys I found a good workaround. No more glitch :)
Regarding this comment: flutter/flutter#49627 (comment)

We can have this config (maybe it could be nice to have it by default in your package)

config: const Config(
  emojiTextStyle: TextStyle(
    fontFamilyFallback: [
      'Apple Color Emoji',
      'Noto Color Emoji',
    ],
  ),
),

On my side I've surrounded with my theme the fontFamilyFallback (to well display also on text field/content and so)

@Fintasys
Copy link
Owner

Fintasys commented Nov 30, 2023

@stact thanks for sharing the workaround ! Seems Someone else created a PR to fix this issue more permanently, I will look into it. #172

@Fintasys Fintasys mentioned this issue Jan 4, 2024
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants