Why is this commented out?


#1

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


#2

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.


closed #3

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