Skip to content

Use own copy of useWindowDimensions#139

Merged
janicduplessis merged 1 commit intoAppAndFlow:masterfrom
tchayen:copy-use-window-dimensions
Aug 24, 2020
Merged

Use own copy of useWindowDimensions#139
janicduplessis merged 1 commit intoAppAndFlow:masterfrom
tchayen:copy-use-window-dimensions

Conversation

@tchayen
Copy link
Copy Markdown
Contributor

@tchayen tchayen commented Aug 20, 2020

Summary

As requested by @janicduplessis in this comment.

Test Plan

@janicduplessis I am having trouble running the example app on iOS. On startup I face error Operator 'abs' not found, linking to node_modules/react-native-reanimated/ios/Nodes/REAOperatorNode.m#L94. Does current master work properly for you?

I will check Android in a moment, but still opening as a draft since I am unable to verify on iOS.

Instead of making the lib incompatible with React Native < 0.61,
this commit creates a local copy of the hook.
@janicduplessis
Copy link
Copy Markdown
Collaborator

Hmm strange, I was able to successfully run the examples from a clean repo a few days ago. What version of xcode do you have, it could be related to this?

@janicduplessis
Copy link
Copy Markdown
Collaborator

I will merge and test on my end, code looks good! Thanks a lot!

@janicduplessis janicduplessis marked this pull request as ready for review August 24, 2020 16:23
@janicduplessis janicduplessis merged commit acbe80d into AppAndFlow:master Aug 24, 2020
@janicduplessis
Copy link
Copy Markdown
Collaborator

janicduplessis commented Aug 24, 2020

Works great, released as v3.1.7

@tchayen
Copy link
Copy Markdown
Contributor Author

tchayen commented Aug 25, 2020

I am using version 11.6 of XCode.

Thanks for merging!

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.

2 participants