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 for Converge360.

comments powered by Disqus

Featured

  • Death of the Dev Machine?

    Here's a takeaway from this week's Ignite 2020 event: An advanced Azure cloud portends the death of the traditional, high-powered dev machine packed with computing, memory and storage components.

  • COVID-19 Is Ignite 2020's Elephant in the Room: 'Frankly, It Sucks'

    As in all things of our new reality, there was no escaping the drastic changes in routine caused by the COVID-19 pandemic during Microsoft's big Ignite 2020 developer/IT pro conference, this week shifted to an online-only event after drawing tens of thousands of in-person attendees in years past.

  • Visual Studio 2019 v16.8 Preview Update Adds Codespaces

    To coincide with the Microsoft Ignite 2020 IT pro/developer event, the Visual Studio dev team shipped a new update, Visual Studio 2019 v16.8 Preview 3.1, with the main attraction being support for cloud-hosted Codespaces, now in a limited beta.

  • Speed Lines Graphic

    New for Blazor: Azure Static Web Apps Support

    With Blazor taking the .NET web development world by storm, one of the first announcements during Microsoft's Ignite 2020 developer/IT event was its new support in Azure Static Web Apps.

  • Entity Framework Core 5 RC1 Is Feature Complete, Ready for Production

    The first release candidate for Entity Framework 5 -- Microsoft's object-database mapper for .NET -- has shipped with a go live license, ready for production.

Upcoming Events