Comments (6)
for fix use older dependency, problem is not in this package:
dependency_overrides:
libphonenumber_plugin: 0.2.3
from intl_phone_number_input.
I face this issue too, happen when the input comes without country code, no issue before this.
And I have made a few assumption on the input, and found out the bug below
from flutter's getRegionInfoFromPhoneNumber(phoneNumber, isoCode)
- if i set the isoCode to "MY" => return positive result
1.1 but when I call for result.dialCode => I get "MY"
1.2 tried to insert "" as empty string for countryCode => exception
1.3 tried to insert phoneNumber without +60 (the country code) => exception
Printing the parsed phone number props property returns [+6011xxxxxxxx, MY, MY]
My guess is that the new PhoneNumberKit is validating wrong input field, and thus returning wrong
from intl_phone_number_input.
for fix use older dependency, problem is not in this package:
dependency_overrides: libphonenumber_plugin: 0.2.3
it worked well but is there another solution or this the only thing i can do ?
from intl_phone_number_input.
For fix use older version dependency
dependency_overrides: libphonenumber_plugin: 0.2.3
This does not sounds like a long-term fix since we would be stuck with the old dependency and its transitive dependencies.
Is there a better way to solve this issue or should we just wait for the next libphonenumber_plugin version?
from intl_phone_number_input.
I used the last version of intl_phone_number_input (0.7.3+1) and overrode the libphonenumber_plugin to the latest (0.3.1) and the seems to be the best fix until the PR #375 is merged and new version is released.
from intl_phone_number_input.
for fix use older dependency, problem is not in this package:
dependency_overrides: libphonenumber_plugin: 0.2.3
thanks for your help
it's work with me
from intl_phone_number_input.
Related Issues (20)
- Allow Usage of ISO Codes Instead of Country Logos in the Leading of Input Field
- Version soloving failed
- Material 3 SubTitle Style is Deprecated . can you please change as per the Material 3 and Make a Release HOT 2
- Change the type of initCountry to String
- validatorMessage doesnt appear if is different of AutovalidateMode.always or doesnt triggered onChanged
- Not compatible with xcode 15 phonenumberkit deployment target 12 HOT 8
- Add Korean Translation Support
- PROJECT STILL ACTIVE?? kindly update please
- Programmatically change selected country code, or fill fields (flag and text input) using PhoneNumber
- selector customization needed HOT 1
- I
- IOS error : Compiling for iOS 11.0, but module 'PhoneNumberKit' has a minimum deployment target of iOS 12.0:
- In IOS, white backgroud while selecting coundtry code
- search dialog need to customize the search field style
- include curaçao
- flag with initial country code width
- Bum js version HOT 1
- Support for +993 71 123456 Phone Numbers (Turkmenistan)
- validator is not triggered on _formKey.currentState!.validate()
- Migrate to `dlibphonenumber`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intl_phone_number_input.