Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CoreExtension] Remove NS_SWIFT_UNAVAILABLE attribute that caused breaking change #13942

Merged
merged 9 commits into from
Oct 21, 2024

Conversation

ncooke3
Copy link
Member

@ncooke3 ncooke3 commented Oct 21, 2024

Fixing the issue causing the regression in firebase/flutterfire#13527 (comment) that was introduced in #13853

@ncooke3 ncooke3 changed the base branch from main to release-11.4 October 21, 2024 20:27
@iquirino
Copy link

Wow!! Very fast support!
It makes me sure I have chosen correctly to use Firebase.

@@ -53,7 +53,7 @@ Firebase Core includes FIRApp and FIROptions which provide central configuration
# Remember to also update version in `cmake/external/GoogleUtilities.cmake`
s.dependency 'GoogleUtilities/Environment', '~> 8.0'
s.dependency 'GoogleUtilities/Logger', '~> 8.0'
s.dependency 'FirebaseCoreInternal', '~> 11.0'
s.dependency 'FirebaseCoreInternal', '~> 11.4'
Copy link
Member Author

Choose a reason for hiding this comment

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

FirebaseCoreInternal added API in 11.4 that FirebaseCore depends on so FirebaseCore's dependency on FirebaseCoreInternal needs to be updated like this.

@@ -34,5 +34,5 @@ Pod::Spec.new do |s|
"#{s.module_name}_Privacy" => 'FirebaseCore/Extension/Resources/PrivacyInfo.xcprivacy'
}

s.dependency 'FirebaseCore', '~> 11.0'
s.dependency 'FirebaseCore', '>= 11.4.1', '< 12.0'
Copy link
Member Author

Choose a reason for hiding this comment

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

Because FirebaseCoreExtension depends on FirebaseCore yet shares the same headers in its sources, they should be versioned together whenever these headers change.

Choose a reason for hiding this comment

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

so how do i apply this now to my pod or code

Copy link
Member Author

Choose a reason for hiding this comment

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

Hi @jenkinsernest, I added a comment for you over in firebase/flutterfire#13527 (comment)

Choose a reason for hiding this comment

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

ok thanks

@@ -34,5 +34,5 @@ Pod::Spec.new do |s|
"#{s.module_name}_Privacy" => 'FirebaseCore/Extension/Resources/PrivacyInfo.xcprivacy'
}

s.dependency 'FirebaseCore', '~> 11.0'
s.dependency 'FirebaseCore', '>= 11.4.1', '< 12.0'
Copy link
Member Author

@ncooke3 ncooke3 Oct 21, 2024

Choose a reason for hiding this comment

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

@andrewheard , going to revert this because it will make 11.4.1 incompatible with Firebase Core 11.2, which then will require a Flutter update to pick up the fixed FirebaseCoreExtension.

@ncooke3 ncooke3 merged commit 4546bd2 into release-11.4 Oct 21, 2024
59 checks passed
@ncooke3 ncooke3 deleted the nc/partial-revert branch October 21, 2024 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants