fastlane-plugin-huawei_appgallery_connect 1.0.20 → 1.0.23

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0a4f3a4eb6499091d3b7c95a832214f04be9846b9465766aa41e4f2bc405cc86
4
- data.tar.gz: 41e306b534c09d085c62178aa7ba9198096ad8a582fa4a0d8ae0f0bef1cd3225
3
+ metadata.gz: 82c891eca588e8ed771f06b0516c930400730f3d8cb412b567643302288d94d4
4
+ data.tar.gz: be1ace56d9d317fb2fad41dd7d0ff7d8cde1927645568475d8feba326fd952fd
5
5
  SHA512:
6
- metadata.gz: e610470f62631e286658f801c9e598bd540fe3b0f4fa6168798336bf13a623931ea02b35a71221b1eb09e3de4fab0f8bc253357b62a72a450e987667c5a363a9
7
- data.tar.gz: 509a8bc237fbdfa5e099e113532c3c5151bfd20083be18e79150bb447a6c6d2c357f1e661baec97987e6efdb1e58005616b9ec3051edac2a051cc2b8d786265b
6
+ metadata.gz: a2b51a3e88428821164d4b2b121d029bf867d1088de36260a5ee3860b7e5974619c8abbd6a334354cedbb318718e701af9f33bf0bbd2c39e2addeabacbb9030e
7
+ data.tar.gz: 60d6c641ca356a4af9ad059054d7659eb75ab89bd4bb9ae8e3053199b89a74425ca816cb846cf7be5eed8bdde31d0348f14782a48b2079ac08799646d6c816ca
data/README.md CHANGED
@@ -23,15 +23,15 @@ huawei_appgallery_connect(
23
23
  client_id: "<CLIENT_ID>",
24
24
  client_secret: "<CLIENT_SECRET>",
25
25
  app_id: "<APP_ID>",
26
- apk_path: "<APK_PATH>"
26
+ apk_path: "<APK_PATH>",
27
27
 
28
28
  # Optional, Parameter beyond this are optional
29
29
 
30
30
  # If you are facing errors when submitting for review, increase the delay time before submitting the app for review using this option:
31
- delay_before_submit_for_review: 20
31
+ delay_before_submit_for_review: 20,
32
32
 
33
33
  # if you're uploading aab instead of apk, specify is_aab to true and specify path to aab file on apk_path
34
- is_aab: true
34
+ is_aab: true,
35
35
 
36
36
  submit_for_review: false,
37
37
 
@@ -165,7 +165,7 @@ module Fastlane
165
165
 
166
166
  FastlaneCore::ConfigItem.new(key: :package_ids,
167
167
  env_name: "HUAWEI_APPGALLERY_PACKAGE_IDS",
168
- description: "App Package IDs separated by commas.",
168
+ description: "App Package IDs separated by commas",
169
169
  optional: true,
170
170
  type: String)
171
171
  ]
@@ -184,8 +184,7 @@ module Fastlane
184
184
 
185
185
  def self.query_aab_compilation_status(token,params, pkgVersion)
186
186
  UI.important("Checking aab compilation status")
187
-
188
- uri = URI.parse("https://connect-api.cloud.huawei.com/api/publish/v2/aab/complile/status?appId=#{params[:app_id]}&pkgIds=#{params[:package_ids]}&pkgVersion=#{pkgVersion}")
187
+ uri = URI.parse("https://connect-api.cloud.huawei.com/api/publish/v2/aab/complile/status?appId=#{params[:app_id]}&pkgIds=#{pkgVersion}")
189
188
 
190
189
  http = Net::HTTP.new(uri.host, uri.port)
191
190
  http.use_ssl = true
@@ -203,7 +202,7 @@ module Fastlane
203
202
  result_json = JSON.parse(response.body)
204
203
 
205
204
  if result_json['ret']['code'] == 0
206
- return result_json['aabCompileStatus']
205
+ return result_json['pkgStateList'][0]['aabCompileStatus']
207
206
  else
208
207
  UI.user_error!(result_json)
209
208
  return -999
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module HuaweiAppgalleryConnect
3
- VERSION = "1.0.20"
3
+ VERSION = "1.0.23"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-huawei_appgallery_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.20
4
+ version: 1.0.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shreejan Shrestha
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-21 00:00:00.000000000 Z
11
+ date: 2022-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry