Skip to content

Releases: gladiuscode/react-native-orientation-director

Release 2.3.0

27 Feb 20:48
Compare
Choose a tag to compare

2.3.0 (2025-02-27)

This library officially supports Expo CNG now, through a custom plugin.

Bug Fixes

Features

Release 2.2.0

04 Feb 18:28
Compare
Choose a tag to compare

2.2.0 (2025-02-04)

Bug Fixes

Features

  • enhance lockTo to support both landscape orientations (#44) (fe6e747)

Release 2.1.0

10 Nov 16:24
Compare
Choose a tag to compare

2.1.0 (2024-11-10)

Refactor

  • iOS: remove manual interface orientation computation (#41) (1067167)

Features

  • js: add is lockable orientation method (#42) (065f01b)
  • js: extend lockTo method with additional parameter (#40) (6e245cf)

Release 2.0.0

02 Nov 18:22
Compare
Choose a tag to compare

2.0.0 (2024-11-02)

Major Update

Although there are no significant changes to the public API, I've decided to increment the major version of the library, since this it is now using the Sensor Framework to compute the device orientation, furthermore it is now doing so based on usages, determined by listeners availability.

There shouldn't be much of a difference with the old version.
As always, feel free to open any issue if you happen to experience any.

Features

  • android: add main module and utils tests (#34) (c0c0137)
  • android: enable and disable sensors based on usage (#36) (dd7fb9e)
  • android: implement missing device orientations (#32) (1c4c41e)
  • android: improve native structure (#29) (890a3d3)
  • improve example app with navigation (#37) (0da11be)
  • iOS: improve native structure (#30) (d3a7bc3)
  • upgrade react-native to latest (#38) (8c23108)

Release 1.3.0

18 Sep 20:18
Compare
Choose a tag to compare

1.3.0 (2024-09-18)

Features

  • add convert auto rotation to human readable string (#27) (178fb4b)
  • upgrade react native (#28) (a39f322)

Release 1.2.3

28 Jul 19:08
Compare
Choose a tag to compare

1.2.3 (2024-07-28)

Bug Fixes

  • android: device orientation converted to unknown during screen rotation (#22) (0bd13e3)
  • android: incorrect onHostPause callback method (#25) (aa4ff82)

New Contributors

@Hiroenzo made their first contribution in #25

Release 1.2.2

28 May 18:31
Compare
Choose a tag to compare

1.2.2 (2024-05-28)

Bug Fixes

  • iOS: wrong MACRO used for resetSupportedInterfaceOrientations (#20) (059c78e)

Release 1.2.1

27 May 08:40
Compare
Choose a tag to compare

1.2.1 (2024-05-27)

Bug Fixes

  • interface orientation should match bottom bar position (#17) (7012798)

Release 1.2.0

26 May 17:08
Compare
Choose a tag to compare

1.2.0 (2024-05-26)

Bug Fixes

  • android: interface orientation value changes even with auto rotation off (#7) (4d15f08)
  • iOS: missing check if deviceOrientation is actually supported (#13) (0e9c382)
  • iOS: wrong interface orientation value after reset (#15) (ce351f7)

Features

  • android: expose auto rotation status to js (#9) (3815b4d)
  • reset to initial supported interface orientation (#11) (e5d4e11)

Release 1.1.0

25 May 08:48
Compare
Choose a tag to compare

1.1.0 (2024-05-25)

What's Changed

  • Feature isLocked by @gladiuscode in #1
  • Bugfix - Wrong interface orientation behaviour at start time by @gladiuscode in #4
  • Bugfix - Android screen orientation locked breaks initial interface orientation value by @gladiuscode in #5

Full Changelog: v1.0.1...v1.1.0