react-native-orientation
react-native-orientation copied to clipboard
Fix build error caused by this package and supports auto linking
trafficstars
- Fix Build error
Task :react-native-orientation:verifyReleaseResources FAILED FAILURE: Build failed with an exception. Execution failed for task ':react-native-orientation:verifyReleaseResources'.
- Supports autolinking
@yamill
@maulikdhameliya this is fixed in latest master, but @yamill has not updated the npm package.
Therefore you should change the package reference in your package.json to:
{
...
"dependencies": {
...
"react-native-orientation": "https://github.com/tomyo-edtech/react-native-orientation#master",
...
},
...
}
@rcidt sorry but this is different repo then the PR I created to.
"react-native-orientation": "https://github.com/tomyo-edtech/react-native-orientation#master",
I ended up using this (which seems like a maintained fork) instead: https://github.com/wonday/react-native-orientation-locker