简体   繁体   中英

Should I have permission READ_CONTACTS if I read contact from native android app?

I want to read contact like this

Should I ask permission for this?

val intent = Intent(Intent.ACTION_PICK, ContactsContract.CommonDataKinds.Phone.CONTENT_URI)
        startActivityForResult(intent, RESULT_PICK_CONTACT)

Android platform is moving towards creating a more user-safe experience. There are new safety features coming out that gives the user an option to only enable certain features for the session that the user is during the app's usage. It makes sense to be explicit about these permissions with the end user so they feel more clear about how they will expose themselves.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM