You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(contacts): centralize e164 normalization via PhoneUtils.toE164
The inline normalizeToE164 in FullAccessContactReader and
PickerContactReader used a fragile cleanNumber pipeline that could
produce non-E.164 strings for certain country formats. Replace both
with a single PhoneUtils.toE164 that delegates to libphonenumber parse/isValidNumber/format(E164) pipeline, which is authoritative.
Copy file name to clipboardExpand all lines: apps/flipcash/shared/contacts/src/main/kotlin/com/flipcash/app/contacts/device/internal/FullAccessContactReader.kt
+1-14Lines changed: 1 addition & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -64,18 +64,5 @@ class FullAccessContactReader @Inject constructor(
Copy file name to clipboardExpand all lines: apps/flipcash/shared/contacts/src/main/kotlin/com/flipcash/app/contacts/device/internal/PickerContactReader.kt
+1-14Lines changed: 1 addition & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -51,18 +51,5 @@ class PickerContactReader @Inject constructor(
// 1. It first checks if the string consists of only 2 characters: ISO 3166-1 alpha-2 two-letter country codes (https://en.wikipedia.org/wiki/Regional_Indicator_Symbol).
0 commit comments