Wednesday, October 10, 2018

Automating Your App Releases Amongst Google Play

Posted yesteryear Nicholas Lativy, Software Engineer

At Google I/O nosotros shared how Google's ain apps brand role of Google Play for successful launches in addition to updates in addition to introduced the novel Google Play Developer Publishing API Version 3.

The Publishing API enables yous to integrate publishing operations into your existing liberate procedure or automated workflows yesteryear providing the mightiness to upload APKs in addition to curlicue out releases. Here's an overview of approximately of the improvements yous tin right away induce got payoff of inward Version iii of the API.

Releases inward the API

The Publishing API right away uses the liberate model yous are familiar alongside from the Play Console.

{   "track": "production",   "releases": [     {       "name": "Release One",        "versionCodes": ["100"],       "status": "completed"     }   ] }

This gives yous total command over releases via the API allowing a issue of operations which were previously available exclusively inward the Play Console. For example, yous tin right away command the advert of releases created via the API, in addition to nosotros induce got right away relaxed the constraints on what tin survive rolled out via the API to fit the Play Console.

Additional testing tracks

The API right away supports releasing to whatever of the testing tracks yous induce got configured for your application every bit good every bit the production track. This makes it possible to configure your continuous integration organization to force a novel construct to your internal seek rail every bit presently every bit it's laid upward for QA.

Staged rollout

Staged rollouts are the recommended agency to deploy novel versions of your app. They allow yous to brand your novel liberate available to a modest percent of users in addition to gradually growth this percent every bit your confidence inward the liberate grows.

Staged rollouts are right away represented straight inward the API every bit inProgress releases.

{   "track": "production",   "releases": [     {       "versionCodes": ["100"],       "status": "completed"     },     {       "versionCodes": ["200"],       "status": "inProgress",       "userFraction": 0.1     }   ] }

You tin right away stop a staged rollout via the API yesteryear changing its condition to halted. This makes it possible to automatically respond to whatever problems yous discovery spell performing a rollout. If it turns out to survive a imitation alarm, the API right away also allows yous to resume a halted liberate yesteryear changing its condition dorsum to inProgress.

Release notes

Release notes are a useful agency to communicate to users novel features yous induce got added inward a release. In V3 nosotros induce got simplified how these are specified via the API yesteryear adding the releaseNotes acre to release.

{   "track": "production",   "releases": [     {       "versionCodes": ["100"],       "status": "completed",       "releaseNotes": [         {           "language": "en-US",           "text": "Now it's easier to specify liberate notes."         },         {            "language": "it-IT",            "text": "Ora è più semplice specificare le banker's complaint sulla versione."         }     }   ] }

Draft releases

We know that spell many developers are comfortable deploying seek builds automatically, they similar using the Play Console when rolling out to production.

So, inward the V3 API nosotros induce got added the mightiness to create in addition to create out Draft Releases.

{   "track": "production",   "releases": [     {       "name": "Big Launch",       "versionCodes": ["200"],       "status": "draft"     }   ] }

This allows yous to upload APKs or App Bundles in addition to create a draft liberate from your continuous integration system, in addition to thus induce got your production director log in, cheque that everything looks good, in addition to striking "Confirm in addition to Rollout".

We promise yous discovery these features useful in addition to induce got payoff of them for successful launches in addition to updates alongside Google Play. If you're interested inward approximately of the other dandy tools for distributing your apps, cheque out the I/O sessions which induce got right away been posted to the Android Developers YouTube Channel.

How useful did yous discovery this blogpost?

Related Post

Automating Your App Releases Amongst Google Play
4/ 5
Oleh