@@ -71,9 +71,9 @@ @implementation FIRFirestore {
71
71
+ (instancetype )firestore {
72
72
FIRApp *app = [FIRApp defaultApp ];
73
73
if (!app) {
74
- FSTThrowInvalidUsage (
75
- @" FIRAppNotConfiguredException " ,
76
- @" Failed to get FIRApp instance. Please call FIRApp.configure() before using FIRFirestore " );
74
+ FSTThrowInvalidUsage (@" FIRAppNotConfiguredException " ,
75
+ @" Failed to get FirebaseApp instance. Please call FirebaseApp.configure() "
76
+ @" before using Firestore " );
77
77
}
78
78
return [self firestoreForApp: app database: kDefaultDatabaseID ];
79
79
}
@@ -102,7 +102,7 @@ + (instancetype)firestoreForApp:(FIRApp *)app database:(NSString *)database {
102
102
FIRFirestore *firestore = instances[key];
103
103
if (!firestore) {
104
104
NSString *projectID = app.options .projectID ;
105
- FSTAssert (projectID, @" FIROptions .projectID cannot be nil." );
105
+ FSTAssert (projectID, @" FirebaseOptions .projectID cannot be nil." );
106
106
107
107
FSTDispatchQueue *workerDispatchQueue = [FSTDispatchQueue
108
108
queueWith: dispatch_queue_create (" com.google.firebase.firestore" , DISPATCH_QUEUE_SERIAL)];
@@ -177,8 +177,8 @@ - (void)setSettings:(FIRFirestoreSettings *)settings {
177
177
- (instancetype )firestoreWithConfiguredClient {
178
178
if (!_client) {
179
179
// These values are validated elsewhere; this is just double-checking:
180
- FSTAssert (_settings.host , @" FIRFirestoreSettings .host cannot be nil." );
181
- FSTAssert (_settings.dispatchQueue , @" FIRFirestoreSettings .dispatchQueue cannot be nil." );
180
+ FSTAssert (_settings.host , @" FirestoreSettings .host cannot be nil." );
181
+ FSTAssert (_settings.dispatchQueue , @" FirestoreSettings .dispatchQueue cannot be nil." );
182
182
183
183
FSTDatabaseInfo *databaseInfo =
184
184
[FSTDatabaseInfo databaseInfoWithDatabaseID: _databaseID
0 commit comments