unlockAllOrientations() is not working for iOS
Same for me
Same for me
Hi I'm suddely also experiencing this. It has been working fine before.
I have just upgraded to RN 0.69 and I'm also using iOS16 testing my app, not knowing if this is the reason?
I had upgraded this package to 1.5.0, but now I see that the latest version is said to be 1.4.0. Changed back to 1.4.0, but it makes no difference.
Which versions are you guys using? Both for iOS, React Native and this package.
Thanks!
I had a similar issue, not sure if it's related, but if you are displaying content inside Modal you need to specify supportedOrientations in order to unlock the rotation on iOS
https://reactnative.dev/docs/modal.html#supportedorientations-ios
<Modal supportedOrientations={['landscape', 'portrait']}>
{Content}
<OrientationLocker orientation={UNLOCK} />
</Modal>
We also have this issue. And this is the only one that prevents us from migrating on it from the expo one.