flutter-permission-handler icon indicating copy to clipboard operation
flutter-permission-handler copied to clipboard

[Feature request]: Request permission for usage access

Open jp7eph opened this issue 1 year ago • 5 comments

Is there already an issue requesting this feature?

Please select affected platform(s)

  • [X] Android
  • [ ] iOS
  • [ ] Windows

Use case

Android Q or later requires a special permission called Usage Access to get the usage history and RX/TX bytes of other apps. Could you please add this functionality to this wonderful library?

Proposal

We need to grant permissions to each app from the Special app access screen. It's running in a private Forked repository, so it won't take much to contribute.

Screenshot_1704220415

Specific requirements or considerations

No response

Additional information or context

No response

jp7eph avatar Jan 02 '24 19:01 jp7eph

Dear @jp7eph,

We are currently working on a refactor. When this is done it would probably be possible to request this permission. I'll label this as an enhancement to keep track of the issue.

Kind regards,

TimHoogstrate avatar Jan 04 '24 10:01 TimHoogstrate

Dear @TimHoogstrate, Thank you! I'm looking forward to the big update. I'll refer back to the documentation again then.

jp7eph avatar Jan 04 '24 11:01 jp7eph

Is this feature still planned?

GomorrhaDev avatar May 25 '24 21:05 GomorrhaDev

@TimHoogstrate Did this refactor happen? I think it might be better to have an API to request new/undiscovered permissions without requiring a new release from flutter-permission-handler library itself.

nileshtrivedi avatar Aug 03 '24 04:08 nileshtrivedi

@jp7eph This issue should perhaps be titled as "Support for requesting special missions on Android"

nileshtrivedi avatar Aug 03 '24 04:08 nileshtrivedi