react-native-orientation icon indicating copy to clipboard operation
react-native-orientation copied to clipboard

Fix build error caused by this package and supports auto linking

Open maulikdhameliya opened this issue 5 years ago • 4 comments
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

maulikdhameliya avatar Mar 16 '20 10:03 maulikdhameliya

@yamill

maulikdhameliya avatar Mar 16 '20 10:03 maulikdhameliya

@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 avatar Apr 01 '20 15:04 rcidt

@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",

maulikdhameliya avatar Apr 04 '20 11:04 maulikdhameliya

I ended up using this (which seems like a maintained fork) instead: https://github.com/wonday/react-native-orientation-locker

mars-lan avatar Jul 26 '20 00:07 mars-lan