Sin descripción

Firebase.h 6.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. // Copyright 2019 Google
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. #import <FirebaseCore/FirebaseCore.h>
  15. #if !defined(__has_include)
  16. #error "Firebase.h won't import anything if your compiler doesn't support __has_include. Please \
  17. import the headers individually."
  18. #else
  19. #if __has_include(<FirebaseAnalytics/FirebaseAnalytics.h>)
  20. #import <FirebaseAnalytics/FirebaseAnalytics.h>
  21. #endif
  22. #if __has_include(<FirebaseAuth/FirebaseAuth.h>)
  23. #import <FirebaseAuth/FirebaseAuth.h>
  24. #endif
  25. #if __has_include(<FirebaseDatabase/FirebaseDatabase.h>)
  26. #import <FirebaseDatabase/FirebaseDatabase.h>
  27. #endif
  28. #if __has_include(<FirebaseDynamicLinks/FirebaseDynamicLinks.h>)
  29. #import <FirebaseDynamicLinks/FirebaseDynamicLinks.h>
  30. #if !__has_include(<FirebaseAnalytics/FirebaseAnalytics.h>)
  31. #ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
  32. #warning "FirebaseAnalytics.framework is not included in your target. Please add \
  33. `Firebase/Analytics` to your Podfile or add FirebaseAnalytics.framework to your project to ensure \
  34. Firebase Dynamic Links works as intended."
  35. #endif // #ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
  36. #endif
  37. #endif
  38. #if __has_include(<FirebaseFirestore/FirebaseFirestore.h>)
  39. #import <FirebaseFirestore/FirebaseFirestore.h>
  40. #endif
  41. #if __has_include(<FirebaseFunctions/FirebaseFunctions.h>)
  42. #import <FirebaseFunctions/FirebaseFunctions.h>
  43. #endif
  44. #if __has_include(<FirebaseInAppMessaging/FirebaseInAppMessaging.h>)
  45. #import <FirebaseInAppMessaging/FirebaseInAppMessaging.h>
  46. #if !__has_include(<FirebaseAnalytics/FirebaseAnalytics.h>)
  47. #ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
  48. #warning "FirebaseAnalytics.framework is not included in your target. Please add \
  49. `Firebase/Analytics` to your Podfile or add FirebaseAnalytics.framework to your project to ensure \
  50. Firebase In App Messaging works as intended."
  51. #endif // #ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
  52. #endif
  53. #endif
  54. #if __has_include(<FirebaseInstanceID/FirebaseInstanceID.h>)
  55. #import <FirebaseInstanceID/FirebaseInstanceID.h>
  56. #endif
  57. #if __has_include(<FirebaseMessaging/FirebaseMessaging.h>)
  58. #import <FirebaseMessaging/FirebaseMessaging.h>
  59. #if !__has_include(<FirebaseAnalytics/FirebaseAnalytics.h>)
  60. #ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
  61. #warning "FirebaseAnalytics.framework is not included in your target. Please add \
  62. `Firebase/Analytics` to your Podfile or add FirebaseAnalytics.framework to your project to ensure \
  63. Firebase Messaging works as intended."
  64. #endif // #ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
  65. #endif
  66. #endif
  67. #if __has_include(<FirebaseMLCommon/FirebaseMLCommon.h>)
  68. #import <FirebaseMLCommon/FirebaseMLCommon.h>
  69. #endif
  70. #if __has_include(<FirebaseMLModelInterpreter/FirebaseMLModelInterpreter.h>)
  71. #import <FirebaseMLModelInterpreter/FirebaseMLModelInterpreter.h>
  72. #endif
  73. #if __has_include(<FirebaseMLNLLanguageID/FirebaseMLNLLanguageID.h>)
  74. #import <FirebaseMLNLLanguageID/FirebaseMLNLLanguageID.h>
  75. #endif
  76. #if __has_include(<FirebaseMLNLSmartReply/FirebaseMLNLSmartReply.h>)
  77. #import <FirebaseMLNLSmartReply/FirebaseMLNLSmartReply.h>
  78. #endif
  79. #if __has_include(<FirebaseMLNLTranslate/FirebaseMLNLTranslate.h>)
  80. #import <FirebaseMLNLTranslate/FirebaseMLNLTranslate.h>
  81. #endif
  82. #if __has_include(<FirebaseMLNaturalLanguage/FirebaseMLNaturalLanguage.h>)
  83. #import <FirebaseMLNaturalLanguage/FirebaseMLNaturalLanguage.h>
  84. #endif
  85. #if __has_include(<FirebaseMLVision/FirebaseMLVision.h>)
  86. #import <FirebaseMLVision/FirebaseMLVision.h>
  87. #endif
  88. #if __has_include(<FirebaseMLVisionAutoML/FirebaseMLVisionAutoML.h>)
  89. #import <FirebaseMLVisionAutoML/FirebaseMLVisionAutoML.h>
  90. #endif
  91. #if __has_include(<FirebaseMLVisionBarcodeModel/FirebaseMLVisionBarcodeModel.h>)
  92. #import <FirebaseMLVisionBarcodeModel/FirebaseMLVisionBarcodeModel.h>
  93. #endif
  94. #if __has_include(<FirebaseMLVisionFaceModel/FirebaseMLVisionFaceModel.h>)
  95. #import <FirebaseMLVisionFaceModel/FirebaseMLVisionFaceModel.h>
  96. #endif
  97. #if __has_include(<FirebaseMLVisionLabelModel/FirebaseMLVisionLabelModel.h>)
  98. #import <FirebaseMLVisionLabelModel/FirebaseMLVisionLabelModel.h>
  99. #endif
  100. #if __has_include(<FirebaseMLVisionObjectDetection/FirebaseMLVisionObjectDetection.h>)
  101. #import <FirebaseMLVisionObjectDetection/FirebaseMLVisionObjectDetection.h>
  102. #endif
  103. #if __has_include(<FirebaseMLVisionTextModel/FirebaseMLVisionTextModel.h>)
  104. #import <FirebaseMLVisionTextModel/FirebaseMLVisionTextModel.h>
  105. #endif
  106. #if __has_include(<FirebasePerformance/FirebasePerformance.h>)
  107. #import <FirebasePerformance/FirebasePerformance.h>
  108. #if !__has_include(<FirebaseAnalytics/FirebaseAnalytics.h>)
  109. #ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
  110. #warning "FirebaseAnalytics.framework is not included in your target. Please add \
  111. `Firebase/Analytics` to your Podfile or add FirebaseAnalytics.framework to your project to ensure \
  112. Firebase Performance works as intended."
  113. #endif // #ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
  114. #endif
  115. #endif
  116. #if __has_include(<FirebaseRemoteConfig/FirebaseRemoteConfig.h>)
  117. #import <FirebaseRemoteConfig/FirebaseRemoteConfig.h>
  118. #if !__has_include(<FirebaseAnalytics/FirebaseAnalytics.h>)
  119. #ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
  120. #warning "FirebaseAnalytics.framework is not included in your target. Please add \
  121. `Firebase/Analytics` to your Podfile or add FirebaseAnalytics.framework to your project to ensure \
  122. Firebase Remote Config works as intended."
  123. #endif // #ifndef FIREBASE_ANALYTICS_SUPPRESS_WARNING
  124. #endif
  125. #endif
  126. #if __has_include(<FirebaseStorage/FirebaseStorage.h>)
  127. #import <FirebaseStorage/FirebaseStorage.h>
  128. #endif
  129. #if __has_include(<GoogleMobileAds/GoogleMobileAds.h>)
  130. #import <GoogleMobileAds/GoogleMobileAds.h>
  131. #endif
  132. #if __has_include(<Fabric/Fabric.h>)
  133. #import <Fabric/Fabric.h>
  134. #endif
  135. #if __has_include(<Crashlytics/Crashlytics.h>)
  136. #import <Crashlytics/Crashlytics.h>
  137. #endif
  138. #endif // defined(__has_include)