Firebase.h 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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(<FirebaseAppCheck/FirebaseAppCheck.h>)
  23. #import <FirebaseAppCheck/FirebaseAppCheck.h>
  24. #endif
  25. #if __has_include(<FirebaseAppDistribution/FirebaseAppDistribution.h>)
  26. #import <FirebaseAppDistribution/FirebaseAppDistribution.h>
  27. #endif
  28. #if __has_include(<FirebaseAuth/FirebaseAuth.h>)
  29. #import <FirebaseAuth/FirebaseAuth.h>
  30. #if __has_include("FirebaseAuth-umbrella.h")
  31. #if __has_include(<UIKit/UIKit.h>)
  32. #import <UIKit/UIKit.h>
  33. #endif
  34. #import <FirebaseAuthInterop/FIRAuthInterop.h>
  35. #import <FirebaseAuth/FirebaseAuth-Swift.h>
  36. #endif
  37. #endif
  38. #if __has_include(<FirebaseCrashlytics/FirebaseCrashlytics.h>)
  39. #import <FirebaseCrashlytics/FirebaseCrashlytics.h>
  40. #endif
  41. #if __has_include(<FirebaseDatabase/FirebaseDatabase.h>)
  42. #import <FirebaseDatabase/FirebaseDatabase.h>
  43. #endif
  44. #if __has_include(<FirebaseDynamicLinks/FirebaseDynamicLinks.h>)
  45. #import <FirebaseDynamicLinks/FirebaseDynamicLinks.h>
  46. #endif
  47. #if __has_include(<FirebaseFirestore/FirebaseFirestore.h>)
  48. #import <FirebaseFirestore/FirebaseFirestore.h>
  49. #endif
  50. #if __has_include("FirebaseFunctions-umbrella.h")
  51. #import <FirebaseFunctions/FirebaseFunctions-Swift.h>
  52. #endif
  53. #if __has_include(<FirebaseInAppMessaging/FirebaseInAppMessaging.h>)
  54. #import <FirebaseInAppMessaging/FirebaseInAppMessaging.h>
  55. #endif
  56. #if __has_include(<FirebaseInstallations/FirebaseInstallations.h>)
  57. #import <FirebaseInstallations/FirebaseInstallations.h>
  58. #endif
  59. #if __has_include(<FirebaseMessaging/FirebaseMessaging.h>)
  60. #import <FirebaseMessaging/FirebaseMessaging.h>
  61. #endif
  62. #if __has_include(<FirebasePerformance/FirebasePerformance.h>)
  63. #import <FirebasePerformance/FirebasePerformance.h>
  64. #endif
  65. #if __has_include(<FirebaseRemoteConfig/FirebaseRemoteConfig.h>)
  66. #import <FirebaseRemoteConfig/FirebaseRemoteConfig.h>
  67. #endif
  68. #if __has_include("FirebaseStorage-umbrella.h")
  69. #import <FirebaseStorage/FirebaseStorage-Swift.h>
  70. #endif
  71. #endif // defined(__has_include)