Closed nicolam1 closed 7 years ago
FYI If I do go to settings/apps/myapp/permissions and grant contact access it works fine. I guess the question is why are we not getting prompt for accessing contacts?
using the permission script as suggested on a different issue
I'm getting the following error on android:
JS: Error: Error: java.lang.SecurityException: Permission Denial: opening provider com.android.providers.contacts.ContactsProvider2 from ProcessRecord{258e81c 3198:com.ink.application/u0a90} (pid=3198, uid=10090) requires android.permission.READ_CONTACTS or android.permission.WRITE_CONTACTS
Though I've set the permission on AndroidManifest.xml as:
I'm using this within a angular app. Does it matter? The code that accesses the contact is here: