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

fix:Compatible with version 0.72 #379

Merged
merged 2 commits into from
Apr 27, 2023
Merged

Conversation

NiuGuohui
Copy link
Contributor

Summary

The Geometry.h file is deprecated and will be removed in the next version of React Native.

The Geometry.h file is deprecated and will be removed in the next version of React Native.
@jacobp100
Copy link
Collaborator

What are we using from this file?

@NiuGuohui
Copy link
Contributor Author

What are we using from this file?

I don't know, but it will be an error in RN0.72.

@jacobp100
Copy link
Collaborator

What versions of RN does this file exist in? Will we be breaking older versions?

@janicduplessis
Copy link
Member

I think we need to import RectangleEdges.h not Float.h since we are using the EdgeInsets type, this is where it is defined.

I verified and this header was added a very long time ago so it will be backwards compatible.

@NiuGuohui
Copy link
Contributor Author

I think we need to import RectangleEdges.h not Float.h since we are using the EdgeInsets type, this is where it is defined.

I verified and this header was added a very long time ago so it will be backwards compatible.

You're right!

@janicduplessis janicduplessis merged commit 4611840 into th3rdwave:main Apr 27, 2023
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.

None yet

3 participants