Skip to content

Conversation

ncooke3
Copy link
Member

@ncooke3 ncooke3 commented Aug 7, 2025

Description

Changed are non-public headers that import the firebase-ios-sdk's FirebaseAuth module (a Swift module). Importing Swift modules into an Objective-C header is not really supported (e.g. https://forums.swift.org/t/swift-cant-see-objc-methods-that-include-package-symbols/65732).

Related Issues

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
  • All existing and new tests are passing.
  • I updated/added relevant documentation (doc comments with ///).
  • The analyzer (melos run analyze) does not report any problems on my PR.
  • I read and followed the Flutter Style Guide.
  • I signed the CLA.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Does your PR require plugin users to manually update their apps to accommodate your change?

  • Yes, this is a breaking change.
  • No, this is not a breaking change.

@ncooke3 ncooke3 changed the title [Infra] Move FirebaseAuth imports to implementation files refactor: Move FirebaseAuth imports to implementation files Aug 7, 2025
@russellwheatley russellwheatley marked this pull request as ready for review August 8, 2025 08:57
@russellwheatley russellwheatley changed the title refactor: Move FirebaseAuth imports to implementation files fix(auth, apple): Move FirebaseAuth imports to implementation files Aug 8, 2025
@russellwheatley
Copy link
Member

@ncooke3 - excellent work, thank you for this! 👍

@Lyokone Lyokone merged commit 0c3ccd3 into main Aug 8, 2025
40 of 42 checks passed
@Lyokone Lyokone deleted the nc/remove-imports branch August 8, 2025 09:07
gspencergoog pushed a commit to gspencergoog/flutterfire that referenced this pull request Aug 14, 2025
…irebase#17607)

* [Infra] Move FirebaseAuth imports to implementation files

* Add module import
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🚀 [all] Use modular import on macOS
4 participants