File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ NS_SWIFT_NAME(FirebaseApp)
52
52
/* *
53
53
* Configures a default Firebase app. Raises an exception if any configuration step fails. The
54
54
* default app is named "__FIRAPP_DEFAULT". This method should be called after the app is launched
55
- * and before using Firebase services. This method is thread safe.
55
+ * and before using Firebase services. This method is thread safe and contains synchronous file I/O
56
+ * (reading GoogleService-Info.plist from disk).
56
57
*/
57
58
+ (void )configure;
58
59
Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ NS_SWIFT_NAME(FirebaseOptions)
25
25
@interface FIROptions : NSObject <NSCopying>
26
26
27
27
/* *
28
- * Returns the default options.
28
+ * Returns the default options. The first time this is called it synchronously reads
29
+ * GoogleService-Info.plist from disk.
29
30
*/
30
31
+ (nullable FIROptions *)defaultOptions NS_SWIFT_NAME(defaultOptions());
31
32
@@ -109,7 +110,8 @@ NS_SWIFT_NAME(FirebaseOptions)
109
110
" setters instead." );
110
111
111
112
/* *
112
- * Initializes a customized instance of FIROptions from the file at the given plist file path.
113
+ * Initializes a customized instance of FIROptions from the file at the given plist file path. This
114
+ * will read the file synchronously from disk.
113
115
* For example,
114
116
* NSString *filePath =
115
117
* [[NSBundle mainBundle] pathForResource:@"GoogleService-Info" ofType:@"plist"];
You can’t perform that action at this time.
0 commit comments