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

[Firestore] SCNetworkReachability API deprecations. #12593

Open
paulb777 opened this issue Mar 19, 2024 Discussed in #12592 · 5 comments
Open

[Firestore] SCNetworkReachability API deprecations. #12593

paulb777 opened this issue Mar 19, 2024 Discussed in #12592 · 5 comments
Assignees
Milestone

Comments

@paulb777
Copy link
Member

Discussed in #12592

Originally posted by FONickReichard March 19, 2024
Today, I discovered that starting with iOS 17.4, several methods within the SCNetworkReachability API collection are being marked as deprecated.
https://developer.apple.com/documentation/systemconfiguration/scnetworkreachability-g7d

It looks like the FirebasePerformance/Sources/FPRNanoPbUtils.m currently uses SCNetworkReachabilityGetFlags, which is apart of the deprecations.

I wanted to pass along this deprecation notice, as it seems to be new, and ensure that y'all can catch it early if it's not already on the road map.

Best,

Nick

PS: Thanks for all the goods you create.

@edorphy
Copy link

edorphy commented Mar 20, 2024

At WWDC18, Apple teased the end of reachability by asking everyone to move to NWPathMonitor. Here is the video that will be helpful to identify the replacement that's been around for a while.
https://developer.apple.com/wwdc18/715?time=3459

@wu-hui wu-hui self-assigned this Mar 27, 2024
@wu-hui
Copy link
Contributor

wu-hui commented Mar 28, 2024

It looks like https://developer.apple.com/documentation/network/nwpathmonitor requires iOS12+, @paulb777 do you known when will we move to iOS12?

@paulb777
Copy link
Member Author

We plan to move to iOS 13 later this year in the next major release. I'll mark this issue for that milestone.

@paulb777 paulb777 added this to the Firebase 11 milestone Mar 28, 2024
@edorphy
Copy link

edorphy commented Mar 28, 2024

Xcode 15, which is required in April, doesn't support iOS 11.

@paulb777
Copy link
Member Author

paulb777 commented Jun 5, 2024

Split Performance into a separate issue at #13079

@paulb777 paulb777 changed the title SCNetworkReachability API deprecations. [Firestore] SCNetworkReachability API deprecations. Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants