Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.

iOS 16.4 carrierRegionCode returns "--" #102

Open
1 task done
fabienbranchel opened this issue May 5, 2023 · 2 comments
Open
1 task done

iOS 16.4 carrierRegionCode returns "--" #102

fabienbranchel opened this issue May 5, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@fabienbranchel
Copy link

fabienbranchel commented May 5, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Package/Plugin version

1.0.0

Flutter doctor

Flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.7.12, on macOS 13.3 22E252 darwin-x64, locale fr-FR)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.78.0)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

Minimal code example

Code sample
  final _plugin = PhoneNumberUtil();
  String code = await _plugin.carrierRegionCode();

  print(code); // "--"

Current Behavior

On iOS 16.4.1 (a), carrierRegionCode returns "--". It was returning a correct value before.
I'm not sure when it's stop working. With iOS 16, it was fine, probably with iOS 16.1 too. I think issue appears around iOS 16.2 or 16.3.

It's still working on latest iOS 15 version, iOS 15.7.4, and on my Android 11, 12, 13.

Expected Behavior

Returns a correct value.

Steps To Reproduce

  1. Run minimal code example
  2. You can see the print value "--"

Aditional information

No response

@fabienbranchel fabienbranchel added the bug Something isn't working label May 5, 2023
@thuytrinh
Copy link

Perhaps this is related to marmelroy/PhoneNumberKit#626?

@deandreamatias
Copy link
Contributor

Take a look on this package. I think that would be a nice replacement

I don't know if is a profit thing still maintain this plugin. I comment here:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants