Firebase.h 2.8 KB

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