objc-header-import-test.m 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. // Copyright 2023 Google LLC
  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. // This file imports all Firebase products that vend an umbrella header.
  15. // Products implemented in Swift are therefore omitted.
  16. // ‼️ NOTE: Changes should also be reflected in `objcxx-header-import-test.m`.
  17. #import <Firebase.h>
  18. #import <FirebaseABTesting/FirebaseABTesting.h>
  19. #import <FirebaseAnalytics/FirebaseAnalytics.h>
  20. #import <FirebaseAuth/FirebaseAuth.h>
  21. #import <FirebaseCore/FirebaseCore.h>
  22. #import "Firebase.h"
  23. #import "FirebaseABTesting/FirebaseABTesting.h"
  24. #import "FirebaseAnalytics/FirebaseAnalytics.h"
  25. #import "FirebaseAuth/FirebaseAuth.h"
  26. #import "FirebaseCore/FirebaseCore.h"
  27. #if (TARGET_OS_IOS && !TARGET_OS_MACCATALYST) || TARGET_OS_TV
  28. #import <FirebaseInAppMessaging/FirebaseInAppMessaging.h>
  29. #import "FirebaseInAppMessaging/FirebaseInAppMessaging.h"
  30. #endif
  31. #ifdef COCOAPODS
  32. #import "FirebaseStorage/FIRStorageTypedefs.h"
  33. @interface TestImports : NSObject
  34. @end
  35. @implementation TestImports
  36. - (FIRAuth *)testImports {
  37. return [FIRAuth auth];
  38. }
  39. @end
  40. #endif