diff options
author | Ryan Wilson <ryanwils@gmail.com> | 2017-07-17 14:31:01 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-17 14:31:01 -0400 |
commit | 11d004105e9cf7506e565ae9f0998737aa60a424 (patch) | |
tree | 7cc73ec450ae2c65f1efec1e903bbb86d0709e23 /Firebase/Core/Private/FIRAppInternal.h | |
parent | 3f53f1bb2793214f5e8837de1a60ba1bde959a94 (diff) |
Add method to check if `defaultApp` is configured. (#139)
This lets other SDKs check if the default `FIRApp` is set up without
accessing it, which causes unnecessary log messages to appear.
Diffstat (limited to 'Firebase/Core/Private/FIRAppInternal.h')
-rw-r--r-- | Firebase/Core/Private/FIRAppInternal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Firebase/Core/Private/FIRAppInternal.h b/Firebase/Core/Private/FIRAppInternal.h index 11b3bf6..461dd3d 100644 --- a/Firebase/Core/Private/FIRAppInternal.h +++ b/Firebase/Core/Private/FIRAppInternal.h @@ -98,6 +98,10 @@ typedef NSString *_Nullable (^FIRAppGetUIDImplementation)(); errorCode:(FIRErrorCode)code service:(NSString *)service reason:(NSString *)reason; +/** + * Checks if the default app is configured without trying to configure it. + */ ++ (BOOL)isDefaultAppConfigured; /** * Used by each SDK to send logs about SDK configuration status to Clearcut. |