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
Copy file name to clipboardExpand all lines: firebase-appdistribution/src/main/java/com/google/firebase/appdistribution/FirebaseAppDistributionException.java
+11-17Lines changed: 11 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -58,19 +58,13 @@ public enum Status {
58
58
/**
59
59
* An update is not available for the current tester and app. Make sure that {@link
60
60
* FirebaseAppDistribution#checkForNewRelease()} returns with a non-null {@link
61
-
* AppDistributionRelease} before calling {@link FirebaseAppDistribution#updateApp()}
61
+
* AppDistributionRelease} before calling {@link FirebaseAppDistribution#updateApp()},
62
62
*/
63
63
UPDATE_NOT_AVAILABLE,
64
64
65
-
/**
66
-
* The app is running in production. The App Distribution SDK is intended for beta testing usage
67
-
* only. Do not include the App Distribution SDK in production builds.
68
-
*/
69
-
APP_RUNNING_IN_PRODUCTION,
70
-
71
65
/**
72
66
* The host activity for a confirmation dialog was destroyed or pushed to the backstack. Try
73
-
* calling {@link FirebaseAppDistribution#updateIfNewReleaseAvailable()} again
@@ -133,28 +127,28 @@ static class ErrorMessages {
133
127
publicstaticfinalStringNETWORK_ERROR =
134
128
"Failed to fetch releases due to unknown network error.";
135
129
136
-
publicstaticfinalStringJSON_PARSING_ERROR = "Error parsing service response.";
130
+
publicstaticfinalStringJSON_PARSING_ERROR = "Error parsing service response when checking for new release. This is a most likely due to a transient condition and may be corrected by retrying.";
137
131
138
-
publicstaticfinalStringAUTHENTICATION_ERROR = "Failed to authenticate the tester.";
132
+
publicstaticfinalStringAUTHENTICATION_ERROR = "Failed to authenticate the tester. The tester was either not signed in, or something went wrong. Try signing in again.";
139
133
140
-
publicstaticfinalStringAUTHORIZATION_ERROR = "Failed to authorize the tester.";
134
+
publicstaticfinalStringAUTHORIZATION_ERROR = "Failed to authorize the tester. The tester is not authorized to test this app. Verify that the tester has accepted an invitation to test this app.";
141
135
142
136
publicstaticfinalStringAUTHENTICATION_CANCELED = "Tester canceled the authentication flow.";
143
137
144
-
publicstaticfinalStringNOT_FOUND_ERROR = "Tester or release not found.";
138
+
publicstaticfinalStringNOT_FOUND_ERROR = "Release not found. An update is not available for the current tester and app. Make sure that FirebaseAppDistribution#checkForNewRelease returns with a non-null AppDistributionRelease before calling FirebaseAppDistribution#updateApp";
145
139
146
-
publicstaticfinalStringTIMEOUT_ERROR = "Failed to fetch releases due to timeout.";
140
+
publicstaticfinalStringTIMEOUT_ERROR = "Failed to fetch releases due to timeout. Check your internet connection and try again.";
publicstaticfinalStringDOWNLOAD_URL_NOT_FOUND = "Download URL not found.";
146
+
publicstaticfinalStringDOWNLOAD_URL_NOT_FOUND = "Download URL not found. This is a most likely due to a transient condition and may be corrected by retrying.";
0 commit comments