Skip to content

Conversation

@mahmoud-elmorabea
Copy link
Contributor

@mahmoud-elmorabea mahmoud-elmorabea commented Mar 10, 2025

The ReactNative Firebase dependency requires GoogleService-info.plist to be added to the iOS project.

RN Firebase doesn't check if the file already exists before adding it to the project. Since we cannot depend on customers having ReactNative Firebase to copy the file. Our plugin copies the file.

This PR adds a check at the path where ReactNative Firebase copies the file first before copying it.

@mahmoud-elmorabea mahmoud-elmorabea self-assigned this Mar 10, 2025
@mahmoud-elmorabea mahmoud-elmorabea marked this pull request as ready for review March 11, 2025 00:06
@mahmoud-elmorabea mahmoud-elmorabea requested a review from a team as a code owner March 11, 2025 00:06
Copy link
Contributor

@Shahroz16 Shahroz16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After a team discussion, we are going forward with this approach until we find a better one.

@mahmoud-elmorabea mahmoud-elmorabea requested review from a team and Shahroz16 March 12, 2025 14:20
Copy link
Contributor

@Shahroz16 Shahroz16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm, i have created an optional PR where i check for xcode reference as well, incase we want to add it.

@mahmoud-elmorabea mahmoud-elmorabea requested a review from a team March 12, 2025 19:06
@mahmoud-elmorabea mahmoud-elmorabea merged commit c0e51f0 into feature/fcm-support Mar 13, 2025
8 checks passed
@mahmoud-elmorabea mahmoud-elmorabea deleted the google-services-plist-file-conflict branch March 13, 2025 10:08
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.

4 participants