tunoltd / emoji-mart-native

One component to pick them all 👊🏼
https://tunoltd.github.io/emoji-mart-native
BSD 3-Clause "New" or "Revised" License
86 stars 31 forks source link

Fix appearance listener for newer RN versions #222

Open vforvasile opened 1 year ago

vforvasile commented 1 year ago

Hey!

In 0.70+ the current Appearance event listener syntax is not allowed anymore. I made a quick fix

⚠️ I'm not entirely sure, but this might break older versions of RN (lower than 0.66)

We could try to make it backwards compatible with older versions.

pederjohnsen commented 1 year ago

@vforvasile thanks for this ❤️

I really need to set aside some time to put some more love into this project, just been extremely busy with a ton of other stuff 🥲

I'll try make some time to look over this and test over the weekend 👍🏻