Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[native] persist recently used emojis
Summary: This diff persists the recently selected emojis from the emoji keyboard into async storage. To create this diff I read through the docs and found these examples right here: - [[ https://thewidlarzgroup.github.io/rn-emoji-keyboard/docs/api/useRecentPicksPersistence | API docs for the useRecentPicksPersistence hook ]] - [[ https://thewidlarzgroup.github.io/rn-emoji-keyboard/docs/documentation/Examples/recently-persistance | An implementation example ]] - [[ https://github.com/TheWidlarzGroup/rn-emoji-keyboard/blob/master/example/src/EnableRecently/EnableRecently-persistence.tsx | A more in depth implementation example ]] I believe this should be an acceptable use case of using AsyncStorage (especially as a first step), as we are only storing a small amount of data, this seems like the recommended way to persist the recently used emojis from the documentation, and we are using a completely different emoji keyboard library for web. If we are interested in persisting the recently used emojis across web/native or different devices, then I can create a follow up task for this; however, I personally feel that this wouldn't really add much value to the overall user experience. Linear Task: https://linear.app/comm/issue/ENG-3792/mobile-emoji-keyboard-recently-used-category Test Plan: Please watch the demo video: {F600827} Reviewers: atul, kamil Reviewed By: kamil Subscribers: ashoat, tomek Differential Revision: https://phab.comm.dev/D8282
- Loading branch information