flutter-permission-handler
flutter-permission-handler copied to clipboard
[Feature request]: iOS backgroundRefreshStatus
Is there already an issue requesting this feature?
- [X] I have searched the existing issues.
Please select affected platform(s)
- [ ] Android
- [X] iOS
- [ ] Windows
Use case
On iOS users can disable Background App Refresh permission backgroundRefreshStatus, due to which background tasks cannot run if user has disabled the permission.
Background tasks are all types of tasks like Background Fetch, BGAppRefreshTask, BGProcessingTask, if the permission is disabled Apps cannot run tasks like daily maintenance, backups, background data processing, or periodic refreshes from server etc
Background App Refresh permission:
Proposal
A new permission handler should be created to get backgroundRefreshStatus so that Apps would be able to check and prompt the user to enabled Background App Refresh in App settings
Specific requirements or considerations
No response
Additional information or context
No response
Looks like the background_refresh_status package can be used as a stopgap, but yes, would much prefer using this package exclusively.
@mvanbeusekom this ticket should be closed
Closing this issue as checking the backgroundRefreshStatus is supported since version 11.3.0 of the permission_handler plugin. Thanks @ened for the contribution.