diff options
-rw-r--r-- | Firebase/Auth/Source/FIRAuth.m | 5 | ||||
-rw-r--r-- | Firebase/Core/FIRApp.m | 9 | ||||
-rw-r--r-- | Firebase/Core/FIROptions.h | 5 |
3 files changed, 11 insertions, 8 deletions
diff --git a/Firebase/Auth/Source/FIRAuth.m b/Firebase/Auth/Source/FIRAuth.m index d1beae6..e90488b 100644 --- a/Firebase/Auth/Source/FIRAuth.m +++ b/Firebase/Auth/Source/FIRAuth.m @@ -281,8 +281,9 @@ static NSMutableDictionary *gKeychainServiceNameForAppName; [NSException raise:NSInternalInconsistencyException format:@"The default FIRApp instance must be configured before the default FIRAuth" @"instance can be initialized. One way to ensure that is to call " - @"`[FIRApp configure];` is called in " - @"`application:didFinishLaunchingWithOptions:`."]; + @"`[FIRApp configure];` (`FirebaseApp.configure()` in Swift) in the App " + @"Delegate's `application:didFinishLaunchingWithOptions:` " + @"(`application(_:didFinishLaunchingWithOptions:)` in Swift)."]; } return [self authWithApp:defaultApp]; } diff --git a/Firebase/Core/FIRApp.m b/Firebase/Core/FIRApp.m index 86784a3..8f82ebe 100644 --- a/Firebase/Core/FIRApp.m +++ b/Firebase/Core/FIRApp.m @@ -82,8 +82,9 @@ static FIRApp *sDefaultApp; kFIRAppDiagnosticsErrorKey : [FIRApp errorForMissingOptions] }]; [NSException raise:kFirebaseCoreErrorDomain - format:@"[FIRApp configure] could not find a valid GoogleService-Info.plist in " - @"your project. Please download one from %@.", + format:@"`[FIRApp configure];` (`FirebaseApp.configure()` in Swift) could not find " + @"a valid GoogleService-Info.plist in your project. Please download one " + @"from %@.", kPlistURL]; } [FIRApp configureDefaultAppWithOptions:options sendingNotifications:YES]; @@ -178,8 +179,8 @@ static FIRApp *sDefaultApp; return sDefaultApp; } FIRLogError(kFIRLoggerCore, @"I-COR000003", @"The default Firebase app has not yet been " - @"configured. Add [FIRApp configure] to your application initialization. Read more: " - @"https://goo.gl/ctyzm8."); + @"configured. Add `[FIRApp configure];` (`FirebaseApp.configure()` in Swift) to your " + @"application initialization. Read more: https://goo.gl/ctyzm8."); return nil; } diff --git a/Firebase/Core/FIROptions.h b/Firebase/Core/FIROptions.h index 9b3e5ce..7bc2406 100644 --- a/Firebase/Core/FIROptions.h +++ b/Firebase/Core/FIROptions.h @@ -105,8 +105,9 @@ FIR_SWIFT_NAME(FirebaseOptions) databaseURL:(NSString *)databaseURL storageBucket:(NSString *)storageBucket deepLinkURLScheme:(NSString *)deepLinkURLScheme - DEPRECATED_MSG_ATTRIBUTE("Use `-[[FIROptions alloc] initWithGoogleAppID:gcmSenderID:]` and " - "properties instead."); + DEPRECATED_MSG_ATTRIBUTE("Use `-[[FIROptions alloc] initWithGoogleAppID:GCMSenderID:]` " + "(`FirebaseOptions(googleAppID:gcmSenderID:)` in Swift)` and property " + "setters instead."); /** * Initializes a customized instance of FIROptions from the file at the given plist file path. |