mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-07-07 14:35:29 +01:00
Change to country codes for Payments Beta.
This commit is contained in:
+1
-1
@@ -171,7 +171,7 @@ android {
|
||||
buildConfigField "String[]", "LANGUAGES", "new String[]{\"" + autoResConfig().collect { s -> s.replace('-r', '_') }.join('", "') + '"}'
|
||||
buildConfigField "int", "CANONICAL_VERSION_CODE", "$canonicalVersionCode"
|
||||
buildConfigField "String", "DEFAULT_CURRENCIES", "\"EUR,AUD,GBP,CAD,CNY\""
|
||||
buildConfigField "int[]", "MOBILE_COIN_BLACKLIST", "new int[]{98,963,53,850,380}"
|
||||
buildConfigField "int[]", "MOBILE_COIN_BLACKLIST", "new int[]{98,963,53,850,7}"
|
||||
buildConfigField "String", "GIPHY_API_KEY", "\"3o6ZsYH6U6Eri53TXy\""
|
||||
buildConfigField "String", "RECAPTCHA_PROOF_URL", "\"https://signalcaptchas.org/challenge/generate.html\""
|
||||
|
||||
|
||||
+5
@@ -33,6 +33,11 @@ public final class GeographicalRestrictionsTest {
|
||||
assertTrue(GeographicalRestrictions.e164Allowed("+441617151234"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void crimea_not_allowed() {
|
||||
assertFalse(GeographicalRestrictions.e164Allowed("+79782222222"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void blacklist_not_allowed() {
|
||||
for (int code : BuildConfig.MOBILE_COIN_BLACKLIST) {
|
||||
|
||||
Reference in New Issue
Block a user