-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug report] Huawei Permission #1067
Comments
Upon further investigation, I discovered that Huawei phones, including the one I have, require storage permission. Although |
What is the issue exactly? We don't know your device info yet. |
@AlexV525 All other functionalities appear to work correctly, and I haven't encountered any additional issues. The only concern is that the |
Can you provide a minimal reproducible example? Or share your usage code about what permissions you've requested using the permission_handler? |
Certainly. Here's my workaround. After implementing this, I handle permission states accordingly.
|
Did you declare the storage permission in your manifest? What Android API level is your Huawei device? Can it be reproduced on other devices that have the same API level? |
@AlexV525, |
Adding this permission resolves the permission.denied issue with Android 10 |
@jeevareddy |
Version
3.0.0-dev.5
Platforms
dart, Android
Device Model
Huawei p30
flutter info
How to reproduce?
After requesting permission with
PermissionState permisson = await PhotoManager.requestPermissionExtend();
, the permission enum always returns Permission.denied, even though I granted access.Logs
No response
Example code (optional)
No response
Contact
hh@jourries.com
The text was updated successfully, but these errors were encountered: