CodePush Now Part of Visual Studio Mobile Center
CodePush, still in preview, was announced about two years ago, providing a way to update certain apps directly without going through an app store redeployment.
CodePush is open source and free to use during its preview, with a free tier expected to be available even after the service goes to production-ready general availability.
In a blog post yesterday, Microsoft detailed how CodePush updates as of June 2 are supported in Visual Studio Mobile Center, a cloud-based, back-end hub that provides services such as building, testing, distribution, crash analytics, user authentication, table storage and so on.
Program manager Ian Geoghegan noted that since its debut in 2015, "mobile app developers have deployed thousands of releases to in-production apps -- deploying quick bug fixes, feature improvements and content updates via the cloud. In a world where updates submitted through the app store can sometimes take days, these developers have enjoyed a huge market advantage because they can respond to customer feedback more quickly with instant app updates to some or all of their end-users."
He further explained the inner workings of the CodePush service and how to use it with Mobile Center for updating a React Native "hello world" app.
CodePush update lifecycles typically work like this, Geoghegan said:
- Your customer installs your app from the store.
- If the cloud version is both higher and matches the native code version, then it downloads and installs the newer update.
David Ramel is an editor and writer for Converge360.