React Native внешний вид. Addchangelistener Android

// add this code to MainActivity.java
import android.content.res.Configuration;
    
@Override
public void onConfigurationChanged(Configuration newConfig) {
  super.onConfigurationChanged(newConfig);
  getReactInstanceManager().onConfigurationChanged(this, newConfig);
}
Concerned Curlew