![]() The “manifest” at that URL tells the Expo app how to retrieve and load your app’s JavaScript bundle, so even if you load it in the app via a URL like exp://localhost:19000, the Expo client app will still try to retrieve your app at the IP address that the start script provides. When starting your project, you’ll see something like this for your project URL: exp://192.168.0.100:19000 You can configure some of Create React Native App’s behavior using environment variables. The jest documentation is also a wonderful resource, as is the React Native testing tutorial. See the the template project for an example test. test extension to have the files loaded by jest. Create test files in directories called _tests_ or with the. You can configure whatever testing strategy you like, but jest works out of the box. This project is set up to use jest for tests. It’s recommended that you use a 512x512 png file with transparency. ![]() To set an app icon, set the expo.icon key in app.json to be either a local path or a URL. To change your app’s display name, set the expo.name key in app.json to an appropriate string. ![]() You can edit app.json to include configuration keys under the expo key. An ejected app will require you to have an Xcode and/or Android Studio environment set up. Warning: Running eject is a permanent action (aside from whatever version control system you use). You’ll be asked a couple of questions about how you’d like to build your project. This will start the process of “ejecting” from Create React Native App’s build scripts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |