xamarin.android - Permission Denied using Xamarin.Mobile to access contact list xamarin.form -
hey day using xamarin.mobile got error on permission denied added read_contacts in androidmanifest , add permission @ runtime. how solve this? method public async task<ienumerable<mobileusercontact>> getallcontacts() { if (_contacts != null) return _contacts; var contacts = new list<mobileusercontact>(); await _book.requestpermission().continuewith(t => { if (!t.result) { log.debug("perm", "permission denied!"); return; } foreach (var contact in _book.where(c => c.emails.any())) // filtering contact's has e-mail addresses { var firstordefault = contact.emails.firstordefault(); if (firstordefault != null) { contacts.add(new mobileusercontact() { contactfirstname = contact.firstname, ...