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

Chore: Compatibility of RN 0.74 and Expo SDK 51 #173

Merged
merged 1 commit into from
May 21, 2024

Conversation

alantoa
Copy link
Contributor

@alantoa alantoa commented May 15, 2024

Why

During our project upgrade to expo sdk 51 and RN 0.74, i noticed that this lib some types are outdated with Reanimated and RN.
This PR is compatible with the latest versions of Expo and RN.

How

  • Replacing Animated.SharedValue with SharedValue directly because renimated is deprecated with an old type.

  • During testing the example project, I noticed that many configurations and libraries in the project are already outdated. For instance, the app.json configuration is already out of date. You can refer to the latest documentation here for instructions on updating it.

  • And now I'm using Yarn 3 to integrate example and library code. It's simple and doesn't rely on too much configuration.

Test

I have tested the web and iOS app, and they all work well.

CleanShot.2024-05-15.at.21.30.57.mp4

Let me know if you guys have any questions about this PR!

@nandorojo
Copy link
Contributor

Looks good to me.

@honeybadger26
Copy link
Collaborator

Nicely done! Thanks @alantoa

@honeybadger26 honeybadger26 merged commit 644d768 into coinjar:master May 21, 2024
@alantoa
Copy link
Contributor Author

alantoa commented May 21, 2024

Hey @honeybadger26, could you please release it on npm? I noticed that it's available on GitHub but not on npm...

CleanShot 2024-05-21 at 21 23 27@2x

@honeybadger26
Copy link
Collaborator

Hi @alantoa. There were a few TypeScript errors that prevented the build (and publish) of the package. I aim to fix those and get a release out as soon as I can.

@honeybadger26
Copy link
Collaborator

@alantoa v2.5.1 has been released to npm :)

@alantoa
Copy link
Contributor Author

alantoa commented May 22, 2024

@honeybadger26 thank you! 🙏

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 this pull request may close these issues.

3 participants