Permission Denial: opening provider com.android.providers.contacts.ContactsProvider2ForLG from ProcessRecord{5446d88 22048:edu.mit.appinventor.aicompanion3/u0a274} (pid=22048, uid=10274) requires android.permission.READ_CONTACTS or android.permission.WRITE_CONTACTS Note: You will not see another error reported for 5 seconds.
What can I do, so that I dont see this error, and I get the username and avatar.
How, where do i get the permission.
OMG Taifun, Big fan of yours Sir. Greatly admire what you do. You are a hero. Thankyou for the amazing extensions and other resources.
Sir, I am able to get the email through both AM and PICK ACCOUNT extensions.
I was unsuccessful in getting the other things, name, avatar.
So I downloaded your account.aia test project and tried it in emulator. Again, I was able to retrieve only the email. The other labels remained blank.
Same thing happened when I installed it.
Its possible, that both my phones and ids have some settings that dont allow the name to be displayed, or some android update or version issue? i dont know.
BUT, I was able to see my name when I clicked on the airbnb account.
this might be dependent on the Android version you are using on your device
the recommendation is to use the Pick Google Account extension, because in does not need any permissions...