Skip to content
This repository has been archived by the owner on Apr 8, 2021. It is now read-only.

Phone number issue in XF iOS #8

Open
ghost opened this issue Sep 9, 2018 · 4 comments
Open

Phone number issue in XF iOS #8

ghost opened this issue Sep 9, 2018 · 4 comments

Comments

@ghost
Copy link

ghost commented Sep 9, 2018

This is how phone numbers appear...

<CNPhoneNumber: 0x10cef0e50: stringValue=+25471234567, initialCountryCode=(null)>

Is there something I'm missing? Is there some formatting needed to get the exact phone number?

On Android it works fine.

@mcferdev
Copy link

mcferdev commented Dec 7, 2018

Im with same problem. Did you get it? Its a bug ?

@mcferdev
Copy link

I need to send my app to the store, but this error fu**d with me... lol

@uysuy
Copy link

uysuy commented Nov 5, 2019

I solved using this peace of codes:

if (Device.RuntimePlatform == Device.iOS) { for (int i = 0; i < contact.Count; i++) { if (contact[i]?.Number == null) continue; var spl1 = contact[i].Number.Split(":"); var spl2 = spl1[2].Split(","); var spl3 = spl2[0].Split("="); contact[i].Number = spl3[1]; } }

@Brosten
Copy link

Brosten commented Jun 21, 2020

Is it possible to get a new nuget out with this fix?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants