|
|
@@ -12,45 +12,30 @@
|
|
|
// See the License for the specific language governing permissions and
|
|
|
// limitations under the License.
|
|
|
|
|
|
-// The module qualified imports are for CocoaPods and the simple file names
|
|
|
-// for Swift Package Manager.
|
|
|
+#import <FirebaseCore/FirebaseCore.h>
|
|
|
|
|
|
#if !defined(__has_include)
|
|
|
#error "Firebase.h won't import anything if your compiler doesn't support __has_include. Please \
|
|
|
import the headers individually."
|
|
|
#else
|
|
|
- #if __has_include(<FirebaseCore/FirebaseCore.h>)
|
|
|
- #import <FirebaseCore/FirebaseCore.h>
|
|
|
- #elif __has_include("FirebaseCore.h")
|
|
|
- #import "FirebaseCore.h"
|
|
|
- #endif
|
|
|
-
|
|
|
#if __has_include(<FirebaseAnalytics/FirebaseAnalytics.h>)
|
|
|
#import <FirebaseAnalytics/FirebaseAnalytics.h>
|
|
|
#endif
|
|
|
|
|
|
- #if __has_include(<FirebaseAuth/FirebaseAuth.h>)
|
|
|
- #import <FirebaseAuth/FirebaseAuth.h>
|
|
|
- #elif __has_include("FirebaseAuth.h")
|
|
|
- #import "FirebaseAuth.h"
|
|
|
- #endif
|
|
|
-
|
|
|
#if __has_include(<FirebaseAppDistribution/FirebaseAppDistribution.h>)
|
|
|
#import <FirebaseAppDistribution/FirebaseAppDistribution.h>
|
|
|
- #elif __has_include("FirebaseAppDistribution.h")
|
|
|
- #import "FirebaseAppDistribution.h"
|
|
|
+ #endif
|
|
|
+
|
|
|
+ #if __has_include(<FirebaseAuth/FirebaseAuth.h>)
|
|
|
+ #import <FirebaseAuth/FirebaseAuth.h>
|
|
|
#endif
|
|
|
|
|
|
#if __has_include(<FirebaseCrashlytics/FirebaseCrashlytics.h>)
|
|
|
#import <FirebaseCrashlytics/FirebaseCrashlytics.h>
|
|
|
- #elif __has_include("FirebaseCrashlytics.h")
|
|
|
- #import "FirebaseCrashlytics.h"
|
|
|
#endif
|
|
|
|
|
|
#if __has_include(<FirebaseDatabase/FirebaseDatabase.h>)
|
|
|
#import <FirebaseDatabase/FirebaseDatabase.h>
|
|
|
- #elif __has_include("FirebaseDatabase.h")
|
|
|
- #import "FirebaseDatabase.h"
|
|
|
#endif
|
|
|
|
|
|
#if __has_include(<FirebaseDynamicLinks/FirebaseDynamicLinks.h>)
|
|
|
@@ -62,20 +47,14 @@
|
|
|
Firebase Dynamic Links works as intended."
|
|
|
#endif // #ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
|
|
|
#endif
|
|
|
- #elif __has_include("FirebaseDynamicLinks.h")
|
|
|
- #import "FirebaseDynamicLinks.h"
|
|
|
#endif
|
|
|
|
|
|
#if __has_include(<FirebaseFirestore/FirebaseFirestore.h>)
|
|
|
#import <FirebaseFirestore/FirebaseFirestore.h>
|
|
|
- #elif __has_include("FirebaseFirestore.h")
|
|
|
- #import "FirebaseFirestore.h"
|
|
|
#endif
|
|
|
|
|
|
#if __has_include(<FirebaseFunctions/FirebaseFunctions.h>)
|
|
|
#import <FirebaseFunctions/FirebaseFunctions.h>
|
|
|
- #elif __has_include("FirebaseFunctions.h")
|
|
|
- #import "FirebaseFunctions.h"
|
|
|
#endif
|
|
|
|
|
|
#if __has_include(<FirebaseInAppMessaging/FirebaseInAppMessaging.h>)
|
|
|
@@ -87,8 +66,6 @@ Firebase Dynamic Links works as intended."
|
|
|
Firebase In App Messaging works as intended."
|
|
|
#endif // #ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
|
|
|
#endif
|
|
|
- #elif __has_include("FirebaseInAppMessaging.h")
|
|
|
- #import "FirebaseInAppMessaging.h"
|
|
|
#endif
|
|
|
|
|
|
#if __has_include(<FirebaseInstanceID/FirebaseInstanceID.h>)
|
|
|
@@ -104,8 +81,6 @@ Firebase In App Messaging works as intended."
|
|
|
Firebase Messaging works as intended."
|
|
|
#endif // #ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
|
|
|
#endif
|
|
|
- #elif __has_include("FirebaseMessaging.h")
|
|
|
- #import "FirebaseMessaging.h"
|
|
|
#endif
|
|
|
|
|
|
#if __has_include(<FirebaseMLCommon/FirebaseMLCommon.h>)
|
|
|
@@ -180,14 +155,10 @@ Firebase Performance works as intended."
|
|
|
Firebase Remote Config works as intended."
|
|
|
#endif // #ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
|
|
|
#endif
|
|
|
- #elif __has_include("FirebaseRemoteConfig.h")
|
|
|
- #import "FirebaseRemoteConfig.h"
|
|
|
#endif
|
|
|
|
|
|
#if __has_include(<FirebaseStorage/FirebaseStorage.h>)
|
|
|
#import <FirebaseStorage/FirebaseStorage.h>
|
|
|
- #elif __has_include("FirebaseStorage.h")
|
|
|
- #import "FirebaseStorage.h"
|
|
|
#endif
|
|
|
|
|
|
#if __has_include(<GoogleMobileAds/GoogleMobileAds.h>)
|