You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2020/05/01 15:14:41 UTC
[GitHub] [cordova-plugin-contacts] juanludukeboss commented on issue #222: App Crash after save the new contact in Android 9
juanludukeboss commented on issue #222:
URL: https://github.com/apache/cordova-plugin-contacts/issues/222#issuecomment-622428366
@SupriyaLakamsani Since Android 8, the permission system changes to be able to work with the contacts, because if you try to save or delete a contact, you have to have read and write permissions (both), it was not only worth the write permission as before this Android version. This caused that when saving a contact, the App would crash and close automatically because it lacked read permission. The solution is to modify the file found in the contacts plugin, in the directory: "src / android / ContactManager.java"
The solution is in the commit: https://github.com/apache/cordova-plugin-contacts/pull/221/commits/d6f42ebfcb8b9db43204c5df03d8d98f385aedfe
I hope that this help you. For me is working ok in Android 10.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org