# react-native-ios-orientation-support

> React Native plugin to manage supported orientations

Latest version **2.0.0** (published 2020-03-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-ios-orientation-support
pnpm add react-native-ios-orientation-support
yarn add react-native-ios-orientation-support
bun add react-native-ios-orientation-support
```

Provides the command `react-native-ios-orientation-support`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2020-03-31 |
| First published | 2018-04-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 8.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Ray Deck |
| Maintainers | raydeck |
| Keywords | react-native, ios |

## Links

- npm: https://www.npmjs.com/package/react-native-ios-orientation-support
- Repository: https://github.com/rhdeck/react-native-ios-orientation-support
- Homepage: https://github.com/rhdeck/react-native-ios-orientation-support#readme
- Issues: https://github.com/rhdeck/react-native-ios-orientation-support/issues
- npm.io page: https://npm.io/package/react-native-ios-orientation-support

## Dependencies (2)

- [glob](https://npm.io/package/glob.md) ^7.1.2
- [plist](https://npm.io/package/plist.md) ^3.0.1

## Recent versions

- 2.0.0 (latest) — 2020-03-31
- 1.0.0 — 2018-04-17

## README

# react-native-ios-orientation-support

React-Native plugin for managing supported orientations in iOS XCode projects

# Usage

All of the command line extensions modify your package.json file, but do not commit to your XCode project.

## react-native addorientations [up][down] [left][right] [ipad]

Adds orientation support in those directions. Mark as ipad for ipad-specific directions (for example, iPhone app might be limited to portrait-only but iPads rarely have such a restriction)

## react-native removeorientation [orientation][ipad]

Removes support from one (1) orientation. Similarly mark as ipad-specific for those cases

## react-native clearorientations [ipad]

Removes all designated orientations, so that react-native link will no longer express an opinion as to the correct orientation going forward. Mark "ipad" to just remove the ipad-specific orientations

## react-native link

Sets supported orientations based on the settings expressed in your package.json using the tools above.

---
_Source: https://npm.io/package/react-native-ios-orientation-support · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
