Bereaksi asli mencegah rotasi layar
If building your React Native apps with Expo then you can use the orientation field in your app.json file - for example:
{
"expo": {
"name": "My app",
"slug": "my-app",
"sdkVersion": "21.0.0",
"privacy": "public",
"orientation": "portrait"
}
}
Anatu Green