News

Visual Studio Mobile Center Adds React Native Code Signing

In another Microsoft embrace of competitive technologies, the Visual Studio Mobile Center -- serving as "mission control" for mobile apps -- now supports code signing of React Native apps via its new CodePush functionality.

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. It was just recently added to VS Mobile Center, which provides supporting back-end services for mobile apps.

React Native apps, being composed of interpreted JavaScript code, are among those apps. React Native might be seen as a competitor to Microsoft offerings such as Xamarin -- which uses C# -- and Visual Studio's built-in Apache Cordova projects, which use JavaScript for cross-platform mobile projects.

Nevertheless, in its new era of openness, Microsoft is continuing to add support for such third-party technologies in its developer tooling, adding support for code signing of React Native apps to CodePush right along with Cordova.

Code signing, a new addition to CodePush, was a feature requested by developers, Microsoft said. It enables them to sign application bundles and verify that downloaded bundles haven’t been tampered with. It can also be used to validate a developer's identity.

"Trust is everything, and you want to know that the code you shipped is the code you wrote," said Microsoft's Simina Pasat in a blog post earlier this month. "In response to popular demand, CodePush now supports code signing, so you can push digital signatures for bundles to be validated on the client-side prior to installation."

Pasat also detailed several other recent enhancements to VS Mobile Center, including:

  • Build scripts for the injection of additional logic into builds
  • Ability to export analytics data to Azure Application Insights
  • UI testing support for Android Oreo and iOS 11
  • Better in-app notifications for conveying the availability of new release updates
  • Faster bug-squishing

Build scripts let coders introduce custom build steps at three stages of a build, adding additional logic to supplement the basic build configuration options.

The new ability to store and explore analytics data in the Azure cloud platform's Application Insights -- "an extensible Application Performance Management (APM) service for Web developers on multiple platforms" -- lets developers dig deeper to glean meaningful insights via the Log Analytics tool.

iOS 11 Testing in Action
[Click on image for larger, Animated GIF view.] iOS 11 Testing in Action (source: Microsoft).

The new UI testing support for Android Oreo and iOS 11 -- both recently introduced by Google and Apple respectively -- involves the addition of new devices using the OSes to the Mobile Center Test device centers. Support for the new OSes has also been added to the Mobile Center SDKs. That, Pasat said, provides information about user behavior and can help developers pinpoint the causes of app crashes.

Testing is further improved in VS Mobile Center by the addition of named device sets, useful for developers who continually test their wares against the same set of devices on every test run. Customized combinations can now be encapsulated in named device sets for repeated test runs.

Developers backing their projects with VS Mobile Center can also now keep in closer touch with their users via in-app dialogs, which can notify users of available updates. Programmers can also provide notifications via other means, such as Microsoft Teams or Slack, by configuring a webhook. Another customization capability lets devs use Markdown to enhance their release notes, highlighting critical information that can be discovered by quickly scanning the text.

Finally, Pasat discussed new functionality that lets developers more easily fix critical bugs as soon as they're found.

"Once your app is instrumented and tracking events, every crash report links to the events that led to the crash," she said. "This way, you can more easily investigate why a crash happened. Additionally, when your app is crashing and new crash groups are created, you can choose to automatically create a bug in Visual Studio Team Services. We're actively working on supporting more integrations with other bug tracking solutions. If you want to be notified when a new crash group is created, you can also set up a webhook and you will get notifications through your application of choice."

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube