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 +4 -4
- data/README.md +3 -3
- data/lib/fastlane/plugin/huawei_appgallery_connect/actions/huawei_appgallery_connect_action.rb +1 -1
- data/lib/fastlane/plugin/huawei_appgallery_connect/helper/huawei_appgallery_connect_helper.rb +2 -3
- data/lib/fastlane/plugin/huawei_appgallery_connect/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82c891eca588e8ed771f06b0516c930400730f3d8cb412b567643302288d94d4
|
4
|
+
data.tar.gz: be1ace56d9d317fb2fad41dd7d0ff7d8cde1927645568475d8feba326fd952fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
data/lib/fastlane/plugin/huawei_appgallery_connect/actions/huawei_appgallery_connect_action.rb
CHANGED
@@ -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
|
]
|
data/lib/fastlane/plugin/huawei_appgallery_connect/helper/huawei_appgallery_connect_helper.rb
CHANGED
@@ -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
|
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.
|
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-
|
11
|
+
date: 2022-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|