The App Center VS Code extension includes the ability to bootstrap a project from scratch in order to enable quick development and testing with App Center and CodePush. A custom setting for overriding the project template can be used to substitute a project template with your own preferred custom setup.
- Create an empty new repository in Github, clone it to a folder on your machine and open it up in VS Code.
- Open the command palette in VS Code and search for the
Open User Settings
option. - Update your user settings to have the extension use the workshop starter repository when provisioning new projects from scratch. You can optionally create a fork and use th
{
"appcenter.demoAppGitRepo": "https://github.com/pniko/chain-react-2018",
"appcenter.api.configurebranchandstartnewbuild": true
}
- Log in to the App Center extension using CMD+SHIFT+P to open the command palette or the App Center button in the task bar.
- Open the command palette and search for
Start a New Project
. Enter an application name and select an App Center location for your new React Native iOS and Android applications. - Execute
react-native run-ios
orreact-native run-android
to verify you can build and run your newly created project.
- Quick navigate to either app in App Center and configure your iOS signing certificate and profile or Android java keystore.
- Configure your application to distribute to the collaborators group in App Center and start a new build.
- App Center VS Code extension authenticated for App Center.
- Workshop project has been created locally on your computer.
- App Center apps for Android and iOS have been created and built.
- Android or iOS app is signed and configured for distribution in App Center.