You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- consistently end messages with period (except in cases where a sentence ends with a colon followed by a value
- sleep before polling for upload status (because the server needs some time for asynchronous processing after upload)
- reorder/refactor some code
UI.user_error!("firebase_app_distribution: '#{value}' is not a valid value for android_artifact_type. Should be 'APK' or 'AAB'")unless['APK','AAB'].include?(value)
352
351
end),
353
-
# Generic
352
+
# General
354
353
FastlaneCore::ConfigItem.new(key: :app,
355
354
env_name: "FIREBASEAPPDISTRO_APP",
356
355
description: "Your app's Firebase App ID. You can find the App ID in the Firebase console, on the General Settings page",
@@ -361,6 +360,18 @@ def self.available_options
361
360
env_name: "FIREBASEAPPDISTRO_FIREBASE_CLI_PATH",
362
361
description: "The absolute path of the firebase cli command",
MISSING_CREDENTIALS="Missing authentication credentials. Set up Application Default Credentials, your Firebase refresh token, or sign in with the Firebase CLI, and try again."
3
-
MISSING_APP_ID="Missing app id. Please check that the app parameter is set and try again"
4
-
SERVICE_CREDENTIALS_NOT_FOUND="Service credentials file does not exist. Please check the service credentials path and try again"
5
-
PARSE_SERVICE_CREDENTIALS_ERROR="Failed to extract service account information from the service credentials file"
6
-
PARSE_FIREBASE_TOOLS_JSON_ERROR="Encountered error parsing json file. Ensure the firebase-tools.json file is formatted correctly"
7
-
UPLOAD_RELEASE_NOTES_ERROR="App Distribution halted because it had a problem uploading release notes"
8
-
UPLOAD_TESTERS_ERROR="App Distribution halted because it had a problem adding testers/groups"
9
-
GET_RELEASE_TIMEOUT="App Distribution failed to fetch release information"
3
+
MISSING_APP_ID="Missing app id. Please check that the app parameter is set and try again."
4
+
SERVICE_CREDENTIALS_NOT_FOUND="Service credentials file does not exist. Please check the service credentials path and try again."
5
+
PARSE_SERVICE_CREDENTIALS_ERROR="Failed to extract service account information from the service credentials file."
6
+
PARSE_FIREBASE_TOOLS_JSON_ERROR="Encountered error parsing json file. Ensure the firebase-tools.json file is formatted correctly."
7
+
UPLOAD_RELEASE_NOTES_ERROR="App Distribution halted because it had a problem uploading release notes."
8
+
UPLOAD_TESTERS_ERROR="App Distribution halted because it had a problem adding testers/groups."
9
+
GET_RELEASE_TIMEOUT="App Distribution failed to fetch release information."
10
10
REFRESH_TOKEN_ERROR="App Distribution could not generate credentials from the refresh token specified."
11
-
APP_NOT_ONBOARDED_ERROR="App Distribution not onboarded"
11
+
APP_NOT_ONBOARDED_ERROR="App Distribution not onboarded."
12
12
INVALID_APP_ID="App Distribution could not find your app. Make sure to onboard your app by pressing the \"Get started\" button on the App Distribution page in the Firebase console: https://console.firebase.google.com/project/_/appdistribution. App ID"
13
13
INVALID_PROJECT="App Distribution could not find your Firebase project. Make sure to onboard an app in your project by pressing the \"Get started\" button on the App Distribution page in the Firebase console: https://console.firebase.google.com/project/_/appdistribution."
14
14
INVALID_PATH="Could not read content from"
15
15
INVALID_TESTERS="Could not enable access for testers. Check that the tester emails are formatted correctly, the groups exist and you are using group aliases (not group names) for specifying groups."
16
16
INVALID_TESTER_GROUP="App Distribution could not find your tester group. Make sure that it exists before trying to add testers, and that the group alias is specified correctly."
17
17
INVALID_TESTER_GROUP_NAME="The tester group name should be 4-63 characters, and valid characters are /[a-z][0-9]-/."
18
-
INVALID_RELEASE_NOTES="Failed to set release notes"
19
-
SERVICE_CREDENTIALS_ERROR="App Distribution could not generate credentials from the service credentials file specified"
18
+
INVALID_RELEASE_NOTES="Failed to set release notes."
19
+
SERVICE_CREDENTIALS_ERROR="App Distribution could not generate credentials from the service credentials file specified."
20
20
PLAY_ACCOUNT_NOT_LINKED="This project is not linked to a Google Play account."
21
21
APP_NOT_PUBLISHED="This app is not published in the Google Play console."
22
22
NO_APP_WITH_GIVEN_BUNDLE_ID_IN_PLAY_ACCOUNT="App with matching package name does not exist in Google Play."
23
23
PLAY_IAS_TERMS_NOT_ACCEPTED="You must accept the Play Internal App Sharing (IAS) terms to upload AABs."
24
24
INVALID_EMAIL_ADDRESS="You passed an invalid email address."
25
-
TESTER_LIMIT_VIOLATION="Creating testers would exceed tester limit"
25
+
TESTER_LIMIT_VIOLATION="Creating testers would exceed tester limit."
26
26
27
27
defself.aab_upload_error(aab_state)
28
28
"Failed to process the AAB: #{aab_state}"
29
29
end
30
30
31
31
defself.binary_not_found(binary_type)
32
-
"Could not find the #{binary_type}. Make sure you set the #{binary_type} path parameter to point to your #{binary_type}"
32
+
"Could not find the #{binary_type}. Make sure you set the #{binary_type} path parameter to point to your #{binary_type}."
33
33
end
34
34
35
35
defself.parse_binary_metadata_error(binary_type)
36
-
"Failed to extract #{binary_type} metadata from the #{binary_type} path"
36
+
"Failed to extract #{binary_type} metadata from the #{binary_type} path."
37
37
end
38
38
39
39
defself.upload_binary_error(binary_type)
40
-
"App Distribution halted because it had a problem uploading the #{binary_type}"
40
+
"App Distribution halted because it had a problem uploading the #{binary_type}."
41
41
end
42
42
43
43
defself.binary_processing_error(binary_type)
44
-
"App Distribution failed to process the #{binary_type}"
44
+
"App Distribution failed to process the #{binary_type}."
0 commit comments