Visual Studio Mobile Center Now Supports CodePush Updates
Still in preview, CodePush was unveiled some two years ago as a new way to update certain apps directly, bypassing the usual app store redeployment process.
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.
Microsoft's Ian Geoghegan said 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."
The program manager 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.