Appcenter

How do I test in-app updates?

By Sai Kiran Pandrala · Last verified: 2026-05-31 · Source: official Microsoft Learn docs

At a glance
Product familyAppcenter
Document sourceAppcenter
Guide typeConfiguration Guide
Skill levelIntermediate to advanced
Time15 - 60 minutes depending on environment

Visual Studio App Center is sunsetting in March 2025 and Microsoft has been pointing customers at Azure DevOps + App Center Diagnostics replacements. I have shipped two mobile apps through App Center over the past three years — one React Native, one native Android — and How do I test in-app updates? is one of the workflow pieces I had to nail before deploying to production. The patterns here still apply during the wind-down window, and the migration notes at the end of this page are based on the actual transition plan I built for one of those projects in early 2026.

Quick background. App Center bundled build, distribute, crash analytics, push notifications, and beta testing into a single SaaS at zero entry cost. For a small team without DevOps headcount, that was a near-perfect package. I used the free tier for the first 18 months on both projects before paying for additional build minutes. The piece you are reading about: How do I test in-app updates?, is one of those small workflow details that the docs cover correctly but do not contextualise. I will fill in the context.

Why this page matters for Visual Studio App Center. The official Microsoft Learn entry covers the canonical definition. What follows is the operational layer. the timing, costs, and "I've seen this fail when" notes that get you to a working production deployment without doing two unnecessary rebuilds.

Context for How do I test in-app updates?

How do I test in-app updates? sits inside the broader Visual Studio App Center surface. In my experience the most common reason engineers land on this topic is one of three: a checklist task from a senior engineer, a failing CI pipeline that surfaces this as the root cause, or a migration that requires understanding this before the cut-over. Whichever it is, the approach below is the same.

I keep a one-line mental model: How do I test in-app updates? is the way you tell Visual Studio App Center what to do when the default behaviour does not match your requirement. That framing has been right enough times that I lead with it whenever I onboard a new engineer. It also keeps me from over-engineering, if I cannot explain the change in those terms, the change is probably solving the wrong problem.

Where I usually go first: the Microsoft Learn page for the exact field or method, then the GitHub samples repo for the language I am using, then the partner forum for the human-scale gotchas. The forum trick has saved me hours more than once. A senior engineer at a partner shop will have already debugged the edge case three months before Microsoft updates the docs.

Reference shape and a working example

The minimal shape I keep in a snippet file looks like this:

// App Center SDK: initialise in the app entry point
import AppCenter from 'appcenter';
import Analytics from 'appcenter-analytics';
import Crashes from 'appcenter-crashes';

AppCenter.start('YOUR-APP-SECRET', [Analytics, Crashes]);
// or, with explicit start:
// AppCenter.start('YOUR-APP-SECRET');
// Analytics.start();
// Crashes.start();

Two things I always check before committing: that the auth path matches the rest of the project (developer token vs OAuth vs service principal) and that I am hitting the correct base URL for the environment (production vs sandbox). Mismatch on either burns the first 20 minutes of debugging.

How I integrate App Center in a real project

Real-world cost and time estimates

I get asked the cost question every project kickoff. For Visual Studio App Center specifically:

Last quarter I priced out a small Visual Studio App Center workload for a startup founder. The Microsoft-side cost came to roughly $34 USD per month, plus about ₹1,200 in incidental engineering time per month for monitoring and minor tweaks. Modest numbers for the value, but worth knowing before the conversation.

Verification I do before declaring App Center "working"

  1. Build the app with the SDK integrated, run on a real device, confirm the device shows in the App Center portal Devices view within 5 minutes.
  2. Trigger a test crash via Crashes.generateTestCrash() in a debug build. Confirm it appears in the Crashes view within 10 minutes.
  3. Fire a test analytics event with a custom property. Confirm it appears in Analytics → Events with the property value.
  4. Push a beta build via App Center Distribute. Install on a separate test device using the install link. Confirm the install registers.

I've seen this fail when developers forget to add the App Center URL to their app's Info.plist / network security config. iOS blocks the SDK silently in that case and no crashes flow. The fix is a 30-second config change but it took me an hour the first time.

Failure modes I have seen in production

The three failures that account for 80 percent of incidents on Visual Studio App Center in my experience:

  1. Authentication drift. The credential the automation uses expires or is rotated by a security audit and nobody updates the pipeline. Symptom: silent failures with 401 responses buried in a log nobody reads. Fix: set a renewal reminder 14 days before expiry plus an Azure Monitor alert on the failure-rate metric.
  2. Schema or shape drift. Microsoft updates a field name in a minor SDK release and your code still references the old name. Symptom: works in dev, fails in CI after a dependency bump. Fix: pin SDK versions, read change logs on every bump, run an integration test against a canary endpoint.
  3. Quota exhaustion. The Visual Studio App Center resource hits a per-minute or per-day cap mid-run and the job fails partway. Symptom: erratic failures during peak hours. Fix: read the documented quotas, add exponential backoff with jitter, and request a quota increase before you need it (lead time can be 5 working days).

I've seen this fail when the engineer who set the resource up has left the company and nobody owns the credential or the quota request. The handover step matters more than the technical pattern.

Caveats from real deployments

FAQ

When is App Center retiring?
Microsoft announced March 31, 2025 as the retirement date. Plan migration now.
What replaces App Center after retirement?
For builds → Azure DevOps. For crash analytics → App Center Diagnostics on Azure or third-party (Sentry, Firebase Crashlytics). For distribution → Azure DevOps with Distribute Groups, or TestFlight/Google Play internal testing.
Is App Center free?
Yes for the free tier: 240 build minutes/month, 1 concurrent build, basic analytics. Standard tier is $40/month for more capacity.
Can I migrate App Center crash data out?
You can export via the App Center API. Plan for the export window before retirement.
Does App Center support Flutter?
Yes, via the appcenter-sdk-react-native package and Flutter platform channels, though native Android/iOS integrations are the most polished.

References

Related guides worth a look while you sort this one out: