12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
14
15
- // The module qualified imports are for CocoaPods and the simple file names
16
- // for Swift Package Manager.
15
+ #import < FirebaseCore/FirebaseCore.h>
17
16
18
17
#if !defined(__has_include)
19
18
#error "Firebase.h won't import anything if your compiler doesn't support __has_include. Please \
20
19
import the headers individually."
21
20
#else
22
- #if __has_include(<FirebaseCore/FirebaseCore.h>)
23
- #import <FirebaseCore/FirebaseCore.h>
24
- #elif __has_include(" FirebaseCore.h" )
25
- #import " FirebaseCore.h"
26
- #endif
27
-
28
21
#if __has_include(<FirebaseAnalytics/FirebaseAnalytics.h>)
29
22
#import <FirebaseAnalytics/FirebaseAnalytics.h>
30
23
#endif
31
24
32
- #if __has_include(<FirebaseAuth/FirebaseAuth.h>)
33
- #import <FirebaseAuth/FirebaseAuth.h>
34
- #elif __has_include(" FirebaseAuth.h" )
35
- #import " FirebaseAuth.h"
36
- #endif
37
-
38
25
#if __has_include(<FirebaseAppDistribution/FirebaseAppDistribution.h>)
39
26
#import <FirebaseAppDistribution/FirebaseAppDistribution.h>
40
- #elif __has_include(" FirebaseAppDistribution.h" )
41
- #import " FirebaseAppDistribution.h"
27
+ #endif
28
+
29
+ #if __has_include(<FirebaseAuth/FirebaseAuth.h>)
30
+ #import <FirebaseAuth/FirebaseAuth.h>
42
31
#endif
43
32
44
33
#if __has_include(<FirebaseCrashlytics/FirebaseCrashlytics.h>)
45
34
#import <FirebaseCrashlytics/FirebaseCrashlytics.h>
46
- #elif __has_include(" FirebaseCrashlytics.h" )
47
- #import " FirebaseCrashlytics.h"
48
35
#endif
49
36
50
37
#if __has_include(<FirebaseDatabase/FirebaseDatabase.h>)
51
38
#import <FirebaseDatabase/FirebaseDatabase.h>
52
- #elif __has_include(" FirebaseDatabase.h" )
53
- #import " FirebaseDatabase.h"
54
39
#endif
55
40
56
41
#if __has_include(<FirebaseDynamicLinks/FirebaseDynamicLinks.h>)
62
47
Firebase Dynamic Links works as intended."
63
48
#endif // #ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
64
49
#endif
65
- #elif __has_include(" FirebaseDynamicLinks.h" )
66
- #import " FirebaseDynamicLinks.h"
67
50
#endif
68
51
69
52
#if __has_include(<FirebaseFirestore/FirebaseFirestore.h>)
70
53
#import <FirebaseFirestore/FirebaseFirestore.h>
71
- #elif __has_include(" FirebaseFirestore.h" )
72
- #import " FirebaseFirestore.h"
73
54
#endif
74
55
75
56
#if __has_include(<FirebaseFunctions/FirebaseFunctions.h>)
76
57
#import <FirebaseFunctions/FirebaseFunctions.h>
77
- #elif __has_include(" FirebaseFunctions.h" )
78
- #import " FirebaseFunctions.h"
79
58
#endif
80
59
81
60
#if __has_include(<FirebaseInAppMessaging/FirebaseInAppMessaging.h>)
@@ -87,8 +66,6 @@ Firebase Dynamic Links works as intended."
87
66
Firebase In App Messaging works as intended."
88
67
#endif // #ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
89
68
#endif
90
- #elif __has_include(" FirebaseInAppMessaging.h" )
91
- #import " FirebaseInAppMessaging.h"
92
69
#endif
93
70
94
71
#if __has_include(<FirebaseInstanceID/FirebaseInstanceID.h>)
@@ -104,8 +81,6 @@ Firebase In App Messaging works as intended."
104
81
Firebase Messaging works as intended."
105
82
#endif // #ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
106
83
#endif
107
- #elif __has_include(" FirebaseMessaging.h" )
108
- #import " FirebaseMessaging.h"
109
84
#endif
110
85
111
86
#if __has_include(<FirebaseMLCommon/FirebaseMLCommon.h>)
@@ -180,14 +155,10 @@ Firebase Performance works as intended."
180
155
Firebase Remote Config works as intended."
181
156
#endif // #ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
182
157
#endif
183
- #elif __has_include(" FirebaseRemoteConfig.h" )
184
- #import " FirebaseRemoteConfig.h"
185
158
#endif
186
159
187
160
#if __has_include(<FirebaseStorage/FirebaseStorage.h>)
188
161
#import <FirebaseStorage/FirebaseStorage.h>
189
- #elif __has_include(" FirebaseStorage.h" )
190
- #import " FirebaseStorage.h"
191
162
#endif
192
163
193
164
#if __has_include(<GoogleMobileAds/GoogleMobileAds.h>)
0 commit comments