Open mgray88 opened 5 years ago
Describe the bug getFormattedPhoneNumber returns an invalid phone string
getFormattedPhoneNumber
To Reproduce Steps to reproduce the behavior:
set(phoneNumber:)
getFormattedPhoneNumber(format: .E164)
"+(null)(null)"
Expected behavior Expect getFormattedPhoneNumber to return null if the phone number is invalid
Smartphone (please complete the following information):
FlagPhoneNumber (please complete the following information):
Actually, set(phoneNumber:) isn't even required, getFormattedPhoneNumber returns the invalid string regardless
Describe the bug
getFormattedPhoneNumber
returns an invalid phone stringTo Reproduce Steps to reproduce the behavior:
set(phoneNumber:)
with a valid phone stringgetFormattedPhoneNumber(format: .E164)
returns"+(null)(null)"
Expected behavior Expect
getFormattedPhoneNumber
to return null if the phone number is invalidSmartphone (please complete the following information):
FlagPhoneNumber (please complete the following information):