September 2019
Beginner
512 pages
12h 52m
English
In Android, we need to add the contact permission request in AndroidManifest file, so let's change the android/app/src/(main|debug|profile)/AndroidManifest.xml file:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.handson"> ... <uses-permission android:name="android.permission.READ_CONTACTS" /> <uses-permission android:name="android.permission.WRITE_CONTACTS" /> </manifest>
By adding READ_CONTACTS permission, we declare to the Android system that we need to access the user contacts list; WRITE_CONTACTS, as you might have deduced, declares the need to write new contacts to the system.
Read now
Unlock full access