React Native Orientation Locker Versions Save

A react-native module that can listen on orientation changing of device, get current orientation, lock to preferred orientation.

v1.7.0

2 weeks ago

What's Changed

New Contributors

Full Changelog: https://github.com/wonday/react-native-orientation-locker/compare/v1.4.0...v1.7.0

v1.4.0

2 years ago

v1.4.0

Fix typescript types fix some bugs

v1.3.1

Fix require cycle problem

v1.3.0

2 years ago
  1. Add support for Window
  2. Modify sample project
  3. Updates Tyescript define

v1.2.0

3 years ago
  1. Add support for lockAllOrientationsButUpsideDown
  2. Ignore on web and desktop (#115)
  3. Fix for not finding @ReactModule (#125)
  4. Fix unlockAllOrientations on Android (#133)
  5. Implement ActivityLifecycleCallbacks on Android (#131)

v1.1.8

4 years ago
  1. Adding support for iOS FACE-UP and FACE-DOWN orientations

v1.1.7

4 years ago
  1. Add lockToPortraitUpsideDown() to iOS
  2. Minor case corrections

v1.1.6

4 years ago
  1. catch unknown device orientation value
  2. when calling unlockAllOrientations(), forcibly unlock whether lock or not

v1.1.5

5 years ago
  1. add Orientation.isLocked() and Orientation.removeAllListeners()

v1.1.4

5 years ago
  1. Fix typescript declarations

v1.1.3

5 years ago
  1. add addLockListener/removeLockListener
  2. improve android orientation changed event sending condition