wonday / react-native-orientation-locker

A react-native module that can listen on orientation changing of device, get current orientation, lock to preferred orientation.
MIT License
763 stars 274 forks source link

Android sdk 34 is not supported [Android 14] #296

Open mostasim opened 7 months ago

mostasim commented 7 months ago

The current version of this library is not supported android SDK 34 [Android 14]

rbueso82 commented 6 months ago

Is there any plan on fixing this?

IgorGanapolsky commented 5 months ago

I too am facing this issue...

HarshitMadhav commented 5 months ago

is there any error or log or any kind of warning that you are getting? as because currently I updated my project to android 14 with this package it works fine

IgorGanapolsky commented 5 months ago

The solution is to upgrade react-native-orientation-locker dependency to latest version.....

ckswopnera commented 5 months ago

I have 1.7.0. but the problem still exists. if I use this for pixel 7a with api 34 then it is working fine. but for pixel tablet with api 34 and api 33 it is not working.

IgorGanapolsky commented 5 months ago

Not sure if Android tablets are supported? Android has it's own orientation lifecycle on tablets, different from phones.

paulrinaldi commented 4 months ago

This package runs correctly on my android 14 samsung.

Shummy1991 commented 3 months ago

The app was reloading on react-native version 0.74.3 when changing orientation, but updating to 0.74.5 fixed the issue.