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

get SDK version from root directory #360

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alikazemkhanloo
Copy link

building the release app failed with this error:

\node_modules\react-native-orientation\android\build\intermediates\res\merged\release\values\values.xml:2919: error: resource android:attr/offset not found.

increasing the sdk versions of this library solved the issue for me.
This PR tries to get the sdk version from the root project, and in case of error, falls back to older default values.

Also it is good to be compatible with the root project of the users.

@lmeireles
Copy link

I'm working on this port for this lib as it seems dead, already applied all the pull requests from here.

https://github.com/YatoStudio/react-native-orientation-handler

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