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

[cupertino_http] Request fails when combined with FirebasePerformance after in v2.0.0 or newer #1722

Closed
koji-1009 opened this issue Feb 24, 2025 · 1 comment
Assignees
Labels
package:cupertino_http Issues related to package:cupertino_http type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@koji-1009
Copy link

Adding firebase_performance to dependencies to a project using the cupertino_http package causes HTTP requests to fail, which is not a problem with the http package.

After further investigation, it was found that adding FirebasePerformance instead of firebase_performance and calling Firebase.configure() in AppDelegate.swift caused this problem. And, this problem did not occur with cupertiono_http v1.5.1, but it started to occur with v2.0.0.

Test project. Add ios/Runner/GoogleService-Info.plist to reproduce.
https://github.com/koji-1009/pefromance_urlsession_example/tree/pods_performance

related firebase/flutterfire#17095

@koji-1009 koji-1009 added package:cupertino_http Issues related to package:cupertino_http type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) labels Feb 24, 2025
@koji-1009
Copy link
Author

Oh, this issue is duplicated as #1702.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:cupertino_http Issues related to package:cupertino_http type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

2 participants