File tree 1 file changed +6
-1
lines changed
firebase-installations/src/main/java/com/google/firebase/installations
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,11 @@ public Thread newThread(Runnable r) {
109
109
+ "with Firebase server APIs: It identifies your application with Firebase."
110
110
+ "Please refer to https://firebase.google.com/support/privacy/init-options." ;
111
111
112
+ private static final String AUTH_ERROR_MSG =
113
+ "Installation ID could not be validated with the Firebase servers (maybe it was deleted). "
114
+ + "Firebase Installations will need to create a new Installation ID and auth token. "
115
+ + "Please retry your last request." ;
116
+
112
117
/** package private constructor. */
113
118
FirebaseInstallations (
114
119
FirebaseApp firebaseApp ,
@@ -378,7 +383,7 @@ private void doNetworkCallIfNecessary(boolean forceRefresh) {
378
383
} else if (prefs .isNotGenerated ()) {
379
384
// If there is no fid it means the call failed with an auth error. Simulate an
380
385
// IOException so that the caller knows to try again.
381
- triggerOnException (prefs , new IOException ("cleared fid due to auth error" ));
386
+ triggerOnException (prefs , new IOException (AUTH_ERROR_MSG ));
382
387
} else {
383
388
triggerOnStateReached (prefs );
384
389
}
You can’t perform that action at this time.
0 commit comments