最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

android - How to release a Google Play app to all users after passing review using Ruby? - Stack Overflow

programmeradmin2浏览0评论

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">

发布评论

评论列表(0)

  1. 暂无评论