Join Kevin Ford for an in-depth discussion in this video Create Android CI builds, part of Visual Studio App Center for Developers.
- [Instructor] We now want to set up our continuous integration builds for our native Android and React Native Android projects. This process if very similar to what we did with native iOS and React Native iOS projects. To start, we're going to click on the red button in the upper left and select our organization and add a new app. And, we're going to call this app Native App dash Android.
For the operating system, we'll select Android. And, the platform, we'll leave it Java. And, we'll press add new app. And, click on the build. And, connect up to our same GitHub repository. So, we'll scroll down and select VSACNative. Now that we've hooked it up to the repository, we're going to create a CI build on our dev branch. So, we'll press the gear and the build variant, we'll select as debug and make sure the build frequency is put on build this branch on every push.
And, we'll save and build this. Now that the build is cued up, we're going to go set up our React Native Android build as well. So, once again, I'll click on the red button and select our organization. I'll add a new app and this one's going to be ReactNative App and Android. Now, for this, once again, the operating system will be Android, except this time the platform will be React Native.
And, we'll add our new app. We'll go to the build, connect it to GitHub, where we will use the VSACReactNative repository. Once again, for our continuous integration build, we'll select the dev branch. The build variant, we'll select debug. Make sure that the build frequency is build branch on every push.
Now there things here that you might notice are unique to React Native projects. They both have to do with setting up code quality. The first is we can run npm tester in our build and also we can use lint source code checks. If you wanted to enforce code quality for your React Native application, you could turn both of these on. A CI build would be the appropriate place to do that. I'm going to leave them off for now and save and build.
- Adding applications to the VSAC
- Using custom build scripts
- Creating iOS and Android builds
- Creating UI tests
- Automating tests
- Distributing apps
- Examining crash logs and analytics
- Adding push notifications
- Using CodePush for deployments
Skill Level Intermediate
Visual Studio Code for Web Developerswith Joe Marini1h 21m Intermediate
1. Introduction to Visual Studio App Center
2. Creating Builds
3. Test Runs
4. App Distribution
5. Crash Reporting and Analytics
6. Push Notifications
7. Code Push
Set up code push frequency3m 44s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.