Hello,
I am not an ionic dev but I have worked with native and I am running into a problem on a project I have to manage. The developer is saying that on android, you can’t get the address from a phone contact in parts only as one string. Meaning, I can only fetch “123 main, city, ST, zip”, rather than say a json string that has “street”:“123main”, “City”:“city”… etc…
I have googled it and I can see plenty of examples of how to get an address but I am not finding one that shows the result I can expect.
Could someone tell me if that is true that ionic only lets me fetch an address string and not in parts? Even more amazing, maybe even tell me how the return looks or paste in an example?
For your purposes, you can / should probably remove the Promise<void> tags and return from the functions. I have them in there as they are part of a larger function that is already in a working component