hbb20 / hbb20/CountryCodePickerProject

Can't set values and failed to stop auto detect country.

Open
#251 4 comments 0 reactions 0 assignees View on GitHub
Waiting4UserResponse
Dominant language
Java
Stars
1.5k
Forks
509
PR merge metrics
No merged PRs in 30d

Description

Using
**'com.hbb20:ccp:2.2.2**'

Tried with
**_app:ccp_defaultLanguage="ENGLISH"
app:ccp_defaultNameCode="US"
app:ccp_defaultPhoneCode="1"
app:ccp_areaCodeDetectedCountry="false"
app:ccp_autoDetectLanguage="false"
app:ccp_autoDetectCountry="false"
app:ccp_autoFormatNumber="false"
app:ccp_countryAutoDetectionPref="SIM_ONLY"_**

and

picker.detectLocaleCountry(false);
picker.detectNetworkCountry(false);
picker.detectSIMCountry(false);
picker.setAutoDetectedCountry(false);
picker.setDefaultCountryUsingPhoneCode(1);
picker.setDefaultCountryUsingNameCode("US");

But it still somehow detects and shows INDIA flag.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.