Skip to content

Commit 5abd0c8

Browse files
authored
Update FIS IID error message (#8279)
1 parent 9ded06b commit 5abd0c8

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

FirebaseInstallations/Source/Library/FIRInstallations.m

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,12 @@ + (void)assertCompatibleIIDVersion {
256256
return;
257257
#else
258258
if (![self isIIDVersionCompatible]) {
259-
[NSException raise:kFirebaseInstallationsErrorDomain
260-
format:@"FirebaseInstallations will not work correctly with current version of "
261-
@"Firebase Instance ID. Please update your Firebase Instance ID version."];
259+
[NSException
260+
raise:kFirebaseInstallationsErrorDomain
261+
format:@"Firebase Instance ID is not compatible with Firebase 8.x+. Please remove the "
262+
@"dependency from the app. See the documentation at "
263+
@"https://firebase.google.com/docs/cloud-messaging/ios/"
264+
@"client#fetching-the-current-registration-token."];
262265
}
263266
#endif
264267
}

0 commit comments

Comments
 (0)