The react-native cli automatically generates index.os.js, but I'm planning to design a universal app targeting both iOS and Android, so the entry point should be the same. By checking out the official examples, I found the Movies app did the trick, and in the AppDelegate.m,
The react-native cli automatically generates index.os.js, but I'm planning to design a universal app targeting both iOS and Android, so the entry point should be the same. By checking out the official examples, I found the Movies app did the trick, and in the AppDelegate.m,
instead of
then I renamed index.os.js to App.js and made some modifications as below, hit the run, but it seems that the App.bundle couldn't be found.