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

Add fallback for CTCarrier deprecation #49

Merged
merged 3 commits into from
May 9, 2023

Conversation

mic-ioki
Copy link
Contributor

@mic-ioki mic-ioki commented May 9, 2023

Changes

Use Locale region identifier for iOS 16.4 later and CoreTelephony for earlier.

Issues

How To Test

  • Run CountryPickerViewController.defaultCountry() on:
    • Device with iOS > 16.4, return value should be equal to device setting's region.
    • Device with iOS < 16.4, return value should be equal to device's sim country.

Copy link
Owner

@Blackjacx Blackjacx left a comment

Choose a reason for hiding this comment

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

👍🏼 Thanks for the contribution 💯

@Blackjacx Blackjacx merged commit bea81a6 into Blackjacx:develop May 9, 2023
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.

CTCarrier Deprecation
2 participants