PhoneNumberKit
PhoneNumberKit copied to clipboard
Android Kotlin library to parse and format international phone numbers. Country code picker.
# Code Layout: ``` ``` Activity: ``` class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) val binding = ActivityMainBinding.inflate(layoutInflater) setContentView(binding.root) val kit = PhoneNumberKit.Builder(this).build() kit.attachToInput(binding.inputLayout, "us") kit.setupCountryPicker(this)...
Hello, I want to open the country picker but sadly I face this `attribute at index 5` exception : > 2022-03-15 19:09:32.599 15232-15232 E/AndroidRuntime: FATAL EXCEPTION: main > PID: 15232...
I noticed when selecting indonesian phone numbers, that the max length is too short. Since some numbers can have up to 11 digits.
When select UK country its country code is +44 but when enter a number it automatically changes into Guernsey Country The same issue occurs if the same country code on...
Hi Countries code like Anguilla is 1264 but it's 264 in lib, American Samoa is 1684 but it's 684 in lib, etc. Please Fix. Thank You
Came across an issue with mask format. When a textChangedListener is installed on a text edit it uses number example to make a mask. Problem is that number example is...
I noticed that for austrian phone numbers, the max Length is too small. Since some numbers can have up to 11 digits.
The library formats the following number `+491726123456` incorrectly: Expected: `+49 172 6123456` Actual: `+49 1726 123456` I tried to use Google's [libphonenumber](https://github.com/google/libphonenumber) library and it formats the phone number as...
Hi, I'm using one of your library the Smoothbar along with this library, but since the BuildConfig has similar package, it shows up as duplicate, 
Android resource linking failed error: resource style/ShapeAppearanceOverlay (aka my_pkj_name:style/ShapeAppearanceOverlay) not found. error: failed linking references. AGP 8.1.4 compileSdk 34 minSdk 21 targetSdk 34