Search code examples
react-native

How to disable new architecture in react-native


I have recently enabled new architecture in iOS by running following command

RCT_NEW_ARCH_ENABLED=1 pod install

I would like to disable it now, But unable to figure out a way. I couldn't find anything from official documentation as well.

Is there anyway to disable the new architecture or creating the new project is the only way?

Thank You.


Solution

  • You just have to run this command:

    RCT_NEW_ARCH_ENABLED=0 pod install