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

Instance property used to get network.carrier has been deprecated #1048

Open
gideonkylejeffrey opened this issue Nov 29, 2022 · 1 comment
Open

Comments

@gideonkylejeffrey
Copy link

In checking for my own purposes how Segment populates network.carrier, I found that the instance property used in

CTCarrier *carrier = [_telephonyNetworkInfo subscriberCellularProvider];
- that is, subscriberCellularProvider - has been deprecated.

See documentation at https://developer.apple.com/documentation/coretelephony/cttelephonynetworkinfo/1616900-subscribercellularprovider (Apple recommends using serviceSubscriberCellularProviders instead).

@ashender
Copy link

same here
Xcode organiser highlights this trace as contributing to the slow app launch as well.
please prioritise adding conditional compilation to this block to limit it only to the supporting iOS versions as rest just returns irrelevant string

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

No branches or pull requests

2 participants