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

_contacts!.length =0 , if stored in google account #23

Closed
Hararot opened this issue Jun 22, 2021 · 4 comments
Closed

_contacts!.length =0 , if stored in google account #23

Hararot opened this issue Jun 22, 2021 · 4 comments

Comments

@Hararot
Copy link

Hararot commented Jun 22, 2021

I appreciate the good work (thanks),

Anyway I used this in my flutter app and it worked fine in the emulator.
I had a contact ListView.builder with rows and columns to make a contact list with thumbnails, but when I tried it
on a real Android 8.0 LG G5 phone the contact list did not work it was blank and no errors or crash massage
it was just empty I tried it on my S9 Android 10.0 it worked fine.

Does this repository work on below Android 10 ? or did I need to edit something somewhere and I missed it.

@Hararot
Copy link
Author

Hararot commented Jun 24, 2021

I appreciate the good work (thanks),

Anyway I used this in my flutter app and it worked fine in the emulator.
I had a contact ListView.builder with rows and columns to make a contact list with thumbnails, but when I tried it
on a real Android 8.0 LG G5 phone the contact list did not work it was blank and no errors or crash massage
it was just empty I tried it on my S9 Android 10.0 it worked fine.

Does this repository work on below Android 10 ? or did I need to edit something somewhere and I missed it.

I found out the problem, I checked that it works on Android 8.0 by using emulator.
I don't know how to explain this,
but some devices like my LG G5 by default dos not save contacts in storage on phone it stores it somewhere else that this plugin dos not see, which in my case was on my google account so when I run _contacts!.length it was 0 which explain why the contact list was empty. I did not know how to solve this programmatically :(

but when I moved contacts to be stored in my phone contact list appeared

@Hararot Hararot changed the title Problem with Android 8.0 _contacts!.length =0 , if stored in google account Jun 24, 2021
@joachim-quis
Copy link
Contributor

Hi @Hararot ! Sorry for the late reply. I'm having trouble understanding where exactly your LG G5 is storing contacts. Is it in the SIM card? If so, is it fine to close this as a duplicate of #26 ?

@joachim-quis
Copy link
Contributor

Closing, feel free to reopen if needed.

@tralph3
Copy link

tralph3 commented Oct 18, 2023

This is not a duplicate. The contacts are not stored in the SIM card, they are store in an online account, be it a Google account or, in my case, a DAVx5 account. The plugin cannot see these contancts, I don't have any stored in my phone's internal memory.

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

No branches or pull requests

3 participants