duncan-c opened a new pull request #221: Fixed for Android 8.0
URL: https://github.com/apache/cordova-plugin-contacts/pull/221
 
 
   <!--
   Please make sure the checklist boxes are all checked before submitting the 
PR. The checklist is intended as a quick reference, for complete details please 
see our Contributor Guidelines:
   
   http://cordova.apache.org/contribute/contribute_guidelines.html
   
   Thanks!
   -->
   
   ### Platforms affected
   Android 8.0 and above
   
   
   ### Motivation and Context
   Android 8.0 no longer assumes related permissions - so when the app gets a 
contact 'write' permission to save the contact, it no longer automatically gets 
the 'read' permission - which was causing the app to crash when it tries to 
read the contact it just saved.
   
   
   
   ### Description
   <!-- Describe your changes in detail -->
   This modification simply ensures the app has both permissions before 
attempting to save or remove.
   
   
   ### Testing
   <!-- Please describe in detail how you tested your changes. -->
   This update has been tested on Android 8, 9 and 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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to