question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[androidpublisher] Manage Testers in PlayStore closed Testing (alpha/beta)

See original GitHub issue

It is currently not possible to manage the Testers of an App via API. You can either upload CSV files or add them manually.

The API reference contains a reference to this feature, but its largely undocumented and unfunctional since it operates on Google Groups.

image


Prequesites:

  • googleapis installed via packagemanager
  • Google Developer Service Key (Get it in the Play Developer Console - if you are the AppOwner)
let { google } = require('googleapis');
let privatekey = require("../Google_Play_Android_Developer-***.json");

// configure a JWT auth client
let jwtClient = new google.auth.JWT(
    privatekey.client_email,
    null,
    privatekey.private_key,
    ['https://www.googleapis.com/auth/androidpublisher']
);

var androidpublisher = google.androidpublisher({ version: 'v2', auth: jwtClient });

// insert edit transaction
androidpublisher.edits.insert({ packageName: 'de.democracydeutschland.app', auth: jwtClient }, (err, editResource) => {
    const editId = editResource.data.id;
    androidpublisher.edits.testers.get({ packageName: 'de.democracydeutschland.app', track: 'alpha', editId }, (err, data) => {
      console.log(data); //data.data = {} 
      console.log(err); // = null
    });
  });

The API call returns an empty Object - the alpha Track has Testers set.

The documented API Result:

image


Providing a Method to add Testers to an alpha/beta Test via API would allow alot more automation with testing apps.

An old closed Issue describing the same Problem: #516

@google-admin If this is not the right place to report Problems/FeatureRequests for the Google API, please provide me with the right location or migrate this Issue there.

API reference & API Explorer

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
ulfgebhardtcommented, Apr 30, 2018
0reactions
ulfgebhardtcommented, Oct 14, 2019

We inserted 5k EMails manually - you know - there is nothing else to do 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

[androidpublisher] Manage Testers in PlayStore closed ...
**Providing a Method to add Testers to an alpha/beta Test via API would allow alot more automation with testing apps.** An old closed...
Read more >
Set up an open, closed, or internal test - Play Console Help
Internal testing: Create an internal testing release to quickly distribute your app to up to 100 testers for initial quality assurance checks. ·...
Read more >
Closed testing | Google Play Console
For closed tests, offer testers the ability to provide feedback by email, ... and strategies to help you publish, manage, and distribute your...
Read more >
Alpha testing in Google PlayStore
Google PlayStore provides “Closed testing” tracks where you can run alpha tests for your Android app. Each type of testing in PlayStore is...
Read more >
Android App Distribution, Chapter 4: Strategies for Release
Alpha, Beta only testers and the general public remain on version 2. ... to discover and join your testing community directly from the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found