permissions-dispatcher / PermissionsDispatcher

A declarative API to handle Android runtime permissions.
https://github.com/permissions-dispatcher/PermissionsDispatcher
Apache License 2.0
11.22k stars 1.44k forks source link

Some Xiaomi phone is not support. #633

Closed ZYRzyr closed 5 years ago

ZYRzyr commented 5 years ago

FAQs


Overview

After check Don't ask again and deny the permission, then accept the permission by manual(in phone's settings) is invalided.

Expected

The permission should be granted.

Actual

The permission is still denied.

Environment

Reproducible steps

1.I check Don't ask again and deny the permission. 2.Go Settings and accept the permission by manual. 3.Back to app, the permission is still denied.

Maybe it's Xiaomi system bug ?

hotchemi commented 5 years ago

We've dropped Xiaomi support from 4.2.0 because we heard in latest versions MIUI started to behave same as plain Android framework itself. Can you check how it goes without the library?

https://github.com/permissions-dispatcher/PermissionsDispatcher/blob/master/CHANGELOG.md

ZYRzyr commented 5 years ago

It's phone's bug.Use ContextCompat.checkSelfPermission is still reproduce.

hotchemi commented 5 years ago

Thank you for the clarification. Crazy...