SimpleMobileTools / Simple-Contacts

Easy and quick contact management with no ads, handles groups and favorites too.
https://www.simplemobiletools.com
GNU General Public License v3.0
804 stars 266 forks source link

Unable to access native phone contacts #623

Closed yannicka closed 2 years ago

yannicka commented 4 years ago

The application does not have access to the phone's contacts, only to the application's contacts.

This is the filter that displays only this: Screenshot_20201031-155507-2

tibbi commented 4 years ago

and have you granted the Contacts permission at launching? Do other downloaded apps show the other contacts too?

yannicka commented 4 years ago

Yes, the Contacts permission is allowed. The native applications Contacts and Simple Dialer can access to native contacts.

Nils6852 commented 3 years ago

Same issue here: Nokia 7.2, Android 10, App version F-Droid: 6.15.0 Pro, no login to Google Account I only can create invisible a contacts. The App has the right permissions. Screenshot_20210609-175944_

I import some contacts with "DW Contacts" and these are not shown in Simple Contacts. I can create contacts with the non Pro app. But it don't shows the entry too.

On my old android 8 device all works perfect. I think the problem is on Android 10 or missing Google login. I hope you can fix the bug. Edit: Image

yannicka commented 2 years ago

I still have the problem. It's even stranger because the Simple-SMS-Messenger and Simple-Dialer applications have access to native contacts.

This code returns me two sources: "EteSync", an application I use (from getDeviceContactSources), and the private contacts (from getPrivateContactSource) but not the SIM card. https://github.com/SimpleMobileTools/Simple-Contacts/blob/792584be70d3892f813bb86dfa3fa81c718d908d/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/ContactsHelper.kt#L759-L763