You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 3, 2023. It is now read-only.
Timber.d("onCreate: Asking for permission")
askForPermissions(
Permission.READ_EXTERNAL_STORAGE,
Permission.READ_CONTACTS
) {
Timber.d("onCreate: Result is $it") // THIS IS NOT GETTING TRIGGERED
}
I get the same situation in my app with following set of permissions: CALL_PHONE, GET_ACCOUNTS, READ_CALL_LOG, READ_CONTACTS, READ_PHONE_STATE. Reason is in that Android's onRequestPermissionsResult returns permissions in different order and equalsStrings fails.
Strange, but if I replace set of permissions by above one in sample project it works fine.
Library Version:
implementation 'com.afollestad.assent:core:3.0.0-RC4'
Affected Device(s):
Describe the Bug:
A clear description of what is the bug is.
To Reproduce:
askForPermissions
withREAD_EXTERNAL_STORAGE
andREAD_CONTACTS
Expected Behavior:
Actual Behavior
The text was updated successfully, but these errors were encountered: