marinofaggiana 5 years ago
parent
commit
d69c09fc7a
2 changed files with 141 additions and 0 deletions
  1. 131 0
      Libraries external/Firebase/Firebase.h
  2. 10 0
      Nextcloud.xcodeproj/project.pbxproj

+ 131 - 0
Libraries external/Firebase/Firebase.h

@@ -0,0 +1,131 @@
+/*
+ * Copyright 2019 Google
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#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(<FirebaseAnalytics/FirebaseAnalytics.h>)
+#import <FirebaseAnalytics/FirebaseAnalytics.h>
+#else
+#ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
+#warning \
+    "FirebaseAnalytics.framework is not included in your target. Please add \
+`Firebase/Core` to your Podfile or add FirebaseAnalytics.framework to your project to ensure \
+Firebase services work as intended."
+#endif  // #ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
+#endif
+
+#if __has_include(<FirebaseAuth/FirebaseAuth.h>)
+#import <FirebaseAuth/FirebaseAuth.h>
+#endif
+
+#if __has_include(<FirebaseCrash/FirebaseCrash.h>)
+#import <FirebaseCrash/FirebaseCrash.h>
+#endif
+
+#if __has_include(<FirebaseDatabase/FirebaseDatabase.h>)
+#import <FirebaseDatabase/FirebaseDatabase.h>
+#endif
+
+#if __has_include(<FirebaseDynamicLinks/FirebaseDynamicLinks.h>)
+#import <FirebaseDynamicLinks/FirebaseDynamicLinks.h>
+#endif
+
+#if __has_include(<FirebaseFirestore/FirebaseFirestore.h>)
+#import <FirebaseFirestore/FirebaseFirestore.h>
+#endif
+
+#if __has_include(<FirebaseFunctions/FirebaseFunctions.h>)
+#import <FirebaseFunctions/FirebaseFunctions.h>
+#endif
+
+#if __has_include(<FirebaseInAppMessaging/FirebaseInAppMessaging.h>)
+#import <FirebaseInAppMessaging/FirebaseInAppMessaging.h>
+#endif
+
+#if __has_include(<FirebaseInstanceID/FirebaseInstanceID.h>)
+#import <FirebaseInstanceID/FirebaseInstanceID.h>
+#endif
+
+#if __has_include(<FirebaseInvites/FirebaseInvites.h>)
+#import <FirebaseInvites/FirebaseInvites.h>
+#endif
+
+#if __has_include(<FirebaseMessaging/FirebaseMessaging.h>)
+#import <FirebaseMessaging/FirebaseMessaging.h>
+#endif
+
+#if __has_include(<FirebaseMLModelInterpreter/FirebaseMLModelInterpreter.h>)
+#import <FirebaseMLModelInterpreter/FirebaseMLModelInterpreter.h>
+#endif
+
+#if __has_include(<FirebaseMLNLLanguageID/FirebaseMLNLLanguageID.h>)
+#import <FirebaseMLNLLanguageID/FirebaseMLNLLanguageID.h>
+#endif
+
+#if __has_include(<FirebaseMLNaturalLanguage/FirebaseMLNaturalLanguage.h>)
+#import <FirebaseMLNaturalLanguage/FirebaseMLNaturalLanguage.h>
+#endif
+
+#if __has_include(<FirebaseMLVision/FirebaseMLVision.h>)
+#import <FirebaseMLVision/FirebaseMLVision.h>
+#endif
+
+#if __has_include(<FirebaseMLVisionBarcodeModel/FirebaseMLVisionBarcodeModel.h>)
+#import <FirebaseMLVisionBarcodeModel/FirebaseMLVisionBarcodeModel.h>
+#endif
+
+#if __has_include(<FirebaseMLVisionFaceModel/FirebaseMLVisionFaceModel.h>)
+#import <FirebaseMLVisionFaceModel/FirebaseMLVisionFaceModel.h>
+#endif
+
+#if __has_include(<FirebaseMLVisionLabelModel/FirebaseMLVisionLabelModel.h>)
+#import <FirebaseMLVisionLabelModel/FirebaseMLVisionLabelModel.h>
+#endif
+
+#if __has_include(<FirebaseMLVisionTextModel/FirebaseMLVisionTextModel.h>)
+#import <FirebaseMLVisionTextModel/FirebaseMLVisionTextModel.h>
+#endif
+
+#if __has_include(<FirebasePerformance/FirebasePerformance.h>)
+#import <FirebasePerformance/FirebasePerformance.h>
+#endif
+
+#if __has_include(<FirebaseRemoteConfig/FirebaseRemoteConfig.h>)
+#import <FirebaseRemoteConfig/FirebaseRemoteConfig.h>
+#endif
+
+#if __has_include(<FirebaseStorage/FirebaseStorage.h>)
+#import <FirebaseStorage/FirebaseStorage.h>
+#endif
+
+#if __has_include(<GoogleMobileAds/GoogleMobileAds.h>)
+#import <GoogleMobileAds/GoogleMobileAds.h>
+#endif
+
+#if __has_include(<Fabric/Fabric.h>)
+#import <Fabric/Fabric.h>
+#endif
+
+#if __has_include(<Crashlytics/Crashlytics.h>)
+#import <Crashlytics/Crashlytics.h>
+#endif
+
+#endif  // defined(__has_include)

+ 10 - 0
Nextcloud.xcodeproj/project.pbxproj

@@ -1327,6 +1327,7 @@
 		F7D423761F0596C6009C9782 /* ThumbsViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ThumbsViewController.m; sourceTree = "<group>"; };
 		F7D423771F0596C6009C9782 /* UIXToolbarView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UIXToolbarView.h; sourceTree = "<group>"; };
 		F7D423781F0596C6009C9782 /* UIXToolbarView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UIXToolbarView.m; sourceTree = "<group>"; };
+		F7D4B67B22956610000C2C86 /* Firebase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Firebase.h; sourceTree = "<group>"; };
 		F7D532461F5D4123006568B1 /* is */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = is; path = is.lproj/Localizable.strings; sourceTree = "<group>"; };
 		F7D5324D1F5D4137006568B1 /* nl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/Localizable.strings; sourceTree = "<group>"; };
 		F7D532541F5D4155006568B1 /* sk-SK */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "sk-SK"; path = "sk-SK.lproj/Localizable.strings"; sourceTree = "<group>"; };
@@ -1609,6 +1610,7 @@
 			children = (
 				F70F02B21C889183008DAB36 /* AFViewShaker */,
 				F7A377131EB2364A002856D3 /* Fabric */,
+				F7D4B67A22956610000C2C86 /* Firebase */,
 				F7B2DEEB1F976785007CF4D2 /* NYMnemonic */,
 				F7540EE11D5B238600C3FFA8 /* openssl */,
 				F7CA1EBB20E7E3FE002CC65E /* PKDownloadButton */,
@@ -2640,6 +2642,14 @@
 			path = Sources;
 			sourceTree = "<group>";
 		};
+		F7D4B67A22956610000C2C86 /* Firebase */ = {
+			isa = PBXGroup;
+			children = (
+				F7D4B67B22956610000C2C86 /* Firebase.h */,
+			);
+			path = Firebase;
+			sourceTree = "<group>";
+		};
 		F7D7B0D52245377800E6FE36 /* Imagemeter */ = {
 			isa = PBXGroup;
 			children = (