fix: orientation on iOS16
I've modified Orientation.m according to what Apple is requiring on iOS16 since [[UIDevice currentDevice] setValue:forKey:]; appears to be buggy.
Notice that the changes are under a condition of the OS being iOS16.
Other than iOS 16, Builds are failing.
Other than iOS 16, Builds are failing.
same issue for me iOS builds are failling.
Fixed failing build by wrapping ios 16 code with #ifdef __IPHONE_16_0
Here's a patch file I made if you're using patch-package
https://gist.github.com/nicolas6422/80cbc4528b4d4798c53ffdd2f56c3625
Fixed failing build by wrapping ios 16 code with
#ifdef __IPHONE_16_0Here's a patch file I made if you're using patch-package
https://gist.github.com/nicolas6422/80cbc4528b4d4798c53ffdd2f56c3625
works on ios 16
@nicolas6422 do you know if that's future proof? Like next year's iOS 17?
@gramiro yes, __IPHONE_16_0 will always be defined after for Xcode >= 14
@gramiro @nicolas6422 any update for release mode because its not working for release mode.
Seeing the same issue that this doesn't work in release mode
@codal-mpawar ran into a similar issue, for us we build our app with eas so it was about setting the image property of ios to latest in our eas.json file so that our app was built with the latest Xcode 14.1 sdk.
@gramiro If you have a solution can you please fork the library and try to resolve this if possible? it will great help for us.
seems the camera screen is also orientated, is any way to fix?
hii as any one found solution I am also facing issue related to orientation locktolandscape not working
Please @LuczDev if you found any solution please respond asap thanks
@gramiro If you have a solution can you please fork the library and try to resolve this if possible? it will great help for us.
Did you find solution for release mode?