fastlane-plugin-huawei_appgallery_connect 1.0.17 → 1.0.18
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13c12a640e892f8a26d41fe23ec060b7151d36fb56792053a0781d77bf6fb698
|
4
|
+
data.tar.gz: ec69a3d658b3d41c92376a6752ea743984251466f288d6bab34f5cdeca54d3bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcef9055f72ccaf6f08abf8fa5a1ac6a78e2101dfeb896a756bb66c28dcd847f662a0858aa397b029fd0fbae09e654444b39ce0ed3dbcc32bb5c43dc492ac5e0
|
7
|
+
data.tar.gz: 49feaeecebd261abcc0e63862a6dec3ec6662b831ea77bf582a1036faa2ab422c675ab83d5f9cc88771eec77979ca9c30464dc83449644243df461a4d310fdb6
|
data/README.md
CHANGED
@@ -26,6 +26,9 @@ huawei_appgallery_connect(
|
|
26
26
|
apk_path: "<APK_PATH>"
|
27
27
|
|
28
28
|
# Optional, Parameter beyond this are optional
|
29
|
+
|
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
|
29
32
|
|
30
33
|
# if you're uploading aab instead of apk, specify is_aab to true and specify path to aab file on apk_path
|
31
34
|
is_aab: true
|
data/lib/fastlane/plugin/huawei_appgallery_connect/actions/huawei_appgallery_connect_action.rb
CHANGED
@@ -16,8 +16,13 @@ module Fastlane
|
|
16
16
|
end
|
17
17
|
|
18
18
|
upload_app = Helper::HuaweiAppgalleryConnectHelper.upload_app(token, params[:client_id], params[:app_id], params[:apk_path], params[:is_aab])
|
19
|
-
|
20
|
-
|
19
|
+
if params[:delay_before_submit_for_review] == nil
|
20
|
+
UI.message("Waiting 10 seconds for upload to get processed...")
|
21
|
+
sleep(10)
|
22
|
+
else
|
23
|
+
UI.message("Waiting #{params[:delay_before_submit_for_review]} seconds for upload to get processed...")
|
24
|
+
sleep(params[:delay_before_submit_for_review])
|
25
|
+
end
|
21
26
|
self.submit_for_review(token, upload_app, params)
|
22
27
|
|
23
28
|
end
|
@@ -29,7 +34,7 @@ module Fastlane
|
|
29
34
|
compilationStatus = Helper::HuaweiAppgalleryConnectHelper.query_aab_compilation_status(token, params, upload_app["pkgVersion"])
|
30
35
|
if compilationStatus == 1
|
31
36
|
UI.important("aab file is currently processing, waiting for 2 minutes...")
|
32
|
-
sleep(
|
37
|
+
sleep(120)
|
33
38
|
self.submit_for_review(token, upload_app, params)
|
34
39
|
elsif compilationStatus == 2
|
35
40
|
Helper::HuaweiAppgalleryConnectHelper.submit_app_for_review(token, params)
|
@@ -150,7 +155,13 @@ module Fastlane
|
|
150
155
|
env_name: "HUAWEI_APPGALLERY_SUBMIT_FOR_REVIEW",
|
151
156
|
description: "Should submit the app for review. The default value is true. If set false will only upload the app, and you can submit for review from the console",
|
152
157
|
optional: true,
|
153
|
-
type: Boolean)
|
158
|
+
type: Boolean),
|
159
|
+
|
160
|
+
FastlaneCore::ConfigItem.new(key: :delay_before_submit_for_review,
|
161
|
+
env_name: "HUAWEI_APPGALLERY_DELAY_BEFORE_REVIEW",
|
162
|
+
description: "Delay before submitting the app for review. Default is 10 seconds. Change this to a higher value if you are having issues submitting the app for review",
|
163
|
+
optional: true,
|
164
|
+
type: Integer)
|
154
165
|
]
|
155
166
|
end
|
156
167
|
|
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.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shreejan Shrestha
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|