Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log name(Cached_name) Mismatch or wrong #10

Open
umaraliyar opened this issue Feb 6, 2019 · 6 comments
Open

Log name(Cached_name) Mismatch or wrong #10

umaraliyar opened this issue Feb 6, 2019 · 6 comments
Labels
bug Something isn't working

Comments

@umaraliyar
Copy link

Hi,
Thanks for the plugin & maintenance. Im using Cordova & Javascript to retrieve log information after passing request permission. I am getting wrong "name" for the right numbers from data return. Esp., number starts with 63... others are ok with proper name. As native Android suggest, should I go search in contact to get the right name? if so im not finding a document to search with this plugin. Guide me.

@Bruno361
Copy link
Member

Bruno361 commented Feb 6, 2019

Hi,
The cached_name can indeed be wrong, that's why the plugin performs a contact lookup on the phone number, which you can find in the "name" value of the logs.
If that does not suit your needs, you should indeed perform a separate contact search, which this plugin cannot provide.

@Bruno361 Bruno361 added the user question User question about how to use the code label Feb 6, 2019
@umaraliyar
Copy link
Author

Thank you for your comment. I am using name value from the log and I’m getting wrong name.

@Bruno361
Copy link
Member

Bruno361 commented Feb 6, 2019

What kind of wrong name do you get ? Another one from your contact list ?
What do the two phone numbers look like, then ? Do you think the contact lookup gets mixed up somehow ?

@umaraliyar
Copy link
Author

Yes another name from contact as mentioned when it starts from 63... I have gone through the possibilities like checking if I saved the number on both the contacts. I even deleted the contact and tried. Later it took another name say "Name A" was showing before after deleting the contact is showing "Name B". I tried with different phone numbers starts with 6... All shows the same type of issues.

@VoltX
Copy link
Member

VoltX commented Mar 25, 2019

Hi @umaraliyar, we fixed the cached number in our last 1.3.2 version.

Does it solve your problem ?

@VoltX VoltX added bug Something isn't working and removed user question User question about how to use the code labels Mar 25, 2019
@f18nfz
Copy link

f18nfz commented Apr 17, 2020

Did your problem get resolved?

I noticed that if I dial (a random unsaved) number out, it always shows a random contact name (cached_name) with it incorrectly. I keep having this issue on whichever device I test on. I'm just using the example code... Is it just me? Any ideas?

FYI: If I delete the contact that is incorrectly shown against the number I dialed, it'll just give another random contact name as the (cached_name) name against the dialed number. >_<

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants