admin管理员组

文章数量:1389750

I want to release an app that has successfully passed review on the Google Play Store to users using Ruby. The documentation says that when you pull the status as 'completed', it will be marked as 'done', but once it returns from review, the status is already 'completed' and the track is 'production' still not released. How can I make it available to all users?

Example code;

require 'google/apis/androidpublisher_v3'
require 'googleauth'

scope = ''

authorizer = Google::Auth::ServiceAccountCredentials.make_creds(
    json_key_io: File.open('google.json'),
    scope: scope
)

authorizer.fetch_access_token!


android_publisher = Google::Apis::AndroidpublisherV3::AndroidPublisherService.new
android_publisher.authorization = authorizer

edit = android_publisher.insert_edit(package_name)
edit_id = edit.id

track = android_publisher.get_edit_track(package_name, edit_id, 'production')

track;

@releases=
  @name="2.48.0",
  @release_notes=
     @language="tr-TR",
     @text=
      "text">,
     @language="en-US",
     @text=
      "text ">],
  @status="completed",
  @version_codes=["250"]>],
@track="production">

本文标签: androidHow to release a Google Play app to all users after passing review using RubyStack Overflow