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

Support Web platform #2

Closed
Fintasys opened this issue Mar 16, 2021 · 14 comments
Closed

Support Web platform #2

Fintasys opened this issue Mar 16, 2021 · 14 comments
Labels
help wanted Extra attention is needed

Comments

@Fintasys
Copy link
Owner

Every platform seems not support all of the emoji and it's difficult to filter them. I'm looking for ideas for filtering methods beside doing it manually.

@Fintasys Fintasys added the help wanted Extra attention is needed label Mar 16, 2021
@gooplancton
Copy link

I'd say you can just depend on this https://pub.dev/packages/universal_platform

@jluisrojas
Copy link

@Fintasys Do you have any advancements for web and MacOS support? Maybe i can help you

@Fintasys
Copy link
Owner Author

@jluisrojas Thanks for bringing this up again ! I quickly looked into it and seems MacOS and Web (when used with html-render) actually works quite well. Give me a few days to test it more carefully also on other OS than MacOS in case of Web support. If it looks fine I gonna release it soon 👍

@jluisrojas
Copy link

Perfect! Thanks

@aliasgarlabs
Copy link

@jluisrojas Thanks for bringing this up again ! I quickly looked into it and seems MacOS and Web (when used with html-render) actually works quite well. Give me a few days to test it more carefully also on other OS than MacOS in case of Web support. If it looks fine I gonna release it soon 👍

Cheering for you mate! 💯 Also IMHO, we can prioritize just the web support as Flutter Web is a major shareholder compared to macOS and other OSes. Thanks!

This was referenced Sep 27, 2021
@Fintasys
Copy link
Owner Author

Fintasys commented Oct 7, 2021

@jluisrojas I was looking more closely into web the other day and I still see lot of issues. Most troublesome is that some emoji's can't be displayed and we can't just filter them like we do on Android. Solution would be to add NotoColorEmoji font to the project but it would add like 10 mb to the app size, which I would like not to do if possible. If you have any other ideas for workaround let me know. I'm keep watching serval flutter issues for the moment and see if something changes.

@telostia
Copy link

It would be good to add Web support! Any progress on the web if I may ask?

@Fintasys
Copy link
Owner Author

@telostia Unfortunately not, there has been also no progress from flutter's side to address existing issues. Eventuelly I could add custom font support so that people could optionally add the NotoColorEmoji font themselves 🤔 will think about it.

@Fintasys Fintasys changed the title Support Web, MacOS and other platforms Support Web platform Feb 19, 2022
@marcusgregory
Copy link

@jluisrojas I was looking more closely into web the other day and I still see lot of issues. Most troublesome is that some emoji's can't be displayed and we can't just filter them like we do on Android. Solution would be to add NotoColorEmoji font to the project but it would add like 10 mb to the app size, which I would like not to do if possible. If you have any other ideas for workaround let me know. I'm keep watching serval flutter issues for the moment and see if something changes.

I was researching this today and found a comment:
https://stackoverflow.com/questions/52366470/how-to-check-if-an-emoji-is-supported-by-any-device-or-not

Basically it says that if you draw an emoji using the canvas and compare it to a character that you know will not be compatible (\u1fff) you can test if the emoji will be visible to the user or not.

Does anyone know how to implement this in Flutter?

@SmithZachary
Copy link

Following, trying to implement this package into an upcoming app and am trying to figure out the web side of it.

@thorito
Copy link

thorito commented Sep 5, 2022

Any news with web support?

@Fintasys
Copy link
Owner Author

@thorito @telostia @aliasgarlabs @jluisrojas
I made a new draft PR to add Web support. Thx to recent changes from other contributors we have custom font support now and that should help with web support. I'm planing to release current master soon as new version and web support then again in another version to keep the possibility to go back in case something is not working well. But until now you can test it by using this

  emoji_picker_flutter:
    git:
      url: https://github.com/Fintasys/emoji_picker_flutter.git
      ref: Add-Web-Support-2

@thorito
Copy link

thorito commented Sep 30, 2022

@thorito @telostia @aliasgarlabs @jluisrojas I made a new draft PR to add Web support. Thx to recent changes from other contributors we have custom font support now and that should help with web support. I'm planing to release current master soon as new version and web support then again in another version to keep the possibility to go back in case something is not working well. But until now you can test it by using this

  emoji_picker_flutter:
    git:
      url: https://github.com/Fintasys/emoji_picker_flutter.git
      ref: Add-Web-Support-2

image

Great job, works fine.

Thank you very much

@Fintasys
Copy link
Owner Author

Added support for Flutter Web with release 1.5.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

8 participants