manasouza/ContactNumberSearch

[crash] Caused by: java.lang.SecurityException:

Closed this issue · 1 comments

Tests revealed App crashes before open

Basically this happens due to changes on permissions on API >= 23 and implies to implement programmatically "dangerous" kind permissions (which READ_CONTACTS is included with)

Solution:
https://developer.android.com/training/permissions/requesting#java

REF:
https://developer.android.com/guide/topics/permissions/overview#normal-dangerous
https://developer.android.com/distribute/best-practices/develop/target-sdk#premarshmallow