Firebase.h 4.1 KB

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