Why is this commented out?

Hi,

Why is this commented out? I’m a detached expokit app.

// Needed for `react-native link`
// import com.facebook.react.ReactApplication;
...
        // Add your own packages here!
        // TODO: add native modules!

        // Needed for `react-native link`
        // new MainReactPackage(),

inside MainApplication.java

react-native link looks for specific strings when it modifies this file, so these comments allow it to modify the code in the correct place.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.